The peer timer connect-retry command sets a ConnectRetry interval for a peer or peer group.
The undo peer timer connect-retry command restores the default setting.
By default, the ConnectRetry interval is 32s.
peer { group-name | ipv4-address | ipv6-address } timer connect-retry connect-retry-time
undo peer { group-name | ipv4-address | ipv6-address } timer connect-retry
Parameter | Description | Value |
---|---|---|
group-name | Specifies the name of a BGP peer group. | The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv4-address | Specifies an IPv4 address of a peer. | It is in dotted decimal notation. |
ipv6-address | Specifies an IPv6 address of a peer. | The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
connect-retry-time | Specifies a ConnectRetry interval. | The value ranges from 1 to 65535, in seconds. |
ipv4-address can be set only in the BGP view and BGP-VPN instance IPv4 address family view.
ipv6-address is valid only in the BGP view.
Usage Scenario
Prerequisites
The peer as-number command has been used to create a peer or peer group.
Precautions
If both the peer { ipv4-address | ipv6-address } timer connect-retry connect-retry-time command and the peer group-name timer connect-retry connect-retry-time command are run on a device, the configuration of the peer { ipv4-address | ipv6-address }timer connect-retry connect-retry-time command takes effect, but the configuration of the peer group-name timer connect-retry connect-retry-time command does not.
If both the peer { group-name | ipv4-address | ipv6-address } timer connect-retry connect-retry-time command and the timer connect-retry connect-retry-time command are run on a device, the configuration of the peer { group-name | ipv4-address | ipv6-address } timer connect-retry connect-retry-time command takes effect, but the configuration of the timer connect-retry connect-retry-time command does not.