Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain east
Enters Layer 2 VPN VPLS bridge group bridge domain configuration mode.
Step 5 vfi { vfi-name }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# vfi vfi-east
Enters virtual forwarding instance (VFI) configuration mode.
Step 6 vpn-id vpn-id
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi)# vpn-id 100
Specifies the identifier for the VPLS service. The VPN ID has to be globally unique within a PE router. i.e., the same
VPN ID cannot exist in multiple VFIs on the same PE router. In addition, a VFI can have only one VPN ID.
The range is from 1 to 65535.
Step 7 autodiscovery bgp
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi)# autodiscovery bgp
Enters BGP autodiscovery configuration mode where all BGP autodiscovery parameters are configured.
This command is not provisioned to BGP until at least the VPN ID and the signaling protocol is configured.
Step 8 rd { as-number:nn | ip-address:nn | auto }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)# rd auto
Specifies the route distinguisher (RD) under the VFI.
The RD is used in the BGP NLRI to identify VFI. Only one RD can be configured per VFI, and except for rd auto the
same RD cannot be configured in multiple VFIs on the same PE.
When rd auto is configured, the RD value is as follows: {BGP Router ID}:{16 bits auto-generated unique index}.
Step 9 route-target export { as-number:nn | ip-address:nn }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)# route-target export 100:10
Specifies the export route target for the VFI.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
318
Implementing Multipoint Layer 2 Services
Configuring VPN ID