Configuring BGP Route Target
By default, these parameters are auto-derived from the PE's configuration:
• Route Distinguisher (RD) for global Ethernet Segment table
Default: Auto-generated RD based on loopback IP address
• EVI’s BGP Route Distinguisher (RD)
Default: Auto-generated RD based on loopback IP address
• EVI’s BGP Route Target. Default: Auto-generated RT based on EVI ID
Perform this task to overwrite the auto-generated BGP RD/RT values.
SUMMARY STEPS
1. configure
2. evpn
3. bgp
4. rd { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn }
5. exit
6. evpn
7. evi evi_id
8. bgp
9. route-target [ import | export ] { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn
}
10. rd { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn }
11. Use the commit or end command.
DETAILED STEPS
Step 1 configure
Example:
RP/0/RSP0/CPU0:router# configure
Enters the Global Configuration mode.
Step 2 evpn
Example:
RP/0/RSP0/CPU0:router(config)# evpn
Enters EVPN configuration mode.
Step 3 bgp
Example:
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
391
Implementing IEEE 802.1ah Provider Backbone Bridge
Configuring BGP Route Target