HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 329
of the holdtime is taken as the interval for sending keepalive messages. If neither the holdtime nor
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 329 highlights
Use undo timer to restore the default. Syntax timer keepalive keepalive hold holdtime undo timer Default The BGP keepalive interval and the holdtime are 60 seconds and 180 seconds. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters keepalive keepalive: Configures a keepalive interval in the range of 0 to 21845 seconds. hold holdtime: Configures a holdtime in seconds, whose value is 0 or in the range of 3 to 65535. Usage guidelines After establishing a BGP session, two routers send keepalive messages at the specified keepalive interval to each other to keep the session. If a router receives no keepalive or update message from the peer within the holdtime, it tears down the session. Use the timer command to configure the keepalive interval and holdtime for all BGP peers. Use the peer timer command to configure the keepalive interval and holdtime for a peer or peer group. If both commands are configured, the intervals configured by the peer timer command have higher priority. If the holdtime settings on the local and peer routers are different, the smaller one is used. If the holdtime is configured as 0, no keepalive message will be sent to the peer, and the peer session will never time out. If the keepalive interval is configured as 0 and the negotiated holdtime is not 0, one third of the holdtime is taken as the interval for sending keepalive messages. If neither the holdtime nor the keepalive interval is configured as 0, the actual keepalive interval is the smaller one between one third of the holdtime and the keepalive interval. The timer command takes effect for only new BGP sessions. After the timer command is executed, no peer session is closed at once. The configured holdtime is used for negotiation in session reestablishment (for example, when you reset the BGP session). Examples # In BGP view, configure the keepalive interval and holdtime as 60s and 180s. system-view [Sysname] bgp 100 [Sysname-bgp] timer keepalive 60 hold 180 # In BGP-VPN instance view, configure the keepalive interval and holdtime as 60s and 180s. system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] timer keepalive 60 hold 180 318