11
Configuring MAC address move notifications and
suppression
The outgoing interface for a MAC address entry learned on interface A is changed to interface B
when the following conditions exist:
•
Interface B receives a packet with the MAC address as the source MAC address.
•
Interface B belongs to the same VLAN as interface A.
In this case, the MAC address is moved from interface A to interface B, and a MAC address move
occurs.
If a MAC address is continuously moved between the two interfaces, Layer 2 loops might occur. To
detect and locate loops, you can configure MAC address move notifications and MAC address move
suppression.
Configuring MAC address move notifications
This feature enables the device to output MAC address move logs when MAC address moves are
detected.
To display the MAC address move records after the device is started, use the
display mac-address
mac-move
command.
To configure MAC address move notifications:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MAC address
move notifications, and
optionally specify a
MAC move detection
interval.
mac-address notification mac-move
[
interval interval-value
]
By default, MAC address move
notifications are disabled.
If you do not specify a MAC
move detection interval, the
default setting of 1 minute is
used.
To enable the system to display
MAC address move logs, you
must execute the
snmp-agent
trap enable mac-address
command after executing the
mac-address notification
mac-move
command.
Configuring MAC address move suppression
When the system detects that a MAC address frequently moves to or from an interface, you can
configure MAC address move suppression on the interface to shut it down. The interface
automatically comes up after waiting for a suppression interval. Also, you can use the
shutdown
command and then the
undo shutdown
command to bring up the interface.
To configure MAC address move suppression:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
Содержание H3C S7500E-X
Страница 70: ...57 ...