The mac-populate command populates an OAM MAC address to initiate a diagnostic test on the MAC address learning capacity.
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:
|
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. | - |
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.
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.