The vpls bgp encapsulation command specifies the re-encapsulation mode of a VPLS packet after the local PE receives the VPLS packet whose encapsulation type is 19.
By default, the local PE re-encapsulates the received VPLS packet with the encapsulation type as 19 in VLAN mode.
Parameter | Description | Value |
---|---|---|
ethernet | Indicates that the received VPLS packet whose encapsulation type is 19 is re-encapsulated in Ethernet mode. | - |
vlan | Indicates that the received VPLS packet whose encapsulation type is 19 is re-encapsulated in VLAN mode. | - |
Usage Scenario
The vpls bgp encapsulation command is run only when a Huawei device is connected to a non-Huawei device.
As defined by the latest RFC, the encapsulation type of PW in the Kompella VPLS is 19. Huawei devices support only the Ethernet encapsulation and VLAN encapsulation. If the vpls bgp encapsulation command is used, upon receiving a VPLS packet with the encapsulation type as 19, the system re-encapsulates the VPLS packet according to the configuration so that Huawei devices can interwork with non-Huawei devices.
Precautions
Huawei devices can interwork with non-Huawei devices only when the vpls bgp encapsulation command is used together with the ignore-mtu-match command.