59
Related commands
mac-address mac-learning enable
display mac-address mac-move
Use display mac-address mac-move to display the MAC address move records after the
device is started.
Syntax
display mac-address mac-move [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a
member device, the command displays MAC address move records for all IRF member devices.
Usage guidelines
When a MAC address frequently moves between the specified two interfaces, Layer 2 loops might
occur in the network. To discover and locate loops, you can view the MAC address move records.
In the MAC address move records, records with the same MAC address, VLAN, source port, and
current port are considered to be one record.
An IRF member device can generate a maximum of 200 MAC address move records.
Examples
# Display the MAC address move records for a slot.
<Sysname> display mac-address mac-move slot 1
MAC address VLAN Current port Source port Last time Times
0000-0001-002c 1 GE1/0/1 GE1/0/2 2013-05-20 13:40:52 1
0000-0001-002c 1 GE1/0/2 GE1/0/1 2013-05-20 13:41:30 1
--- 2 MAC address moving records found ---
# Display the MAC address move records for all slots.
<Sysname> display mac-address mac-move
MAC address VLAN Current port Source port Last time Times
0000-0001-002c 1 GE1/0/1 GE1/0/2 2013-05-20 13:40:52 20
0000-0001-002c 1 GE1/0/2 GE1/0/1 2013-05-20 13:41:32 20
0000-0094-0001 1 GE1/0/3 GE1/0/4 2013-05-20 13:42:22 13
0000-0094-0001 1 GE1/0/4 GE1/0/3 2013-05-20 13:42:21 12
--- 4 MAC address moving records found ---
Table 15 Command output
Field Description
VLAN
VLAN to which the outgoing interface of the MAC address entry
belongs.
Current port Interface to which the MAC address was moved.