White Papers
ip prefix-list prefix-name
2 Create a prex list lter with a deny or permit action.
CONFIG-NPREFIXL mode
{deny | permit} ip-prefix [ge min-prefix-length] [le max-prefix-length]
The optional parameters are:
• ge min-prefix-length: is the minimum prex length to be matched (0 to 32).
• le max-prefix-length: is the maximum prex length to be matched (0 to 32).
Example of Creating a Filter with Dell EMC Networking OS-Assigned Sequence Numbers
The example shows a prex list in which the sequence numbers were assigned by the software. The lters were assigned sequence
numbers based on the order in which they were congured (for example, the rst lter was given the lowest sequence number). The show
config command in PREFIX LIST mode displays two lters with the sequence numbers 5 and 10.
DellEMC(conf-nprefixl)#permit 123.23.0.0 /16
DellEMC(conf-nprefixl)#deny 133.24.56.0 /8
DellEMC(conf-nprefixl)#show conf
!
ip prefix-list awe
seq 5 permit 123.23.0.0/16
seq 10 deny 133.0.0.0/8
DellEMC(conf-nprefixl)#
To delete a lter, enter the show config command in PREFIX LIST mode and locate the sequence number of the lter you want to
delete, then use the
no seq sequence-number command in PREFIX LIST mode.
Viewing Prex Lists
To view all congured prex lists, use the following commands.
• Show detailed information about congured prex lists.
EXEC Privilege mode
show ip prefix-list detail [prefix-name]
• Show a table of summarized information about congured Prex lists.
EXEC Privilege mode
show ip prefix-list summary [prefix-name]
Examples of the show ip prefix-list Command
The following example shows the show ip prefix-list detail command.
DellEMC>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)
The following example shows the show ip prefix-list summary command.
DellEMC>
DellEMC>show ip prefix summary
Access Control Lists (ACLs)
127