Setup Guide
• After a route matches a lter, the lter’s action is applied. No additional lters are applied to the route.
Implementation Information
In Dell EMC Networking OS, prex lists are used in processing routes for routing protocols (for example, router information protocol [RIP],
open shortest path rst [OSPF], and border gateway protocol [BGP]).
NOTE: It is important to know which protocol your system supports prior to implementing prex-lists.
Conguration Task List for Prex Lists
To congure a prex list, use commands in PREFIX LIST, ROUTER RIP, ROUTER OSPF, and ROUTER BGP modes.
Create the prex list in PREFIX LIST mode and assign that list to commands in ROUTER RIP, ROUTER OSPF and ROUTER BGP modes.
The following list includes the conguration tasks for prex lists, as described in the following sections.
• Conguring a prex list
• Use a prex list for route redistribution
For a complete listing of all commands related to prex lists, refer to the Dell EMC Networking OS Command Line Interface Reference
Guide.
Creating a Prex List
To create a prex list, use the following commands.
1 Create a prex list and assign it a unique name.
You are in PREFIX LIST mode.
CONFIGURATION mode
ip prefix-list prefix-name
2 Create a prex list with a sequence number and a deny or permit action.
CONFIG-NPREFIXL mode
seq sequence-number {deny | permit} ip-prefix [ge min-prefix-length] [le max-prefix-length]
The optional parameters are:
• ge min-prefix-length: the minimum prex length to match (from 0 to 32).
• le max-prefix-length: the maximum prex length to match (from 0 to 32).
Example of Assigning Sequence Numbers to Filters
If you want to forward all routes that do not match the prex list criteria, congure a prex list lter to permit all routes (permit
0.0.0.0/0 le 32). The “permit all” lter must be the last lter in your prex list. To permit the default route only, enter permit
0.0.0.0/0
.
The following example shows how the seq command orders the lters according to the sequence number assigned. In the example, lter
20 was congured before lter 15 and 12, but the show config command displays the lters in the correct order.
DellEMC(conf-nprefixl)#seq 20 permit 0.0.0.0/0 le 32
DellEMC(conf-nprefixl)#seq 12 deny 134.23.0.0 /16
DellEMC(conf-nprefixl)#seq 15 deny 120.23.14.0 /8 le 16
DellEMC(conf-nprefixl)#show config
!
132
Access Control Lists (ACLs)