11-50
Description
Use the
peer substitute-as
command to substitute the local AS number for the AS number of a
peer/peer group in the AS_PATH attribute.
Use the
undo peer substitute-as
command to remove the configuration.
The substitution is not configured by default.
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)
Syntax
peer
{
ipv6-group-name | ipv6-address
}
timer
keepalive keepalive hold holdtime
undo peer
{
ipv6-group-name | ipv6-address
}
timer
View
IPv6 address family view
Default 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.
Description
Use the
peer timer
command to configure keepalive interval and holdtime interval for a peer or peer
group.
Use the
undo peer timer
command to restore the default.
keepalive
interval defaults to 60 seconds, and
holdtime
interval defaults to 180 seconds
Note that:
z
The timers configured with this command are preferred to the timers configured with the
timer
command.
z
If the holdtime interval is configured as 0, no keepalive message will be sent to the peer, and the
peer connection will never time 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.
z
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.