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 { as-number:nn | ip-address:nn | export | import }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)# route-target 500:99
Specifies the route target (RT) for the VFI.
At least one import and one export route targets (or just one route target with both roles) need to be configured in each
PE in order to establish BGP autodiscovery between PEs.
If no export or import keyword is specified, it means that the RT is both import and export. A VFI can have multiple
export or import RTs. However, the same RT is not allowed in multiple VFIs in the same PE.
Step 10 route-target import { as-number:nn | ip-address:nn }
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)# route-target import 200:20
Specifies the import route target for the VFI.
Import route target is what the PE compares with the RT in the received NLRI: the RT in the received NLRI must
match the import RT to determine that the RTs belong to the same VPLS service.
Step 11 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.
Export route target is the RT that is going to be in the NLRI advertised to other PEs.
Step 12 signaling-protocol bgp
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)# signaling-protocol bgp
Enables BGP signaling, and enters the BGP signaling configuration submode where BGP signaling parameters are
configured.
This command is not provisioned to BGP until VE ID and VE ID range is configured.
Step 13 ve-id { number}
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
269
Implementing Multipoint Layer 2 Services
Configuring VPLS with BGP Autodiscovery and Signaling