DGS-6604 m show access-list
CLI Reference Guide
577
show access-list
Use this command to display the access-list configuration.
show access-list [ ip NAME | mac NAME | ipv6 NAME]
Default None
Command Mode User EXEC or any configuration mode
Usage Guideline The detailed content for an access list is only shown for a specific access-list by
using the NAME argument to identify it.
Examples This example provides a listing for all access lists.
This example shows the content for IP access-list R&D.
Syntax Description
ip (Optional) Specifies to display a listing for all ip access-lists.
mac (Optional) Specifies to display a listing for all mac access-lists.
ipv6 (Optional) Specifies to display a listing for all ipv6 access-lists.
NAME Specifies to display the content of the access-list identified by this NAME string.
Up to 32 characters are allowed.
Switch#show access-list
access-list name access-list type
-------------------------------- ----------------
rd-mac-acl mac ext-acl
simple-ip-aclip ip acl
rd-ip-acl ip acl
simple-rd-aclip ip ext-acl
ip6-acl ipv6 ext-acl
Total Entries : 5
Switch#
Switch# show access-list ip R&D
10 permit tcp any 10.20.0.0 255.255.0.0
20 permit tcp any host 10.100.1.2
30 permit icmp any any