< Home

vpls bgp encapsulation

Function

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.

Format

vpls bgp encapsulation { ethernet | vlan }

Parameters

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. -

Views

MPLS-L2VPN view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Re-encapsulate the received VPLS packet with the encapsulation type as 19 in Ethernet mode.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 1.1.1.1
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] vpls bgp encapsulation ethernet
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >