7
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
Argument compatibility
Value range
MSR800 No
N/A
MSR 900
No
N/A
MSR900-E No
N/A
MSR 930
No
N/A
MSR 20-1X
No
N/A
MSR 20
No
N/A
MSR 30
Supported only on an MIM-FSW module
•
MSR 30-11E and MSR 30-11F: 0 to
8191
•
Others: 0 to 4096
MSR 50
Supported only on an FIC-FSW module
0 to 4096
MSR 2600
Yes
•
MSR 2600-10: 0 to 4096
•
MSR 2600-17: 0 to 8192
MSR3600-51F
Supported only on an FIC-FSW module
0 to 8191
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 Command
compatibility
MSR800 No
MSR 900
No
MSR900-E No