The encapsulation command configures the encapsulation type of the interface in the VSI view.
The undo encapsulation command restores the encapsulation type of the interface to the default setting.
By default, the encapsulation type is VLAN.
Parameter | Description | Value |
---|---|---|
ethernet | Indicates that the encapsulation type is Ethernet. | - |
vlan | Indicates the VLAN encapsulation format that meets the 802.1Q standard. | - |
Usage Scenario
When you configure the VPLS function, run the encapsulation command to configure the encapsulation type of the interface.
Prerequisites
The following operations must been performed before this command is used:
The pwsignal bgp command and the route-distinguisher route-distinguisher command have been executed for Kompella VPLS.
The pwsignal ldp command and the vsi-id vsi-id command have been executed for Martini VPLS.
The bgp-ad command and the vpls-id vpls-id command have been executed for BGP AD VPLS.