
30
•
The MAC address must be no lower than the base MAC address plus 90 (decimal).
To configure the base MAC address:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the base MAC
address.
routing-interface base-mac
mac-address
By default, no base MAC address
exists.
Enabling SNMP notifications for the MAC address
table
To report critical MAC address move events to an NMS, enable SNMP notifications for the MAC
address table. For MAC address move event notifications to be sent correctly, you must also
configure SNMP on the device.
When SNMP notifications are disabled for the MAC address table, the device sends the generated
logs to the information center. To display the logs, configure the log destination and output rule
configuration in the information center.
For more information about SNMP and information center configuration, see the network
management and monitoring configuration guide for the device.
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 enabled
for the MAC address table.
When SNMP notifications are disabled for the
MAC address table, syslog messages are
sent to notify important events on the MAC
address table module.
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
(In standalone mode.) Display the
display mac-address mac-move
[
slot
slot-number
]