Access Control List Commands
4-89
4
This permits all TCP packets from class C addresses 192.168.1.0 with the TCP
control code set to “SYN.”
Related Commands
access-list ip (4-85)
show ip access-list
This command displays the rules for configured IP ACLs.
Syntax
show ip access-list {standard | extended} [acl_name]
standard – Specifies a standard IP ACL.
extended – Specifies an extended IP ACL.
acl_name – Name of the ACL. (Maximum length: 16 characters)
Command Mode
Privileged Exec
Example
Related Commands
permit, deny 4-86
ip access-group (4-94)
access-list ip mask-precedence
This command changes to the IP Mask mode used to configure access control
masks. Use the no form to delete the mask table.
Syntax
[no] access-list ip mask-precedence {in | out}
in – Ingress mask for ingress ACLs.
out – Egress mask for egress ACLs.
Default Setting
Default system mask: Filter inbound packets according to specified IP ACLs.
Console(config-ext-acl)#permit 192.168.1.0 255.255.255.0 any tcp
control-code 2 2
Console(config-ext-acl)#
Console#show ip access-list standard
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.0.0 0.0.15.255
Console#