Enabling the IPv6 BGP ORF capability

The BGP Outbound Route Filter (ORF) feature allows a BGP speaker to send its BGP peer a set of ORFs through route-refresh messages. The peer then applies the ORFs, in addition to its local routing policies (if any), to filter updates to the BGP speaker, reducing the number of exchanged update messages and saving network resources.

After you enable the BGP ORF capability, the local BGP router negotiates the ORF capability with the BGP peer through Open messages. The local BGP router determines whether to carry ORF information in messages. If yes, it will further determine whether to carry non-standard ORF information in the packets. After completing the negotiation process and establishing the neighboring relationship, the BGP router and its BGP peer can exchange ORF information through specific route-refresh messages.

For the parameters configured on both sides for ORF capability negotiation, see Table 9.

To enable the BGP ORF capability:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter BGP view.

bgp as-number

Required

3. Enter IPv6 address family view.

ipv6-family

N/A

4. Enable BGP route refresh for a peer or peer group.

peer { group-name | ipv6-address } capability-advertise route-refresh

Enabled by default

5. Enable the non-standard ORF capability for a BGP peer or peer group.

peer { group-name | ipv6-address } capability-advertise orf non-standard

Optional.

By default, standard BGP ORF capability defined in RFC 5291 and RFC 5292 is supported.

6. Enable the ORF IP prefix negotiation capability for a BGP peer or peer group.

peer { group-name | ip-address | ipv6-address } capability-advertise orf ipv6-prefix { both | receive | send }

Not supported by default.

Table 9: 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.