R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

449
[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
peer timer