Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

seq

Assign a sequence number to a deny or permit filter in an extended IP access list while creating the filter.

Syntax
seq sequence-number {deny | permit} {ip-protocol-number | icmp | ip | tcp | udp} {source mask | any | host ip-address} {destination mask | any | host ip-address} [operator [portnumber ]] [ttl operator] [count [byte] | log] [dscp value] [ecn value] [fragments] [monitor [session-ID]] [no-drop] [order]
Parameters
sequence-number
Enter a number from 0 to 4294967290.
deny
Enter the keyword deny to configure a filter to drop packets meeting this condition.
permit
Enter the keyword permit to configure a filter to forward packets meeting this criteria.
ip-protocol-number
Enter a number from 0 to 255 to filter based on the protocol identified in the IP protocol header.
icmp
Enter the keyword icmp to configure an ICMP access list filter.
ip
Enter the keyword ip to configure a generic IP access list. The keyword ip specifies that the access list permits all IP protocols.
tcp
Enter the keyword tcp to configure a TCP access list filter.
udp
Enter the keyword udp to configure a UDP access list filter.
source
Enter an IP address in dotted decimal format of the network from which the packet was received.
mask
(OPTIONAL) Enter a network mask in /prefix format (/x) or A.B.C.D. The mask, when specified in A.B.C.D format, may be either contiguous or non-contiguous.
any
Enter the keyword any to specify that all routes are subject to the filter.
host ip-address
Enter the keyword host and then enter the IP address to specify a host IP address or hostname.
operator
(OPTIONAL) Enter one of the following logical operands:
  • eq = equal to
  • neq = not equal to
  • gt = greater than
  • lt = less than
  • range = inclusive range of ports (you must specify two ports for the port parameter.)
portnumber
(OPTIONAL) Enter the application layer port number. Enter two port numbers if you are using the range logical operand. The range is from 0 to 65535.
The following list includes some common TCP port numbers:
  • 23 = Telnet
  • 20 and 21 = FTP-DATA and FTP
  • 25 = SMTP
  • 169 = SNMP
destination
Enter the IP address of the network or host to which the packets are sent.
ttl
Enter the keyword ttl to permit or deny a packet based on the time to live value. The range is from 1 to 255.
operator
Enter one of the following logical operand:
  • eq(equal to) — matches packets that contain a ttl value that is equal to the specified ttl value.
  • neq(not equal to) — matches packets that contain a ttl value that is not equal to the specified ttl value.
  • gt(greater than) — matches packets that contain a ttl value that is greater than the specified ttl value.
  • lt (less than) — matches packets that contain a ttl value that is less than the specified ttl value.
  • range(inclusive range of values) — matches packets that contain a ttl value that falls between the specified range of ttl values.
count
(OPTIONAL) Enter the keyword count to count the packets.
bytes
(OPTIONAL) Enter the keyword bytes to count the bytes.
log
(OPTIONAL) Enter the keyword log to enter ACL matches in the log.
dscp
(OPTIONAL) Enter the keyword dcsp to match to the IP DSCP values. The range is from 0 to 63.
ecn
(OPTIONAL) Enter the keyword ecn to match to the ECN values. The range is from 0 to 3.
order
(OPTIONAL) Enter the keyword order to specify the QoS order for the ACL entry. The range is from 0 to 254 (where 0 is the highest priority and 254 is the lowest; lower-order numbers have a higher priority). If you do not use the keyword order, the ACLs have the lowest order by default (255).
monitor
(OPTIONAL) Enter the keyword monitor then the session–ID to describe the traffic that you want to monitor and the ACL in which you are creating the rule is applied to the monitored interface. The session–ID range is from 0 to 65535.
NOTE: For more information, see “Flow-based Monitoring” in the Port Monitoring section of the Dell EMC Networking OS Configuration Guide.
fragments
Enter the keyword fragments to use ACLs to control packet fragments.
no-drop
Enter the keywords no-drop to match only the forwarded packets.
Defaults
Not configured
Command Modes
CONFIGURATION-EXTENDED-ACCESS-LIST
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.12(0.0)
Introduced the ttl parameter.
9.11(2.0P0)
Included support for using logical names of a protocol to configure an IP access list in both TCP and UDP on the S6000, S6000–ON, S6100–ON, Z9100–ON.
9.11(0.0)
Added support for session–ID to the monitor parameter.
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.8(0.0)
Added the no-drop parameter.
9.7(0.0)
Introduced on the S6000–ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.3.1.0
Add the DSCP value for ACL matching.
8.2.1.0
Allows ACL control of fragmented packets for IP (Layer 3) ACLs.
8.1.1.0
Introduced on the E-Series.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
7.4.1.0
Added support for the non-contiguous mask and added the monitor option. Deprecated the keyword established.
6.5.10
Expanded to include the optional QoS order priority for the ACL entry.
Usage Information

The monitor option is relevant in the context of flow-based monitoring only. For more information, refer to Port Monitoring.

The order option is relevant in the context of the Policy QoS feature only. The following applies:
  • The seq sequence-number command is applicable only in an ACL group.
  • The order option works across ACL groups that are applied on an interface via the QoS policy framework.
  • The order option takes precedence over seq sequence-number.
  • If you do not configure sequence-number, the rules with the same order value are ordered according to their configuration order.
  • If you configure sequence-number, the sequence-number is used as a tie breaker for rules with the same order.

When you use the log option, the CP processor 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.

If you configure the sequence-number, the sequence-number is used as a tie breaker for rules with the same order.

NOTE: When you configure ACL logging and byte counters simultaneously, byte counters may display an incorrect value. Configure packet counters with logging instead.
Related Commands
  • deny — configure a filter to drop packets.
  • permit — configure a filter to forward packets.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\