Command Manual – MPLS
Quidway S8500 Series Routing Switches
Example
# Create a CE for VPNA named "beijing", with the CE ID of 1. Use the default range
(10).
[Quidway] mpls l2vpn
[Quidway] mpls l2vpn vpna encapsulation ethernet
[Quidway-mpls-l2vpn-vpna] ce beijing id 1
[Quidway-mpls-l2vpn-ce-vpna-beijing]
3.3.2 connection
Syntax
connection [ ce-offset offset ] { interface vlan-interface vlan-id }
undo connection [ ce-offset offset ] { interface vlan-interface vlan-id }
View
MPLS L2VPN CE view
Parameter
offset: Specifies the ID of the remote CE of the L2VPN connection to create a remote
CE connection.
vlan-id: ID of the VLAN whose interface is used to establish the connection.
Description
Use the connection command to create a connection for the CE.
Use the undo connection command to remove the specified CE connection.
You need to configure the route distinguisher (RD) for the MPLS L2VPN before creating
a CE connection.
Related command: mpls l2vpn encapsulation.
Example
# Create a CE connection.
[Quidway] mpls l2vpn vpna
[Quidway-l2vpn-vpna] ce ce-a id 1 range 4
[Quidway-l2vpn-vpna-ce-ce-a] connection interface vlan-interface 201
3.3.3 display bgp l2vpn
Syntax
display bgp l2vpn { all | peer | route-distinguisher ASN }
Chapter 3 MPLS L2VPN Configuration Commands
Huawei Technologies Proprietary
3-11