1260
C
82: IP
6 BGP C
HAPTER
V
peer timer (IPv6 address family view)
Syntax
View
Parameters
Description
Related commands:
Examples
preference (IPv6 address family view)
Syntax
C
ONFIGURATION
OMMANDS
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 substitute-as
peer { ipv6-group-name | ipv6-address } timer keepalive keepalive hold holdtime
undo peer { ipv6-group-name | ipv6-address } timer
IPv6 address family view
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 1 to 21845.
holdtime: Specifies the holdtime in seconds, ranging from 3 to 65535.
Use the
peer timer
interval for a peer or peer group.
Use the
undo peer timer
keepalive interval defaults to 60 seconds, and holdtime interval defaults to 180
seconds
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.
■
timer (IPv6 address family view).
# 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
[Sysname-bgp-af-ipv6] peer test timer keep-alive 60 hold 180
preference { external-preference internal-preference local-preference | route-policy
route-policy-name }
undo preference
command to configure keepalive interval and holdtime
command to restore the default.