Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-m2mp)# vpn-id 100
Specifies the identifier for the VPWS service.
Step 6
l2 encapsulation vlan
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp)#l2-encapsulation vlan
Configure the L2 encapsulation for this L2VPN MP2MP Instance.
Step 7
autodiscovery bgp
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp)#autodiscovery bgp
Enters BGP autodiscovery configuration mode where all BGP autodiscovery parameters are configured.
Step 8
rd { as-number:nn | ip-address:nn | auto }
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp-ad)# rd auto
Specifies the route distinguisher (RD).
Step 9
route-target { as-number:nn | ip-address:nn | export | import }
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp-ad)# route-target 500:99
Specifies the route target (RT).
Step 10
signaling-protocol bgp
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp-ad)# signaling-protocol bgp
Enables BGP signaling, and enters the BGP signaling configuration submode where BGP signaling parameters are
configured.
Step 11
ce-id { number}
Example:
RP/0/RP0/CPU0:router(config-l2vpn-xc-mp2mp-ad-sig)# ce-id 10
Specifies the local Customer Edge Identifier.
Step 12
Use the commit or end command.
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
155
BGP-based VPWS Autodiscovery
Configuring VPWS with BGP Autodiscovery and Signaling