HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Configuration Gu - Page 217
Tuning and optimizing BGP networks, Configuring the keepalive interval and hold time
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 217 highlights
Tuning and optimizing BGP networks This section describes how to tune and optimize BGP networks. Configuring the keepalive interval and hold time BGP sends keepalive messages at a specific interval to keep the BGP session between two routers. If a router receives no keepalive or update message from a peer within the hold time, it tears down the session. You can configure the keepalive interval and hold time globally or for a specific peer or peer group. The individual settings take precedence over the global settings. The actual keepalive interval and hold time are determined as follows: • If the hold time settings on the local and peer routers are different, the smaller setting is used. If the hold time is 0, BGP does not send keepalive messages to its peers and never tears down the session. • If the keepalive interval is 0 and the negotiated hold time is not 0, the actual keepalive interval equals 1/3 of the hold time. If the keepalive interval is not 0, the actual keepalive interval is the smaller one between 1/3 of the hold time and the keepalive interval. To configure the keepalive interval and hold time (IPv4): Step 1. Enter system view. 2. Enter BGP view or BGP-VPN instance view. 3. Configure the keepalive interval and hold time. Command Remarks system-view N/A • Enter BGP view: bgp as-number • Enter BGP-VPN instance view: a. bgp as-number b. ip vpn-instance vpn-instance-name N/A Use either method. • Configure the global keepalive interval and hold time: timer keepalive keepalive hold By default, the keepalive interval is 60 seconds, and hold time is 180 seconds. holdtime • Configure the keepalive interval and hold time for a The timer command takes effect for new BGP sessions and does not affect existing sessions. peer or peer group: If you modify the timers with the peer { group-name | peer timer command, BGP ip-address } timer keepalive immediately closes the existing keepalive hold holdtime BGP session and creates a new session to the peer by using the new settings. To configure the keepalive interval and hold time (IPv6): 206