![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/be/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f/3bebaf9c-1005-4ee8-b7c8-c2df46a91b7f-bg41.png)
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-49
Cisco IOS XR Routing Configuration Guide
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
address-family {ipv4 unicast | ipv4 multicast |
ipv6 unicast | ipv6 multicast}
Example:
RP/0/RP0/CPU0:router(config-bgp)#
address-family ipv4 unicast
Enters global address family configuration mode for the
IPv4 address family.
Step 4
bgp dampening [
half-life
[
reuse suppress
max-suppress-time
] | route-policy
route-policy-name
]
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# bgp
dampening 30 1500 10000 120
Configures BGP dampening for the IPv4 address family.
The half-life argument is set to 30, the reuse argument is set
to 1500, the suppress argument is set to 10000, and the
max-suppress-time argument is set to 120.
Step 5
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# end
or
RP/0/RP0/CPU0:router(config-bgp-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.