Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-30
Cisco IOS XR Routing Configuration Guide
Step 3
end-policy
Example:
RP/0/RP0/CPU0:router(config-rpl)# end-policy
(Optional) Ends the definition of a route policy and exits
route policy configuration mode.
Step 4
end
or
commit
Example:
RP/0/RP0/CPU0:router(config)# end
or
RP/0/RP0/CPU0:router(config)# 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.
Step 5
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 6
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 7
bgp router-id {
ip-address
|
interface-type
interface-instance
}
Example:
RP/0/RP0/CPU0:router(config-bgp)# bgp router-id
192.168.70.24
Configures the local router with a router id of
192.168.70.24.
Step 8
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.
Command or Action Purpose