send: Supports sending route-refresh messages carrying the ORF information.
Description
Use peer capability-advertise orf to enable the ORF capability for a BGP peer or peer group.
Use undo peer capability-advertise orf to disable the ORF capability for the BGP peer or peer group.
By default, the ORF capability is not enabled for a BGP peer or peer group.
After you enable the ORF capability, the local BGP router negotiates the ORF capability with the
•
BGP peer through Open messages. After that, the BGP router can exchange ORF information in
route-refresh messages with the peer. For non-standard ORF capability negotiation, you need also
to configure the peer capability-advertise orf non-standard command.
After you disable the ORF capability, the local BGP router does not negotiate the ORF capability
•
with the specified peer or peer group.
Table 39 Description of the both, send, and receive parameters and the negotiation result
Local parameter
send
receive
both
Examples
# Enable the ORF capability for the BGP peer 18.10.0.9. Then, after negotiation, the local router can
exchange ORF information with the peer 18.10.0.9.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 18.10.0.9 as-number 100
[Sysname-bgp] peer 18.10.0.9 capability-advertise orf ip-prefix both
The related configuration needs to be made on the peer.
# In BGP-VPN instance view, enable the ORF capability for the BGP peer 18.10.0.9. Then, after
negotiation, the local router can exchange ORF information with the peer 18.10.0.9. (vpn1 must have
been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 as-number 200
[Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 capability-advertise orf ip-prefix both
The related configuration needs to be made on the peer.
peer capability-advertise orf non-standard
Syntax
peer { group-name | ip-address } capability-advertise orf non-standard
Peer parameter
•
receive
•
both
•
send
•
both
both
174
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.