Verifying That MAC Move Limiting Is Working Correctly
Purpose
Verify that MAC move limiting is working on the switch.
Action
Display the MAC addresses in the Ethernet switching table when MAC move limiting has been configured for a VLAN. The following sample shows the results after two of the hosts on ge-0/0/2 sent packets after the MAC addresses for those hosts had moved to other interfaces more than five times in 1 second. The VLAN, employee-vlan, was set to a MAC move limit of 5 with the action drop:
user@switch> show ethernet-switching table
Ethernet-switching table: 7 entries, 4 learned VLAN MAC address Type Age Interfaces employee-vlan 00:05:85:3A:82:77 Learn 0 ge-0/0/1.0 employee-vlan 00:05:85:3A:82:79 Learn 0 ge-0/0/1.0 employee-vlan 00:05:85:3A:82:80 Learn 0 ge-0/0/2.0 employee-vlan 00:05:85:3A:82:81 Learn 0 ge-0/0/2.0 employee-vlan * Flood - ge-0/0/2.0 employee-vlan * Flood - ge-0/0/2.0
Meaning
The last two lines of the sample output show that MAC addresses for two hosts on ge-0/0/2 were not learned, because the hosts had been moved back and forth from the original interfaces more than five times in 1 second.