
Procedure
l
Run the
undo mac-address static
mac-address
interface-type interface-number
vlanif
interface-number
vsi
vsi-name
command to clear the MAC address entries of the VSI.
l
Run the
undo mac-address
{
dynamic
|
static
|
all
} command to clear the dynamic, static,
or all the MAC address entries.
l
Run the
undo mac-address
blackhole
[
vsi
vsi-name
] command to clear all the blackhole
MAC address entries.
----End
7.12.8 Checking the MAC Address Learning Capability
The diagnostic tool of the OAM MAC address learning capability include MAC Populate and
MAC Purge.
Context
VPLS data forwarding relies on MAC address learning. Therefore, data packets cannot be
correctly forwarded in the VPLS domain unless the MAC addresses of data packets can be
learned by the PE device. Diagnostic tool of the OAM MAC address learning capability can
check the MAC address learning of the VSIs on a device by adding special OAM MAC addresses
to a VPLS network.
When packets fail to be forwarded between CEs but the PW is Up, you can use the diagnostic
tool of the OAM MAC address learning capability to check whether a fault occurs in the MAC
address learning on a device.
The diagnostic tool of the OAM MAC address learning capability include:
l
MAC Populate: adds OAM MAC addresses to a VPLS network.
l
MAC Purge: removes the added OAM MAC addresses.
On the S7700, you can diagnose the MAC address learning capability in the following methods:
l
Add OAM MAC addresses to the local or peer device in the VPLS network.
After adding the OAM MAC address, you can run the
display mac-address oam
command
to check whether the local or the peer device has learned the OAM MAC addresses. In this
manner, you can diagnose the MAC address learning capability of the device.
l
Remove the OAM MAC addresses from the local or peer device in the VPLS network.
The OAM MAC addresses to be removed must be the ones that have been added.
l
Add OAM MAC addresses of the register type to the local or peer device in the VPLS
network.
After the OAM MAC addresses of the register type are added, the packets destined for the
addresses are discarded.
The diagnostic tool of the OAM MAC address learning capability can be used in the following
VPLS networks:
l
VPLS in LDP mode
l
VPLS in BGP mode
l
HVPLS in LDP mode
Do as follows on the PEs:
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
7 VPLS Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
728