Viewing the content of a specific ACL
Displays a specific IPv6 or IPv4 ACL configured in the running config file in an easy-to-read tabular format.
Syntax:
show access-list
<identifier> [config]
Displays detailed information on the content of a specific ACL configured in the running-config file.
This information also appears in the
show running
display. If you execute
write memory
after configuring an ACL, it also appears in the
show config
display.
For information on IPv4 ACL operation, see the latest version of the ArubaOS-Switch Access Security Guide for your switch.
For example, suppose you configured the following two ACLs in the switch:
Identifier |
Type |
Desired action |
---|---|---|
Accounting |
IPv6 |
|
List-120 |
IPv4 Extended |
|
Use
show access-list
<identifier>
to inspect a specific IPv6 or IPv4 ACL, as follows:
The
show access-list
<identifier> config
command shows the same ACL data as
show access-list
<identifier>
but in the format used by the
show <run|config>
commands to list the switch configuration.
An ACL listed with the config option
Switch(config)# show access-list List–120 config ip access-list extended "List–120" 10 remark "Telnet Allowed" 10 permit tcp 10.30.133.27 0.0.0.0 eq 23 0.0.0.0 255.255.255.255 precedence 0 established 20 deny ip 10.30.133.1 0.0.0.255 0.0.0.0 255.255.255.255 log 30 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 exit