Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-68
Cisco IOS XR Routing Configuration Guide
OL-14356-01
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.
Step 6
show bgp [ipv4 {unicast | multicast |
labeled-unicast | all} | ipv6 {unicast |
multicast | all | tunnel} | all {unicast |
multicast | all | labeled-unicast} | vpnv4
unicast [rd rd-address] | vrf {vrf-name | all}
[ipv4 {unicast | labeled-unicast} | ipv6
unicast] | vpnv6 unicast [rd rd-address]]
flap-statistics
Example:
RP/0/RP0/CPU0:router# show bgp flap statistics
Displays BGP flap statistics.
Step 7
show bgp [ipv4 {unicast | multicast |
labeled-unicast | all} | ipv6 {unicast |
multicast | all | labeled-unicast} | all
{unicast | multicast | all | labeled-unicast} |
vpnv4 unicast [rd rd-address] | vrf {vrf-name |
all} [ipv4 {unicast | labeled-unicast} | ipv6
unicast] | vpnv6 unicast [rd rd-address]]
flap-statistics regexp regular-expression
Example:
RP/0/RP0/CPU0:router# show bgp flap-statistics
regexp _1$
Displays BGP flap statistics for all paths that match the
regular expression.
Command or Action Purpose