< Home

mac-populate

Function

The mac-populate command populates an OAM MAC address to initiate a diagnostic test on the MAC address learning capacity.

Format

mac-populate vsi vsi-name mac mac-address [ packet-num num | flood ] *

Parameters

Parameter Description Value
vsi vsi-name Specifies the name of the VSI on which the operation is performed. The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
mac mac-address Specifies the MAC address for the diagnostic test, expressed in the format of H-H-H. The value is in H-H-H format. The values are as follows:
  • 0018-82a4-3fb1
  • 0018-82a4-3fb2
  • 0018-82a4-3fb3
  • 0018-82a4-3fb4
  • 0018-82a4-3fb5
  • 0018-82a4-3fb6
  • 0018-82a4-3fb7
  • 0018-82a4-3fb8
  • 0018-82a4-3fb9
  • 0018-82a4-3fba
packet-num num Specifies the number of packets to be sent. The value is a decimal integer that ranges from 1 to 5. The default value is 3.
flood Indicates that the OAM MAC address is flooded throughout the VSI. -

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To rectify a Layer 2 communication fault on the device, you can run the mac-populate command to populate an OAM MAC address into the device to initiate a diagnostic test.

Prerequisites

The diagnostic test on the MAC address learning capacity has been enabled using the mac-diagnose enable command.

Precautions

The mac-populate command does not support BGP AD VPLS.

Using the mac-populate command, you can populate an OAM MAC address into the device.
  • If the mac-populate command does not contain flood, an OAM MAC address is only populated into the local device.

  • If the mac-populate command contains flood, an OAM MAC is flooded throughout the VSI and then populated into the peer and local devices.

The OAM MAC address populated into the local and peer devices can control the forwarding. Under the guidance of the OAM MAC address, the peer device forwards the received packets corresponding to the OAM MAC address to the local device.

The default aging time of OAM MAC addresses is 150 seconds.

Example

# Populate an OAM MAC address into the VSI named vsi1, flood the OAM MAC address over the domain, and set the number of packets to be sent to 3.

<HUAWEI> mac-populate vsi vsi1 mac 0018-82a4-3fb1 flood packet-num 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >