Outbound Route Filtering (ORF)

The ORF feature allows a BGP speaker to notify a peer, using route-refresh messages, of the prefixes, communities, or extended-communities the router is interested in receiving updates for. Instead of using an inbound route-map to filter a large set of routes for installation into the local-RIB, this feature allows the router to ask for the particular set they are interested in. ORF can be configured to send route-refresh messages to the peer, receive them from the peer, or both.

The ORF capability is configured in BGP router configuration mode. The peer must also support the ORF capability. Configuring the ORF capability results in the advertisement of the ORF capability OPEN message. If the peer recognizes this capability, the peer advertises the capability in its OPEN message, otherwise, the peer sends a notification with an unrecognized capability error code. In this case, the local router will resend its OPEN message without the capability advertised.

Use the bgp orf comm-filter command to configure ORF for community filtering on both the local router and the peer router.

This example configures BGP to send the ORF capability for community filtering for IPv4 unicast to the peer:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 151.1.1.9
System(su-config-bgp)->bgp orf ipv4 unicast comm-filter send
System(su-config-bgp)->

Use the bgp orf extcomm-filter command to configure ORF for extended community filtering on both the local router and the peer router.

This example configures BGP to send ORF capability for extended community filtering for IPv4 unicast:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 151.1.1.9
System(su-config-bgp)->bgp orf ipv4 unicast extcomm-filter send
System(su-config-bgp)->

Use the bgp orf prefix-filter command to configure ORF for prefix filtering on this router.

This example configures BGP to send the ORF capability for prefix filtering to the BGP peer for IPv4 unicast:

System(su-config)->router bgp 65151
System(su-config-bgp)->bgp router-id 151.1.1.9
System(su-config-bgp)->bgp orf ipv4 unicast prefix-filter send
System(su-config-bgp)->