SUMMARY STEPS
1.
configure
2.
l2vpn
3.
xconnect group group name
4.
mp2mp vpws-domain name
5.
vpn-id vpn-id
6.
l2 encapsulation vlan
7.
autodiscovery bgp
8.
rd { as-number:nn | ip-address:nn | auto }
9.
route-target { as-number:nn | ip-address:nn | export | import }
10.
signaling-protocol bgp
11.
ce-id { number}
12.
Use the commit or end command.
DETAILED STEPS
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters the global configuration mode.
Step 2
l2vpn
Example:
RP/0/RP0/CPU0:router(config)# l2vpn
Enters L2VPN configuration mode.
Step 3
xconnect group group name
Example:
RP/0/RP0/CPU0:router(config-l2vpn)# xconnect group gr1
Enters configuration mode for the named xconnect group.
Step 4
mp2mp vpws-domain name
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc)# mp2mp mp1
Enters configuration mode for the named vpws domain.
Step 5
vpn-id vpn-id
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
154
BGP-based VPWS Autodiscovery
Configuring VPWS with BGP Autodiscovery and Signaling