Parameters
sequence-
number
deny
permit
ip-protocol-
number
icmp
ip
tcp
udp
source
mask
any
host ip-address
operator
port port
Enter a number from 0 to 4294967290.
Enter the keyword deny to configure a filter to drop packets
meeting this condition.
Enter the keyword permit to configure a filter to forward
packets meeting this criteria.
Enter a number from 0 to 255 to filter based on the protocol
identified in the IP protocol header.
Enter the keyword icmp to configure an ICMP access list filter.
Enter the keyword ip to configure a generic IP access list. The
keyword ip specifies that the access list permits all IP protocols.
Enter the keyword tcp to configure a TCP access list filter.
Enter the keyword udp to configure a UDP access list filter.
Enter an IP address in dotted decimal format of the network
from which the packet was received.
(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.
Enter the keyword any to specify that all routes are subject to
the filter.
Enter the keyword host and then enter the IP address to specify
a host IP address or hostname.
(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.)
(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
•
25 = SMTP
•
169 = SNMP
Access Control Lists (ACL)
317