Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-98
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Configuring the Route Distinguisher
The route distinguisher (RD) makes prefixes unique across multiple VPN routing and forwarding (VRF)
instances.
Perform this task to configure the RD.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. bgp router-id ip-address
4. vrf vrf-name
5. rd {as-number:nn | ip-address:nn | auto}
6. end
or
commit
Step 8
export route-target [as-number:nn |
ip-address:nn]
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# export
route-target 123;234
Specifies a list of route target extended communities.
Export route target communities are associated with
prefixes when they are advertised to remote PEs. The
remote PEs import them into VRFs which have import RTs
that match these exported route target communities.
Step 9
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# end
or
RP/0/RP0/CPU0:router(config-vrf-af)# commit
Saves configuration changes.
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Command or Action Purpose