Configuring mac address entries, Configuration guidelines – H3C Technologies H3C S5560 Series Switches User Manual
Page 39
5
Tasks at a glance
(Optional.)
Enabling MAC address synchronization
(Optional.)
Enable MAC address move notifications
(Optional.)
Enabling ARP fast update for MAC address moves
(Optional.)
Enabling SNMP notifications for the MAC address table
Configuring MAC address entries
Configuration guidelines
•
You cannot add a dynamic MAC address entry if a learned entry already exists with a different
outgoing interface for the MAC address.
•
The manually configured static, blackhole, and multiport unicast MAC address entries cannot
survive a reboot if you do not save the configuration. The manually configured dynamic MAC
address entries are lost upon reboot whether or not you save the configuration.
A frame whose source MAC address matches different types of MAC address entries is processed
differently.
Type Description
Static MAC address entry
•
Discards the frame received on a different interface from that in the entry.
•
Forwards the frame received on the same interface with that in the entry.
Multiport unicast MAC
address entry
•
Learns the MAC address (for example, MAC A) of the frame, generates a
dynamic MAC address entry for MAC A, and forwards the frame. However,
the generated dynamic MAC address entry does not take effect. Frames
destined for MAC A are forwarded based on the multiport unicast MAC
address entry.
Dynamic MAC address
entry
•
Learns the MAC address of the frames received on a different interface from
that in the entry and overwrites the original entry.
•
Forwards the frame received on the same interface as that in the entry and
updates the aging timer for the entry.
Adding or modifying a static or dynamic MAC address entry
globally
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Add or modify a
static or dynamic
MAC address
entry.
mac-address { dynamic | static } mac-address
interface interface-type interface-number vlan
vlan-id
By default, no MAC address
entry is configured globally.
Make sure you have created
the VLAN and assigned the
interface to the VLAN.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module