Creating a Prefix List
To create a prefix list, use the following commands.
1.
Create a prefix list and assign it a unique name.
You are in PREFIX LIST mode.
CONFIGURATION mode
ip prefix-list
prefix-name
2.
Create a prefix 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 prefix length to match (from 0 to 32).
•
le
max-prefix-length
: the maximum prefix 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 prefix list criteria, configure a prefix list filter to
permit all routes (
permit 0.0.0.0/0 le 32
). The “permit all” filter must be the last filter in your prefix
list. To permit the default route only, enter
permit 0.0.0.0/0
.
The following example shows how the
seq
command orders the filters according to the sequence
number assigned. In the example, filter 20 was configured before filter 15 and 12, but the
show config
command displays the filters in the correct order.
Dell(conf-nprefixl)#seq 20 permit 0.0.0.0/0 le 32
Dell(conf-nprefixl)#seq 12 deny 134.23.0.0 /16
Dell(conf-nprefixl)#seq 15 deny 120.23.14.0 /8 le 16
Dell(conf-nprefixl)#show config
!
ip prefix-list juba
seq 12 deny 134.23.0.0/16
seq 15 deny 120.0.0.0/8 le 16
seq 20 permit 0.0.0.0/0 le 32
Dell(conf-nprefixl)#
NOTE: The last line in the prefix list Juba contains a “permit all” statement. By including this line in a
prefix list, you specify that all routes not matching any criteria in the prefix list are forwarded.
To delete a filter, use the
no seq
sequence-number
command in PREFIX LIST mode.
If you are creating a standard prefix list with only one or two filters, you can let Dell Networking OS assign
a sequence number based on the order in which the filters are configured. The Dell Networking OS
assigns filters in multiples of five.
Access Control Lists (ACLs)
147
Summary of Contents for S4820T
Page 1: ...Dell Configuration Guide for the S4820T System 9 8 0 0 ...
Page 282: ...Dell 282 Control Plane Policing CoPP ...
Page 622: ...Figure 81 Configuring Interfaces for MSDP 622 Multicast Source Discovery Protocol MSDP ...
Page 623: ...Figure 82 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 623 ...
Page 629: ...Figure 86 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 629 ...
Page 630: ...Figure 87 MSDP Default Peer Scenario 3 630 Multicast Source Discovery Protocol MSDP ...
Page 751: ...10 11 5 2 00 00 05 00 02 04 Member Ports Te 1 2 1 PIM Source Specific Mode PIM SSM 751 ...
Page 905: ...Figure 112 Single and Double Tag First byte TPID Match Service Provider Bridging 905 ...
Page 979: ...6 Member not present 7 Member not present Stacking 979 ...
Page 981: ...storm control Storm Control 981 ...
Page 1103: ...Figure 134 Setup OSPF and Static Routes Virtual Routing and Forwarding VRF 1103 ...