F3215-HP Load Balancing Module Network Management Command Reference-6PW101
493
<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)
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.
Syntax
peer ipv6-address capability-advertise suppress-4-byte-as
undo peer ipv6-address capability-advertise suppress-4-byte-as
Default
The 4-byte AS number suppression function is disabled.
Views
IPv6 BGP-VPN instance view
Default command level
2: System level
Parameters
ipv6-address: IPv6 address of a peer.
Usage guidelines
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 BGP-VPN instance view, enable 4-byte AS number suppression for peer 2001::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpn-instance 11
[Sysname-bgp-ipv6-11] peer 2001::1 as-number 200
[Sysname-bgp-ipv6-11] peer 2001::1 capability-advertise suppress-4-byte-as
peer connect-interface (IPv6 address family view)
Use peer connect-interface to specify the source interface for establishing TCP connections to an IPv6
BGP peer or peer group.
Use undo peer connect-interface to restore the default.