HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
3
display mac-address mac-learning
Use display mac-address mac-learning to verify whether MAC address learning has been enabled
globally or on an interface.
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 execute
this command without specifying an interface, this command displays the global MAC address learning
status and the MAC address learning status of each interface.
Examples
# Display the global MAC address learning status and the MAC learning status of each interface.
<Sysname> display mac-address mac-learning
Global MAC address learning status: Enabled.
Port Learning Status
Eth2/0 Enabled
Eth2/1 Enabled
Eth2/2 Enabled
Eth2/3 Enabled
Eth2/4 Enabled
Eth2/5 Enabled
Eth2/6 Enabled
Eth2/7 Enabled
Eth2/8 Enabled
Table 2 Command output
Field Description
Global MAC address learning status
Global MAC address learning status:
Enabled.
Disabled.
Learning Status
MAC address learning status of an interface:
Enabled.
Disabled.
Related commands
mac-address mac-learning enable