
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.
Creating a Prefix List Without a Sequence Number
To create a filter without a specified sequence number, use the following commands.
1.
Create a prefix list and assign it a unique name.
CONFIGURATION mode
ip prefix-list
prefix-name
2.
Create a prefix list filter 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 prefix length to be matched (0 to 32).
•
le
max-prefix-length
: is the maximum prefix length to be matched (0 to 32).
Example of Creating a Filter with Dell Networking OS-Assigned Sequence Numbers
The example shows a prefix list in which the sequence numbers were assigned by the software. The filters were assigned sequence
numbers based on the order in which they were configured (for example, the first filter was given the lowest sequence number). The
show config
command in PREFIX LIST mode displays two filters with the sequence numbers 5 and 10.
Dell(conf-nprefixl)#permit 123.23.0.0 /16
Dell(conf-nprefixl)#deny 133.24.56.0 /8
Dell(conf-nprefixl)#show conf
!
ip prefix-list awe
seq 5 permit 123.23.0.0/16
seq 10 deny 133.0.0.0/8
Dell(conf-nprefixl)#
To delete a filter, enter the
show config
command in PREFIX LIST mode and locate the sequence number of the filter you want
to delete, then use the
no seq sequence-number
command in PREFIX LIST mode.
130
Access Control Lists (ACLs)
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...