A
CCESS
C
ONTROL
L
IST
C
OMMANDS
23-2
IPv4 ACLs
The commands in this section configure ACLs based on IPv4 addresses,
TCP/UDP port number, protocol type, and TCP control code. To
configure IPv4 ACLs, first create an access list containing the required
permit or deny rules, and then bind the access list to one or more ports
Table 23-2 IPv4 ACL Commands
Command Function Mode Page
access-list ip Creates an IPv4 ACL and enters
configuration mode for standard or
extended IPv4 ACLs
GC 23-3
permit, deny Filters packets matching a specified
source IPv4 address
IPv4-
STD-ACL
23-4
permit, deny Filters packets meeting the specified
criteria, including source and
destination IPv4 address, TCP/UDP
port number, protocol type, and TCP
control code
IPv4-
EXT-ACL
23-5
show ip access-list Displays the rules for configured IPv4
ACLs
PE 23-7
ip access-group Adds a port to an IPv4 ACL IC 23-8
show ip
access-group
Shows port assignments for IPv4
ACLs
PE 23-8