Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-40
Cisco IOS XR Routing Configuration Guide
8. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router bgp
autonomous-system-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Enters BGP configuration mode allowing you to configure
the BGP routing process.
Step 3
bgp bestpath med missing-as-worst
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp bestpath
med missing-as-worst
Directs the BGP software to consider a missing MED
attribute in a path as having a value of infinity, making this
path the least desirable path.
Step 4
bgp bestpath med always
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp bestpath
med always
Configures the BGP speaker in autonomous system 120 to
compare MEDs among alternative paths, regardless of the
autonomous system from which the paths are received.
Step 5
bgp bestpath med confed
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp bestpath
med confed
Enables BGP software to compare MED values for paths
learned from confederation peers.
Step 6
bgp bestpath as-path ignore
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp bestpath
as-path ignore
Configures the BGP software to ignore the autonomous
system length when performing best path selection.