Displaying and maintaining the mac address table – H3C Technologies H3C S5560 Series Switches User Manual
Page 49
15
Step Command
Remarks
2.
Enable ARP fast
update for MAC
address moves.
mac-address mac-move fast-update
By default, ARP fast update for
MAC address moves is disabled.
Enabling SNMP notifications for the MAC address
table
After you enable SNMP notifications for the MAC address table, the device will send SNMP notifications
to the SNMP module to notify the NMS of important events. You can set the notification sending
parameters in SNMP to determine the attributes of sending notifications.
After you disable SNMP notifications for the MAC address table, the device will only send log messages
to the information center module. You can set the output rules and destinations to examine the log
messages of the MAC address table module.
For more information about SNMP notifications and information center, see Network Management and
Monitoring Configuration Guide.
To enable SNMP notifications for the MAC address table:
Step Command
Remarks
1.
Enter system view. system-view
N/A
2.
Enable SNMP
notifications for
the MAC address
table.
snmp-agent trap enable mac-address
[ mac-move ]
By default, SNMP notifications are
disabled for the MAC address
table.
Displaying and maintaining the MAC address table
Execute display commands in any view.
Task Command
Display MAC address table
information.
display mac-address [ mac-address [ vlan vlan-id ] | [ [ dynamic |
static ] [ interface interface-type interface-number ] | blackhole |
multiport ] [ vlan vlan-id ] [ count ] ]
Display the aging timer for dynamic
MAC address entries.
display mac-address aging-time
Display the system or interface MAC
address learning state.
display mac-address mac-learning [ interface interface-type
interface-number ]
Display MAC address statistics.
display mac-address statistics
Display the MAC address move
records.
display mac-address mac-move [ slot slot-number ]
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module