R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
265
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 as-number 200
[Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 capability-advertise route-refresh
peer capability-advertise suppress-4-byte-as
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 { group-name | ip-address } capability-advertise suppress-4-byte-as
undo peer { group-name | ip-address } capability-advertise suppress-4-byte-as
Default
The 4-byte AS number suppression function is disabled.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
Usage guidelines
The device supports 4-byte AS numbers by default. If the peer device supports only 2-byte AS numbers,
you must enable the 4-byte AS number suppression function on the local 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 BGP view, enable 4-byte AS number suppression for peer 160.89.2.33.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 160.89.2.33 as-number 100
[Sysname-bgp] peer 160.89.2.33 capability-advertise suppress-4-byte-as
# In BGP-VPN instance view, enable 4-byte AS number suppression for peer 160.89.2.33. (The VPN must
have been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 as-number 200
[Sysname-bgp-ipv4-vpn1] peer 160.89.2.33 capability-advertise suppress-4-byte-as










