
219
View
VSI view
Default level
2: System level
Parameters
bgp-vpls
: Specifies the encapsulation type for a BGP VPLS instance as the standard encapsulation type
defined in RFC 4761. This type corresponds to the VPLS instance PW encapsulation type of Ethernet.
ethernet
: Uses the encapsulation type of Ethernet. This type corresponds to the VPLS instance PW
encapsulation type of Ethernet.
vlan
: Uses the encapsulation type of VLAN. This type corresponds to the VPLS instance PW encapsulation
type of VLAN.
Examples
# Set the VPLS instance encapsulation type to Ethernet.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] encapsulation ethernet
mac-learning
Description
Use the
mac-learning
command to enable or disable MAC address learning for a VPLS instance.
With MAC address learning disabled for a VPLS instance, the system does not learn source MAC
addresses from the packets received from the VPLS instance.
By default, MAC address learning is enabled.
Syntax
mac-learning
{
enable
|
disable
}
View
VSI view
Default level
2: System level
Parameters
enable
: Enables MAC address learning for the VPLS instance.
disable
: Disables MAC address learning for the VPLS instance.
Examples
# Enables MAC address learning for VPLS instance aaa.
<Sysname> system-view
[Sysname] vsi aaa
[Sysname-vsi-aaa] mac-learning enable