Configuration Commands 133
Table 155 IPv4 Filter Configuration commands
Command Description
show access-control list <1-
762> ipv4
Displays the current IPV4 parameters.
Command mode: All except User EXEC
ACL TCP/UDP Filter configuration
These commands allow you to define TCP/UDP matching criteria for an ACL. The following table describes the
TCP/UDP Filter Configuration commands.
Table 156 TCP/UDP Filter Configuration commands
Command Description
access-control list <1-762>
tcp-udp source-port <1-
65535> {<port mask>}
Defines a source port for the ACL. If defined, traffic with the specified TCP or
UDP source port will match this ACL. Specify the port number. Listed below are
some of the well-known ports:
Number Name
20 ftp-data
21 ftp
22 ssh
23 telnet
25 smtp
37 time
42 name
43 whois
53 domain
69 tftp
70 gopher
79 finger
80 http
Command mode: Global configuration
access-control list <1-762>
tcp-udp destination-port <1-
65535> {<port mask>}
Defines a destination port for the ACL. If defined, traffic with the specified TCP
or UDP destination port will match this ACL. Specify the port number, just as
with
source-port above.
Command mode: Global configuration
access-control list <1-762>
tcp-udp flags <value (0x0-
0x3f)>
Defines a TCP/UDP flag for the ACL.
Command mode: Global configuration
default access-control list
<1-762> tcp-udp
Resets the TCP/UDP parameters for the ACL to their default values.
Command mode: Global configuration
show access-control list
[<1-762>] tcp-udp
Displays the current TCP/UDP Filtering parameters.
Command mode: All except User EXEC
ACL Packet Format configuration
The following table describes the Packet Format Configuration commands.
Table 157 Packet Format Configuration commands
Command Description
access-control list <1-762>
packet-format ethernet
{ethertype2|snap|llc}
Defines the Ethernet format for the ACL.
Command mode: Global configuration
[no] access-control list <1-762>
packet-format tagged
Defines the tagging format for the ACL.
Command mode: Global configuration
default access-control list <1-
762> packet-format
Resets Packet Format parameters for the ACL to their default values.
Command mode: Global configuration
show access-control list <1-762>
packet-format
Displays the current Packet Format parameters for the ACL.
Command mode: All except User EXEC