HP VPN Firewall Appliances Network Management Command Reference
922
Examples
# Substitute the local AS number for the AS number of peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 substitute-as
peer timer (IPv6 address family view)
Use peer timer to configure the keepalive interval and the holdtime interval for a peer or peer group.
Use undo peer timer to restore the default.
Syntax
peer { ipv6-group-name | ipv6-address } timer keepalive keepalive hold holdtime
undo peer { ipv6-group-name | ipv6-address } timer
Default
keepalive interval defaults to 60 seconds, and holdtime interval defaults to 180 seconds.
Views
IPv6 address family view
Default command level
2: System level
Parameters
ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
keepalive: Specifies the keepalive interval in seconds, ranging from 0 to 21845.
holdtime: Specifies the holdtime in seconds, whose value is 0 or in the range of 3 to 65535.
Usage guidelines
The timers configured with this command are preferred to the timers configured with the timer command.
If the holdtime interval is configured as 0, no keepalive message is sent to the peer, and the peer
connection never times out. If the keepalive interval is configured as 0 and the negotiated hold time is not
0, one third of the hold time is taken as the interval for sending keepalive messages.
If neither the holdtime interval nor the keepalive interval is configured as 0, the holdtime interval must be
at least three times the keepalive interval.
After this command is executed, the peer connection is closed at once and a new connection to the peer
is negotiated using the configured hold time.
Examples
# Configure the keepalive interval and holdtime interval for the peer group test as 60 seconds and 180
seconds.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test external