72
Views
System view
Predefined user roles
network-admin
Parameters
aging seconds: Sets an aging timer (in seconds) for dynamic MAC address entries, in the range of
10 to 1000000 seconds.
no-aging: Configures dynamic MAC address entries not to age.
Usage guidelines
To set the aging timer appropriately, follow these guidelines:
• A long aging interval causes the MAC address table to retain outdated entries and fail to
accommodate the most recent network changes.
• A short aging interval results in removal of valid entries. Then, unnecessary broadcasts packets
appear and affect device performance.
Examples
# Set the aging time to 500 seconds for dynamic MAC address entries.
<Sysname> system-view
[Sysname] mac-address timer aging 500
Related commands
display mac-address aging-time
snmp-agent trap enable mac-address
Use snmp-agent trap enable mac-address to enable SNMP notifications for the MAC address
table.
Use undo snmp-agent trap enable mac-address to disable SNMP notifications for the MAC
address table.
Syntax
snmp-agent trap enable mac-address [ mac-move ]
undo snmp-agent trap enable mac-address [ mac-move ]
Default
SNMP notifications for the MAC address table are enabled.
Views
System view
Predefined user roles
network-admin
Parameters
mac-move: Enables SNMP notifications about the MAC address moves for the MAC address table.
If you do not specify this keyword, the command enables all types of SNMP notifications for the MAC
address table.
Usage guidelines
When SNMP notifications are disabled for the MAC address table, MAC address moves are reported
only in syslog messages.