Related commands
mac-address timer
display mac-address mac-learning
Use display mac-address mac-learning to display the global MAC address learning status and the
MAC learning status of the specified interface or all interfaces.
Syntax
display mac-address mac-learning [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you do
not specify an interface, the command displays the global MAC address learning status and the MAC
address learning status of all interfaces.
Examples
# Display the global MAC address learning status and the MAC learning status of all interfaces.
<Sysname> display mac-address mac-learning
Global MAC address learning status: Enabled.
Port
GE1/0/1
GE1/0/2
GE1/0/3
GE1/0/4
Table 14 Command output
Field
Global MAC address learning status
Port
Learning Status
Related commands
mac-address mac-learning enable
Learning Status
Enabled
Enabled
Enabled
Enabled
Description
Global MAC address learning status:
•
Enabled.
•
Disabled.
Interface name.
MAC address learning status of an interface:
•
Enabled.
•
Disabled.
58