Assigning mac addresses for ethernet ports, Refer to – H3C Technologies H3C S3600 Series Switches User Manual
Page 240
1-8
The destination MAC address triggered update function solves the above problem by allowing the
switch to update its MAC address entries according to destination MAC addresses in addition to source
MAC addresses. This function improves the availability of the MAC address table.
Follow these steps to enable destination MAC address triggered update:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable destination MAC
address triggered update
mac-address aging
destination-hit enable
Required
Disabled by default
Assigning MAC Addresses for Ethernet Ports
By default, no Ethernet port of an S3600 switch is configured with a MAC address. Therefore, when the
switch sends Layer 2 protocol packets, for example, BPDUs of STP, it uses the MAC address
predefined in the protocol as the source address to send the BPDUs. As switches in your network may
use the same source MAC address for Layer 2 protocol data units (PDUs), different ports on a switch
may learn the same MAC address, thus affecting the maintenance of the MAC address table.
To avoid the problem, you are allowed to assign MAC addresses to the Ethernet ports on an S3600
series switch. The idea is to assign a MAC address (called the start port MAC address) for the start
Ethernet port, that is, Ethernet 1/0/1, and each of the following ports uses the MAC address of the
preceding port plus 1 as its MAC address.
For example, if you configure 000f-e200-0001 as the start port MAC address, then port Ethernet 1/0/2
will take MAC address 000f-e200-0002, and so on.
Follow these steps to configure the start port MAC address:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the start port MAC
address
port-mac start-mac-address
Required
No start port MAC address is
configured by default.
The start port MAC address must be a valid unicast address.
With the port MAC address configuration, the switch uses the MAC address of a port as the source
MAC address when sending the following Layer 2 PDUs out of the port:
z
LACP
z
STP
z
NDP/NTDP
z
GVRP
z
DLDP
Port MAC address configuration does not affect service packet forwarding.