ACL Commands
77 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
2
Examples
Example 1:
switchxxxxxx# show interfaces access-lists trapped packets
Ports/LAGs: gi11-gi13, ch1-ch3, ch4
VLANs: VLAN1, VLAN12-VLAN15
Packets were trapped globally due to lack of resources
Example 2:
switchxxxxxx# show interfaces access-lists trapped packets
gi1
1
Packets were trapped on interface gi11
2.20 ip access-list (IP standard)
Use the ip access-list Global Configuration mode command to define an IP
standard list. The no format of the command removes the list.
Syntax
ip access-list
access-list-name
{deny|permit} {
src-addr
[/
src-len
] | any}
no ip access-list
access-list-name
Parameters
• access-list-name—The name of the Standard IP access list. The name may
contain maximum 32 characters.
• deny/permit—Denies/permits access if the conditions are matched.
-
src-addr
[/
src-len
] | any— IP prefix defined as an IP address and length or
any. The any value matches all IP addresses. If
src-len
is not defined, a
value of 32 is applied. A value of
src-len
must be in the interval 1-32.
Default Configuration
No access list is defined.