DELL S50V User Manual

Page of 1262
156
|
IP Access Control Lists (ACL), Prefix Lists, and Route-maps
www.dell.com | support.dell.com
Figure 8-15.  Command example: 
show ip prefix-list detail
Figure 8-16.  Command Example: 
show ip prefix-list summary
 
Use a prefix list for route redistribution
To pass traffic through a configured prefix list, you must use the prefix list in a route redistribution 
command. The prefix list is applied to all traffic redistributed into the routing process and the traffic is 
either forwarded or dropped depending on the criteria and actions specified in the prefix list. 
To apply a filter to routes in RIP (RIP is supported on C and E-Series.), use either of the following 
commands in the ROUTER RIP mode: 
To view the configuration, use the 
show config
 command in the ROUTER RIP mode 
(Figure 240)
 or the 
show running-config rip 
command in the EXEC mode. 
Command Syntax
Command Mode
Purpose
router rip
CONFIGURATION
Enter RIP mode
distribute-list
 
prefix-list-name
 
in 
[
interface
]
CONFIG-ROUTER-RIP
Apply a prefix list to filter the network 
prefixes in incoming route updates. You can 
specify an interface.
If you enter the name of a nonexistent prefix 
list, all routes are forwarded.
distribute-list
 
prefix-list-name
 
out
 
[
interface 
connected
 | 
static
 | 
ospf
]
CONFIG-ROUTER-RIP
Apply a prefix list to filter network prefixes 
advertised in outgoing route updates. You 
can specify an interface or type of route.
If you enter the name of a non-existent prefix 
list, all routes are forwarded.
FTOS>
show ip prefix detail
Prefix-list with the last deletion/insertion: filter_ospf
ip prefix-list filter_in:
count: 3, range entries: 3, sequences: 5 - 10
   seq 5 deny 1.102.0.0/16 le 32 (hit count: 0)
   seq 6 deny 2.1.0.0/16 ge 23 (hit count: 0)
   seq 10 permit 0.0.0.0/0 le 32 (hit count: 0)
ip prefix-list filter_ospf:
count: 4, range entries: 1, sequences: 5 - 10
   seq 5 deny 100.100.1.0/24 (hit count: 0)
   seq 6 deny 200.200.1.0/24 (hit count: 0)
   seq 7 deny 200.200.2.0/24 (hit count: 0)
   seq 10 permit 0.0.0.0/0 le 32 (hit count: 0)
FTOS>
FTOS>
show ip prefix summary
Prefix-list with the last deletion/insertion: filter_ospf
ip prefix-list filter_in:
count: 3, range entries: 3, sequences: 5 - 10
ip prefix-list filter_ospf:
count: 4, range entries: 1, sequences: 5 - 10
FTOS>