238
Description
Use peer capability-advertise orf to enable the ORF capability for an MBGP peer or peer group.
Use undo peer capability-advertise orf to disable the ORF capability for the MBGP peer or peer group.
By default, the ORF capability is not enabled for an MBGP 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
that carry the standard ORF information from the peer or send route-refresh messages that carry the
standard ORF information to the peer. For nonstandard ORF capability negotiation, you must also
configure the peer capability-advertise orf non-standard command in IPv4 unicast view.
• After you disable the ORF capability, the local BGP router does not negotiate the ORF capability
with the specified peer or peer group.
Table 54 Description of the both, send, and receive parameters and the negotiation result
Local
arameter
Peer
arameter
Ne
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 multicast 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] ipv4-family multicast
[Sysname-bgp-af-mul] peer 18.10.0.9 enable
[Sysname-bgp-af-mul] peer 18.10.0.9 capability-advertise orf ip-prefix both
peer default-route-advertise (MBGP address family view)
Syntax
peer { group-name | ip-address } default-route-advertise [ route-policy route-policy-name ]
undo peer { group-name | ip-address } default-route-advertise
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address: Specifies an IPv4 MBGP peer by its IP address.