Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-35
Cisco IOS XR Routing Configuration Guide
Changing the BGP Default Local Preference Value
Perform this task to set the default local preference value for BGP paths.
SUMMARY STEPS
1. configure
2. router bgp autonomous-system-number
3. bgp default local-preference value
4. end
or
commit
Step 4
neighbor
ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address
172.168.40.24 as a BGP peer.
Step 5
timers
keepalive hold-time
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# timers 60
220
(Optional) Sets the keepalive timer to 60 seconds and the
hold-time timer to 220 seconds for BGP neighbor
172.168.40.24.
Step 6
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)# end
or
RP/0/RP0/CPU0:router(config-bgp-nbr)# 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