
8
Hardware Command
compatibility
MSR 930
No
MSR 20-1X
No
MSR 20
No
MSR 30
Supported only on an MIM-FSW module
MSR 50
Supported only on an FIC-FSW module
MSR 2600
Yes
MSR3600-51F
Supported only on an FIC-FSW module
Examples
# Set the maximum number of MAC addresses that can be learned on port Ethernet 1/1 to 600. After
this upper limit is reached, frames received with unknown source MAC addresses on the port are not
forwarded.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mac-address max-mac-count 600
[Sysname-Ethernet1/1] mac-address max-mac-count disable-forwarding
Related commands
•
mac-address
(system view)
•
mac-address
(interface view)
•
mac-address
timer
mac-address timer
Use
mac-address timer
to configure the aging timer for dynamic MAC address entries.
Use
undo mac-address timer
to restore the default.
Syntax
mac-address timer
{
aging seconds
|
no-aging
}
undo mac-address timer aging
Default
The aging timer for dynamic MAC address entries is 300 seconds.
Views
System view
Default command level
2: System level
Parameters
aging seconds
: Sets an aging timer for dynamic MAC address entries, in the range of 10 to 4080
seconds.
no-aging
: Sets dynamic MAC address entries not to age.
Usage guidelines
Follow these guidelines to set the aging timer appropriately: