Command Manual – BGP
H3C S9500 Series Routing Switches
1.1.68 peer timer (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address } timer keepalive keepalive hold holdtime
undo peer { group-name | ip-address } timer
View
BGP view, BGP-VPN instance view
Default Level
2: System level
Parameters
group-name: Name of a peer group.
ip-address: IP address of a peer.
keepalive: Keepalive interval in seconds.
holdtime: Holdtime interval in seconds.
Description
Use the peer timer command to configure the keepalive interval and holdtime interval
for a peer or peer group.
Use the undo peer timer command to restore the default.
By default, the keepalive and holdtime are 60s and 180s respectively.
Note that:
The timer configured with this command is preferred to the timer configured with
the timer command.
The holdtime interval must be at least three times the keepalive interval.
Related commands: timer.
Examples
# In BGP view, configure the keepalive interval and holdtime interval for peer group test
as 60s and 180s.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test timer keepalive 60 hold 180
# In BGP-VPN instance view, configure the keepalive interval and holdtime interval for
peer group test as 60s and 180s (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
Chapter 1 BGP Configuration Commands
1-69