beautypg.com

Displaying and maintaining the mac address table – H3C Technologies H3C S5560 Series Switches User Manual

Page 49

background image

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 ]