R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
452
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)
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: Specifies the 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










