[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] undo peer 1:2::3:4 capability-advertise route-refresh
peer capability-advertise suppress-4-byte-as (IPv6 address
family view)
Syntax
peer
{
group-name
|
ipv6-address
}
capability-advertise suppress-4-byte-as
undo peer
{
group-name
|
ipv6-address
}
capability-advertise suppress-4-byte-as
View
IPv6 address family view
Default level
2: System level
Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.
ipv6-address
: IPv6 address of a peer.
Description
Use
peer capability-advertise suppress-4-byte-as
to enable 4-byte AS number suppression.
Use
undo peer capability-advertise suppress-4-byte-as
to disable the function.
By default, the 4-byte AS number suppression function is disabled.
The device supports 4-byte AS numbers and uses 4-byte AS numbers by default. If the peer devices
support only 2-byte AS numbers, you must enable the 4-byte AS number suppression function on
the device.
If the peer device supports 4-byte AS numbers, do not enable the suppression function; otherwise,
the BGP peer relationship cannot be established.
Examples
# In IPv6 address family view, enable 4-byte AS number suppression for peer 2001::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 2001::1 as-number 200
[Sysname-bgp-af-ipv6] peer 2001::1 capability-advertise suppress-4-byte-as
peer capability-advertise suppress-4-byte-as (IPv6
BGP-VPN instance view)
Syntax
peer
ipv6-address capability-advertise suppress-4-byte-as
undo peer ipv6-address
capability-advertise suppress-4-byte-as
382