
Example of the
seq
Command
When you create the filters with a specific sequence number, you can create the filters in any order and the filters are placed in the
correct order.
NOTE: When assigning sequence numbers to filters, you may have to insert a new filter. To prevent reconfiguring multiple
filters, assign sequence numbers in multiples of five or another number.
The example below shows how the
seq
command orders the filters according to the sequence number assigned. In the example,
filter 15 was configured before filter 5, but the
show config
command displays the filters in the correct order.
Dell(config-ext-nacl)#
seq 15 deny ip host 112.45.0.0 any log
Dell(config-ext-nacl)#
seq 5 permit tcp 12.1.3.45 0.0.255.255 any
Dell(config-ext-nacl)#show confi
!
ip access-list extended dilling
seq 5 permit tcp 12.1.0.0 0.0.255.255 any
seq 15 deny ip host 112.45.0.0 any log
Dell(config-ext-nacl)#
Configuring Filters Without a Sequence Number
If you are creating an extended ACL 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. Dell Networking OS assigns filters in multiples of five.
To configure a filter for an extended IP ACL without a specified sequence number, use any or all of the following commands:
•
Configure a deny or permit filter to examine IP packets.
CONFIG-EXT-NACL mode
{deny | permit} {
source mask
| any | host
ip-address
} [count [byte]] [order] [fragments]
•
Configure a deny or permit filter to examine TCP packets.
CONFIG-EXT-NACL mode
{deny | permit} tcp {
source mask
] | any | host
ip-address
}} [count [byte]] [order]
[fragments]
•
Configure a deny or permit filter to examine UDP packets.
CONFIG-EXT-NACL mode
{deny | permit} udp {
source mask
| any | host
ip-address
}} [count [byte]] [order]
[fragments]
When you use the
log
keyword, the CP logs details about the packets that match. Depending on how many packets match the log
entry and at what rate, the CP may become busy as it has to log these packets’ details. The following example shows an extended IP
ACL 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 IP ACCESS LIST mode displays the two filters with the sequence numbers 5 and 10.
Example of Viewing Filter Sequence for a Specified Extended ACL
Dell(config-ext-nacl)#deny tcp host 123.55.34.0 any
Dell(config-ext-nacl)#permit udp 154.44.123.34 0.0.255.255 host 34.6.0.0
Dell(config-ext-nacl)#show config
!
ip access-list extended nimule
seq 5 deny tcp host 123.55.34.0 any
seq 10 permit udp 154.44.0.0 0.0.255.255 host 34.6.0.0
Dell(config-ext-nacl)#
To view all configured IP ACLs and the number of packets processed through the ACL, use the
show ip accounting access-
list
command in EXEC Privilege mode, as shown in the first example in
Configure a Standard IP ACL Filter
124
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 ...