
219
Switch(config-router)#exit
1.8.3.79 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 route mode.
Usage Guide:
Similar to neighbor time configuration which just performed on all neighbors
Example:
Switch(config-router)# timers bgp 50 200
Relevant Commands: neighbor timers, no neighbor timers
1.8.4 Configuration Examples of BGP
1.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 1-11
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:
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