Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 3 MPLS L2VPN Configuration Commands
Huawei Technologies Proprietary
3-14
3.3.5 l2vpn-family
Syntax
l2vpn-family
undo l2vpn-family
View
BGP view
Parameter
None
Description
Use the
l2vpn-family
command to create L2VPN address family view.
Use the
undo l2vpn-family
command to remove L2VPN address family view.
Example
# Create L2VPN address family view.
[Quidway] bgp 100
[Quidway-bgp] l2vpn-family
[Quidway-bgp-af-l2vpn]
3.3.6 mpls l2vpn
Syntax
mpls l2vpn
undo mpls l2vpn
View
System view
Parameter
None
Description
Use the
mpls l2vpn
command to enable L2VPN.
Use the
undo mpls l2vpn
command to disable L2VPN.
To execute the command, you need to enable MPLS first.
Related command:
mpls
,
mpls lsr-id
.