3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2479
Description Use the display mac-address mac-learning command to display MAC address
learning status of the specified or all Ethernet interfaces.
Example # Display MAC address learning status of all Ethernet interfaces.
<Sysname> display mac-address mac-learning
Mac address learning status of the switch: enable
PortName Learning Status
GigabitEthernet1/1 enable
GigabitEthernet1/2 enable
GigabitEthernet1/3 enable
GigabitEthernet1/4 enable
GigabitEthernet2/1 enable
GigabitEthernet2/2 enable
GigabitEthernet2/3 enable
GigabitEthernet2/4 enable
mac-address (Ethernet interface view)
Syntax mac-address { dynamic | static } mac-address vlan vlan-id
undo mac-address { dynamic | static } mac-address vlan vlan-id
View Ethernet interface view
Parameter dynamic: Dynamic MAC address entries. Aging time is set for these entries.
static: Static MAC address entries. Similar to blackhole MAC address entries,
these entries do not age but you can add or remove them.
mac-address: Specifies a MAC address in the format of H-H-H.
vlan vlan-id: Specifies the VLAN to which the Ethernet interface belongs. vlan-id is
the specified VLAN ID, in the range 1 to 4094.
Description Use the mac-address command to add or modify a MAC address entry on a
specified Ethernet port.
Use the
undo mac-address command to remove a MAC address entry on the
Ethernet port.
Note that:
Table 638 Description on the fields of display mac-address mac-learning
Field Description
Mac-address learning status of the switch Global MAC address learning status,
enabled or disabled.
PortName Port name
Learning Status Interface MAC address learning status,
enabled or disabled.