H3C Technologies H3C SR8800 User Manual

Page 242

Advertising
background image

226

If the holdtime settings on the local and peer routers are different, the smaller one is used.

If the keepalive interval is 0 and the negotiated holdtime is not 0, the actual keepalive interval
equals one-third of the holdtime.

If the keepalive interval is not 0, the actual keepalive interval is the smaller one between one third

of the holdtime and the keepalive interval.

To configure BGP keepalive interval and holdtime:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Configure BGP keepalive interval

and holdtime.

Configure the global keepalive

interval and holdtime:
timer keepalive keepalive hold

holdtime

Configure the keepalive interval

and holdtime for a peer/peer

group:

peer { group-name |
ip-address
} timer keepalive

keepalive hold holdtime

Optional.
By default, the keepalive

interval is 60 seconds, and

holdtime is 180 seconds.

NOTE:

The maximum keepalive interval should be one third of the holdtime and no less than 1 second. The
holdtime is no less than 3 seconds unless it is set to 0.

The intervals set with the peer timer command are preferred to those set with the timer command.

If the router has established a neighbor relationship with a peer, you must reset the BGP connection to
validate the new set timers.

The timer command takes effect for only new connections.

After peer timer command is executed, the peer connection is closed at once, and a new connection to
the peer is negotiated using the configured hold time.

Configuring the interval for sending the same update

To configure the interval for sending the same update to a peer/peer group:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Configure the interval for sending the
same update to a peer/peer group.

peer { group-name | ip-address }
route-update-interval interval

Optional.
The intervals for sending the

same update to an IBGP
peer and an EBGP peer

default to 15 seconds and

30 seconds respectively.

Advertising