6-47
z
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.
z
After you disable the ORF capability, the local BGP router does not negotiate the ORF capability
with the specified peer or peer group.
Table 6-13
Description of the
both
,
send
, and
receive
parameters and the negotiation result
Local parameter
Peer parameter
Negotiation result
receive
send
Both
The ORF sending capability is enabled locally
and the ORF receiving capability is enabled on
the peer.
Send
receive
Both
The ORF receiving capability is enabled locally
and the ORF sending capability is enabled on
the peer.
both Both
Both the ORF sending and receiving
capabilities are enabled locally and on the peer,
respectively.
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
Note that the related configuration needs to be made on the peer accordingly.
# 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 be
created first.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 18.10.0.9 as-number 200
[Sysname-bgp-vpn1] peer 18.10.0.9 capability-advertise orf ip-prefix both
Note that the related configuration needs to be made on the peer accordingly.
peer capability-advertise orf non-standard
Syntax
peer
{
group-name | ip-address
}
capability-advertise orf non-standard
undo peer
{
group-name | ip-address
}
capability-advertise orf non-standard