Cisco Systems IOS XR Laptop User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-63
Cisco IOS XR Routing Configuration Guide
Step 4
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 5
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 6
address-family {ipv4 unicast | ipv4 multicast |
ipv6 unicast | ipv6 multicast}
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr)#
address-family ipv4 unicast
Enters neighbor address family configuration mode for the
IPv4 address family.
Step 7
route-policy
route-policy-name
{in | out}
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)#
route-policy In-Ipv4 in
Applies the In-Ipv4 policy to inbound IPv4 unicast routes.
Step 8
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RP0/CPU0:router(config-bgp-nbr-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