173
Configuring MAC address learning
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
N/A
3.
Enable or disable MAC
address learning for the VPLS
instance.
mac-learning
{
enable
|
disable
}
Optional.
Enabled by default.
Configuring MAC address move
When MAC address move is enabled on a PE, the source MAC address of a packet incoming from a port
that is different from the port in the existing MAC entry that contains the source MAC address is added
into the MAC address table of the VPLS instance of the incoming port.
When MAC address move is disabled, the source MAC address of such a packet is not added to the
MAC address table of the VPLS instance of the incoming port if the timeout timer of that existing MAC
address entry does not expire.
You can disable MAC address move to block illegal users that use spoofed MAC addresses.
To enable MAC address move:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
N/A
3.
Enable MAC address move.
mac-move enable
Optional.
Enabled by default.
Configuring VPLS instance attributes
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VSI view.
vsi
vsi-name
N/A
3.
Specify the encapsulation
type of the VPLS instance.
encapsulation
{
bgp-vpls
|
ethernet
|
vlan
}
Optional.
vlan
by default, which
corresponds to the VSI PW
encapsulation type of tagged.
4.
Set the description of the VPLS
instance.
description
text
Optional.
No description set by default.
5.
Shut down the VPLS service of
the VPLS instance.
shutdown
Optional.
By default, the VPLS service of a
VPLS instance is enabled.