To do...
Enter system view
Enter BGP view
Enable BGP route refresh for a
peer or peer group
Enable the non-standard ORF
capability for a BGP peer or peer
group
Enable the ORF capability for a
BGP peer or peer group
Table 5 Description of the both, send, and receive parameters and the negotiation result
Local parameter
send
receive
both
Enabling 4-byte AS number suppression
When a switch that supports 4-byte AS numbers sends an Open message for peer relationship
establishment, the Optional parameters field of the message indicates that the AS number occupies four
bytes—in the range of 1 to 4294967295. If the peer device does not support 4-byte AS numbers (for
examples, it supports only 2-byte AS numbers), the peer relationship cannot be established.
After you enable the 4-byte AS number suppression function, the peer device can then process the Open
message even though it does not support 4-byte AS numbers, and the BGP peer relationship can be
established.
Follow these steps to enable 4-byte AS number suppression:
To do...
Enter system view
Enter BGP view
Enable 4-byte AS number
suppression
Use the command...
system-view
bgp as-number
peer { group-name | ip-address }
capability-advertise route-refresh
peer { group-name | ip-address }
capability-advertise orf
non-standard
peer { group-name | ip-address }
capability-advertise orf ip-prefix
{ both | receive | send }
Peer parameter
receive
both
send
both
both
Use the command...
system-view
bgp as-number
peer { group-name | ip-address }
capability-advertise suppress-4-byte-as
222
Remarks
—
—
Required
Enabled by default.
Optional
By default, standard BGP ORF
capability defined in RFC 5291
and RFC 5292 is supported.
If the peer supports only
non-standard ORF, you need to
configure this command.
Required
Disabled by default.
Negotiation result
The ORF sending capability is enabled locally and the
ORF receiving capability is enabled on the peer.
The ORF receiving capability is enabled locally and the
ORF sending capability is enabled on the peer.
Both the ORF sending and receiving capabilities are
enabled locally and on the peer, respectively.
Remarks
—
—
Required
Disabled by default.