Enabling cooperative filtering, Sending and receiving orfs – Brocade BigIron RX Series Configuration Guide User Manual

Page 963

Advertising
background image

BigIron RX Series Configuration Guide

885

53-1002484-04

Filtering

27

Enable the cooperative route filtering feature on the device. You can enable the device to send
ORFs to the neighbor, to receive ORFs from the neighbor, or both. The neighbor uses the ORFs
you send as outbound filters when it sends routes to the device. Likewise, the device uses the
ORFs it receives from the neighbor as outbound filters when sending routes to the neighbor.

Reset the BGP4 neighbor session to send and receive ORFs.

Perform these steps on the other device.

NOTE

If the device has inbound filters, the filters are still processed even if equivalent filters have been
sent as ORFs to the neighbor.

Enabling cooperative filtering

To configure cooperative filtering, enter commands such as the following.

BigIron RX(config)# ip prefix-list Routesfrom1234 deny 20.20.0.0/24

BigIron RX(config)# ip prefix-list Routesfrom1234 permit 0.0.0.0/0 le 32

BigIron RX(config)# router bgp

BigIron RX(config-bgp)# neighbor 1.2.3.4 prefix-list Routesfrom1234 in

BigIron RX(config-bgp)# neighbor 1.2.3.4 capability orf prefixlist send

The first two commands configure statements for the IP prefix list Routesfrom1234. The first
command configures a statement that denies routes to 20.20.20./24. The second command
configures a statement that permits all other routes. (Once you configure an IP prefix list
statement, all routes not explicitly permitted by statements in the prefix list are denied.)

The next two commands change the CLI to the BGP4 configuration level, then apply the IP prefix list
to neighbor 1.2.3.4. The last command enables the device to send the IP prefix list as an ORF to
neighbor 1.2.3.4. When the device sends the IP prefix list to the neighbor, the neighbor filters out
the 20.20.0.x routes from its updates to the device. (This assumes that the neighbor also is
configured for cooperative filtering.)

Syntax: [no] neighbor <ip-addr> | <peer-group-name> capability orf prefixlist [send | receive]

The <ip-addr> | <peer-group-name> parameter specifies the IP address of a neighbor or the name
of a peer group of neighbors.

The send | receive parameter specifies the support you are enabling:

send – The device sends the IP prefix lists to the neighbor.

receive – The device accepts filters from the neighbor.

If you do not specify the capability, both capabilities are enabled.

The prefixlist parameter specifies the type of filter you want to send to the neighbor.

NOTE

The current release supports cooperative filtering only for filters configured using IP prefix lists.

Sending and receiving ORFs

Cooperative filtering affects neighbor sessions that start after the filtering is enabled, but do not
affect sessions that are already established.

Advertising