Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Examples
# Display the aging timer for dynamic MAC address entries.
<Sysname> display mac-address aging-time
MAC address aging time: 300s.
Related commands
mac-address timer
display mac-address mac-learning
Use display mac-address mac-learning to verify whether MAC address learning has been enabled
on interfaces.
Syntax
display mac-address mac-learning [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. If you
execute this command without specifying an interface, this command displays the MAC address
learning status of each interface.
Examples
# Display the MAC learning status of each interface.
<Sysname> display mac-address mac-learning
Global MAC address learning status: Enabled.
Port
GE3/0/1
GE3/0/2
GE3/0/3
GE3/0/4
Learning Status
Enabled
Enabled
Enabled
Enabled
3