R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

391
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
both: Supports sending and receiving route-refresh messages carrying the ORF information.
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 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 89 Description of the both, send, and receive parameters and the negotiation result
Local
p
arameter
Peer
p
arameter
Ne
g
otiation 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, 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
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