Syntax
mac-address max-mac-count { count | disable-forwarding }
undo mac-address max-mac-count [ disable-forwarding ]
Default
The maximum number of MAC addresses that can be learned on a port varies with device models,
and frames received are forwarded when the upper limit is reached.
Views
Layer 2 Ethernet interface view, port group view
Default command level
2: System level
Parameters
count: Sets the maximum number of MAC addresses that can be learned on a port. When the
argument takes 0, the port is not allowed to learn MAC addresses.
The following matrix shows the count argument and hardware compatibility:
Hardware
MSR800
MSR 900
MSR900-E
MSR 930
MSR 20-1X
MSR 20
MSR 30
MSR 50
MSR 2600
MSR3600-51F
disable-forwarding: Disables the device from forwarding frames with unknown source MAC
addresses after the number of learned MAC addresses reaches the upper limit. Frames with the
source MAC addresses listed in the MAC address table are forwarded.
Usage guidelines
If the command is executed in interface view, the configuration takes effect on the interface. If the
command is executed in port group view, the configuration takes effect on all ports belonging to the
port group.
The following matrix shows the command and hardware compatibility:
Hardware
MSR800
MSR 900
MSR900-E
Argument compatibility
No
No
No
No
No
No
Supported only on an MIM-FSW module
Supported only on an FIC-FSW module
Yes
Supported only on an FIC-FSW module
Value range
N/A
N/A
N/A
N/A
N/A
N/A
•
MSR 30-11E and MSR 30-11F: 0 to
8191
•
Others: 0 to 4096
0 to 4096
•
MSR 2600-10: 0 to 4096
•
MSR 2600-17: 0 to 8192
0 to 8191
Command compatibility
No
No
No
7