Administrator Guide

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.
Access Control Lists (ACL) 211