show running-config access-list

Syntax

show running-config access-list [ name ]

Parameters

name
Specifies the name of an access-list.

Modes

Exec mode

Usage Guidelines

You can run this command without specifying a name to display configuration information for all.

Examples

The following example shows configuration information for all configured ACLs.

device# show running-config access-list 
ipv6 access-list ip6-acl 
  seq 10 permit ipv6 2001::1 2001::0 2002::2 2002::0

ip access-list ip-acl 
  seq 20 permit ip 10.0.0.1 255.0.0.0 20.0.0.2 255.0.0.0 

mac access-list L2 

The following example shows configuration for ip6-acl.

device# show running-config access-list ip6-acl
ipv6 access-list ip6-acl 
  seq 10 permit ipv6 2001::1 2001::0 2002::2 2002::0