11-58
Examples
# Configure keepalive interval and holdtime interval as 60 and 180 seconds.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] timer keepalive 60 hold 180
# In BGP view, configure both the BGP keepalive interval and holdtime interval as 0 seconds,
indicating no peer connection will 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 interval for
vpn1
as 0
seconds, indicating no peer connection will time out. (
vpn1
must be created first.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] timer keepalive 0 hold 0