
Purpose
Command or Action
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RP0/CPU0:router# router bgp 120
Step 2
Specifies a BGP confederation identifier.
bgp confederation identifier
as-number
Example:
Step 3
RP/0/RP0/CPU0:router(config-bgp)# bgp confederation
identifier 5
Specifies that the BGP autonomous systems belong to a
specified BGP confederation identifier. You can associate
bgp confederation peers
as-number
Example:
Step 4
multiple AS numbers to the same confederation identifier,
as shown in the example.
RP/0/RP0/CPU0:router(config-bgp)# bgp confederation
peers 1091
RP/0/RP0/CPU0:router(config-bgp)# bgp
confederation peers 1092
RP/0/RP0/CPU0:router(config-bgp)# bgp
confederation peers 1093
RP/0/RP0/CPU0:router(config-bgp)# bgp
confederation peers 1094
RP/0/RP0/CPU0:router(config-bgp)# bgp
confederation peers 1095
RP/0/RP0/CPU0:router(config-bgp)# bgp
confederation peers 1096
commit
Step 5
Resetting an eBGP Session Immediately Upon Link Failure
By default, if a link goes down, all BGP sessions of any directly adjacent external peers are immediately reset.
Use the
bgp fast-external-fallover disable
command to disable automatic resetting. Turn the automatic reset
back on using the
no bgp fast-external-fallover disable
command.
eBGP sessions flap when the node reaches 3500 eBGP sessions with BGP timer values set as 10 and 30. To
support more than 3500 eBGP sessions, increase the packet rate by using the
lpts pifib hardware police
location location-id
command. Following is a sample configuration to increase the eBGP sessions:
RP/0/RP0/CPU0:router#configure
RP/0/RP0/CPU0:router(config)#lpts pifib hardware police location 0/2/CPU0
RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#flow bgp configured rate 4000
RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#flow bgp known rate 4000
RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#flow bgp default rate 4000
RP/0/RP0/CPU0:router(config-pifib-policer-per-node)#commit
Logging Neighbor Changes
Logging neighbor changes is enabled by default. Use the
log neighbor changes disable
command to turn off
logging. The
no log neighbor changes disable
command can also be used to turn logging back on if it has
been disabled.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
50
Implementing BGP
Resetting an eBGP Session Immediately Upon Link Failure