The first two commands configure statements for the IP prefix list Routesfrom1234. The first command configures a statement that
denies routes to 10.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 10.2.3.4. The last
command enables the device to send the IP prefix list as an ORF to neighbor 10.2.3.4. When the device sends the IP prefix list to the
neighbor, the neighbor filters out the 10.20.0.x routes from its updates to the device. This assumes that the neighbor is also configured
for cooperative filtering.
Syntax:
[no] neighbor
ip-addr
|
peer-group-name
capability
orf
prefixlist
[
send
|
receive
]
The ip-addr | peer-group-name parameters specify the IP address of a neighbor or the name of a peer group of neighbors.
The
send and receive
parameters specify 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.
To activate cooperative filtering, reset the session with the neighbor. This is required because the cooperative filtering information is
exchanged in Open messages during the start of a session.
To place a prefix-list change into effect after activating cooperative filtering, perform a soft reset of the neighbor session. A soft reset
does not end the current session, but sends the prefix list to the neighbor in the next route refresh message.
NOTE
Make sure cooperative filtering is enabled on the device and on the neighbor before you send the
filters.
To reset a neighbor session and send ORFs to the neighbor, enter a command such as the following.
device# clear ip bgp neighbor 10.2.3.4
This command resets the BGP4 session with neighbor 10.2.3.4 and sends the ORFs to the neighbor. If the neighbor sends ORFs to the
device, the device accepts them if the send capability is enabled.
To perform a soft reset of a neighbor session and send ORFs to the neighbor, enter a command such as the following.
device# clear ip bgp neighbor 10.2.3.4 soft in prefix-list
Syntax:
clear ip bgp neighbor
ip-addr
[
soft
in
prefix-filter
|
soft
in
prefix-list
]
If you use the
soft in prefix-filter
parameter, the device sends the updated IP prefix list to the neighbor as part of its route refresh
message to the neighbor.
Filtering
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
417
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...