579
14.8.3.84 timers bgp
Command: timers bgp <0-65535> <0-65535>
no timers bgp [<0-65535> <0-65535>]
Function:
Configure all neighbor time in BGP. The “
no timers bgp [<0-65535>
<0-65535>]
” command restores these times to default value
Parameter:
Respectively the KEEPALIVE interval and the hold time
Default:
KEEPALIVE is 60s, , HOLD TIME is 240s.
Command Mode:
BGP routing mode.
Usage Guide:
Similar to neighbor time configuration which just performed on all
neighbors
Example:
Switch(config-router)# timers bgp 50 200
14.8.4 Configuration Examples of BGP
14.8.4.1 Examples 1: configure BGP neighbor
SwitchB, SwitchC and SwitchD are in AS200, SwitchA is in AS100. SwitchA and
SwitchB share the same network segment. SwitchB and SwitchD are not connected
physically.
Fig 14-10 BGP Network Topological Map
The configurations of
SwitchA are as following:
SwitchA(config)#router bgp 100
SwitchA(config-router-bgp)#neighbor 11.1.1.2 remote-as 200
SwitchA(config-router-bgp)#exit
The configurations of
SwitchB are as following
:
SwitchB(config)#router bgp 200
SwitchB(config-router-bgp)#network 11.0.0.0
AS100
AS200
vlan1:11.1.1.1
vlan1:11.1.1.2
vlan1:13.1.1.4
vlan2:13.1.1.3
vlan1:12.1.1.3
vlan2:12.1.1.2
SwitchA
SwitchB
SwitchD
SwitchC