HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

403
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.
<Sysname> 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.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] timer keepalive 60 hold 180
# In BGP view, configure both the keepalive interval and holdtime as 0 seconds, indicating the sessions
will never time out.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] timer keepalive 0 hold 0
# In BGP-VPN instance view, configure both the keepalive interval and holdtime as 0 seconds for BGP
sessions in vpn1, indicating the sessions will never time out.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] timer keepalive 0 hold 0
Related commands
display bgp peer ipv4 unicast
display bgp peer ipv6 unicast
peer timer