278
Enabling nonstandard BGP ORF capabilities
1. Enter system view.
system-view
N/A
2. Enter BGP instance view or
BGP-VPN instance view.
• Enter BGP instance view:
bgp as-number [ instance
instance-name ]
• Enter BGP-VPN instance
view:
a. bgp as-number [ instance
instance-name ]
b. ip vpn-instance
N/A
3. Enable nonstandard BGP
ORF capabilities.
peer
{
group-name
|
ip-address
[
mask-length
]
| ipv6-address
[ prefix-length ] }
capability-advertise orf
non-standard
By default, nonstandard BGP ORF
capabilities are disabled.
To enable the BGP peers to
exchange nonstandard ORF
information, you must configure
this command together with the
peer
capability-advertise orf
prefix-list
command.
Enabling 4-byte AS number suppression
BGP supports 4-byte AS numbers. The 4-byte AS number occupies four bytes, in the range of 1 to
4294967295. By default, a device sends an Open message to the peer device for session
establishment. The Open message indicates that the device supports 4-byte AS numbers. If the peer
device supports 2-byte AS numbers instead of 4-byte AS numbers, the session cannot be
established. To resolve this issue, enable the 4-byte AS number suppression feature. The device
then sends an Open message to inform the peer that it does not support 4-byte AS numbers, so the
BGP session can be established.
If the peer device supports 4-byte AS numbers, do not enable the 4-byte AS number suppression
feature. Otherwise, the BGP session cannot be established.
To enable 4-byte AS number suppression (IPv4 unicast/multicast address family):
1. Enter system view.
system-view
N/A
2. Enter BGP instance view or
BGP-VPN instance view.
• Enter BGP instance view:
bgp as-number [ instance
instance-name ]
• Enter BGP-VPN instance
view:
a. bgp as-number
[ instance
instance-name ]
b. ip vpn-instance
N/A
3. Enable 4-byte AS number
suppression.
peer
{ group-name | ipv4-address
[ mask-length ] }
capability-advertise
suppress-4-byte-as
By default, 4-byte AS number
suppression is disabled.
To enable 4-byte AS number suppression (IPv6 unicast/multicast address family):