2479

Description Use the display mac-addressmac-learningcommand 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

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.

 

 

mac-address (Ethernet interface view)

Syntax mac-address { dynamic static } mac-addressvlan vlan-id

undo mac-address { dynamic static } mac-addressvlan 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-idis the specified VLAN ID, in the range 1 to 4094.

Description Use the mac-addresscommand to add or modify a MAC address entry on a specified Ethernet port.

Use the undo mac-addresscommand to remove a MAC address entry on the

Ethernet port.

Note that:

Page 2479
Image 2479
3Com MSR 50, MSR 30 manual Mac-address Ethernet interface view, 2479