receive
: Supports receiving route-refresh messages carrying the ORF information.
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 process route-refresh
messages carrying the standard ORF information from the peer or send route-refresh
messages carrying the standard ORF information to 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 92 Description of the both, send, and receive parameters and the negotiation result
Local parameter
Peer parameter
Negotiation result
send
•
receive
•
both
The ORF sending capability is enabled locally
and the ORF receiving capability is enabled
on the peer.
receive
•
send
•
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.
Examples
# Enable the ORF capability for the BGP peer 1:2::3:4. Then, after negotiation, the local router can
exchange ORF information with the peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100
[Sysname-bgp-af-ipv6] peer 1:2::3:4 capability-advertise orf ipv6-prefix both
peer capability-advertise orf non-standard (IPv6 address
family view)
Syntax
peer
{
group-name
|
ipv6-address
}
capability-advertise orf non-standard
undo peer
{
group-name
|
ipv6-address
}
capability-advertise orf non-standard
View
IPv6 address family view
380