< Home

display mac-address oam

Function

The display mac-address oam command displays information about MAC address entries of the OAM type.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H support this command.

Format

display mac-address oam

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

VPLS data forwarding depends on MAC address learning. Data packets in a VPLS domain can be correctly forwarded only when the MAC addresses of the data packets are correctly learned by PEs.

VPLS MAC diagnostic tools can be used to check whether MAC address learning works properly on the devices in a VPLS domain. VPLS MAC diagnostic tools include MAC populate and MAC purge.
  • MAC populate is used to check whether MAC addresses can be learned by devices in a VSI by populating an OAM MAC address into the VPLS domain.

    If the devices in a specified VSI in the VPLS domain have learned the populated MAC address, running the display mac-address oam command can display detailed information about the populated OAM MAC address.

  • MAC purge is used to purge the populated OAM MAC address.

    If the learned OAM MAC address is purged on the device, running the display mac-address oam command can show that the learned OAM MAC address has been purged.

Prerequisites

  • Configuring the diagnosis of the OAM MAC address learning capacity is completed before you check detailed information about the populated OAM MAC address.
  • Purging the OAM MAC address learned by the devices on the VPLS network is completed before you check whether the OAM MAC has been purged.

Example

# Display MAC address entries of the OAM type in the MAC address table.

<HUAWEI> display mac-address oam
------------------------------------------------------------------------------------------
MAC Address     VLAN/VSI/BD             Learned-From          Type       
------------------------------------------------------------------------------------------
0000-0000-0010  -/vsi1/-                GigabitEthernet0/0/1  OAM-PU     
0000-0000-0020  -/vsi1/-                GigabitEthernet0/0/1  OAM-PO     

------------------------------------------------------------------------------------------
Total items displayed = 2   
Table 1 Description of the display mac-address oam command output

Item

Description

MAC Address

Indicates the MAC address of the OAM type.

VLAN/VSI/BD

  • VLAN: the value is always displayed as "-".
  • VSI: indicates the VSI to which the MAC addresses of the OAM type belong.
  • BD: the value is always displayed as "-".

Learned-From

Indicates an interface on which the MAC addresses of the OAM type are configured.

Type

Indicates the OAM type of the MAC address.
  • OAM-PU: indicates the OAM MAC address entry that is used to discard data frames containing a specified destination MAC address, configured by using the mac-purge command.

  • OAM-PO: indicates the OAM MAC address entry that is used to test whether the function of learning dynamic MAC addresses is normal on the device. The entry is displayed as the dynamic MAC address on the device. In addition, the entry, the same as a common dynamic MAC address, supports VPLS forwarding, configured by using the mac-populate command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >