Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 3 MPLS L2VPN Configuration Commands
3Com Corporation
3-12
None
Description
Use the l2vpn-family command to create or enter an L2VPN address family view.
Use the undo l2vpn-family command to delete an L2VPN address family view.
By default, it is BGP unicast view.
Execute the undo l2vpn-family command to exit multicast extended address family
view. Delete the entire configuration in this address family and return to BGP unicast
view.
Example
# Create an L2VPN address family view.
[3Com ] bgp 100
[3Com -bgp] l2vpn-family
[3Com -bgp-af-l2vpn]
3.4.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.
Enable MPLS before using this command.
Related command: mpls and mpls lsr-id.
Example
# Enter MPLS view, configure LSR ID, and enable MPLS.
[3Com ] undo mpls
[3Com -mpls] mpls lsr-id 10.0.0.1
[3Com ] mpls
# Enable L2VPN.