Show Access-Lists - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

show access-lists

show access-lists
Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured
on the switch.
Syntax Description
name
number
| begin
| exclude
| include
expression
Command Modes
Privileged EXEC
Command History
Release
12.1(6)EA2
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show access-lists command:
Switch# show access-lists
Standard IP access list testingacl
Standard IP access list wizard_1-1-1-2
Extended IP access list 103
Extended IP access list CMP-NAT-ACL
Catalyst 2950 Desktop Switch Command Reference
2-134
show access-lists [name | number] [ | {begin | exclude | include} expression]
Modification
This command was first introduced.
permit 10.10.10.2
permit 1.1.1.2
permit tcp any any eq www
Dynamic Cluster-HSRP deny
Dynamic Cluster-NAT permit ip any any
permit ip host 10.123.222.192 any
permit ip host 10.228.215.0 any
permit ip host 10.245.137.0 any
permit ip host 10.245.155.128 any
permit ip host 10.221.111.64 any
permit ip host 10.216.25.128 any
permit ip host 10.186.122.64 any
permit ip host 10.169.110.128 any
permit ip host 10.146.106.192 any
(Optional) Name of the ACL.
(Optional) ACL number. The range is from 1 to 2699.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
ip any any
Chapter 2 Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents