Mac-Address Timer - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Use the undo mac-address max-mac-count command to restore the default maximum number of MAC
addresses that can be learned on an Ethernet port.
By default, no MAC learning limit is configured.
If the command is executed in interface view, the configuration takes effect on the interface only. If the
command is executed in port group view, the configuration takes effect on all ports in the port group.
Related commands: mac-address and mac-address timer.
Syntax
mac-address max-mac-count count
undo mac-address max-mac-count
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameter
count: Specifies the maximum number of MAC addresses that can be learned on a port. The value is in
the range of 0 to 4096. When the parameter takes 0, the VLAN is not allowed to learn MAC addresses.
Example
# Set the maximum number of MAC addresses that can be learned on port GigabitEthernet 1/0/1 to
600.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mac-address max-mac-count 600

mac-address timer

Description
Use the mac-address timer command to configure the aging timer for dynamic MAC address entries.
Use the undo mac-address timer command to restore the default.
By default, the aging timer is 300 seconds.
Follow these guidelines to set the aging timer appropriately:
A long aging interval may cause the MAC address table to retain outdated entries and fail to
accommodate the latest network changes.
A short aging interval may result in removal of valid entries and unnecessary broadcasts that may
affect the performance of the switch.
Syntax
mac-address timer { aging seconds | no-aging }
undo mac-address timer aging
View
System view
56

Advertisement

Table of Contents
loading

Table of Contents