show access-lists
Displays contents of all access lists or one specified access list.
Syntax: show access-lists [access-list-name] [applied]
access-list-name
Name of a defined access list.
Description: Use the show access-lists command with no keyword to display the contents of all defined access lists.
Use the access-list-name keyword to display a specified access list.
Use the show access-lists applied command to display the ACLs that have been applied to an interface and the configured behavior per interface.
Factory Default: None.
Command Mode: Privileged.
Example 1: The following is sample output from the show access-lists command:
router#show access-lists
Standard IP access list ISP_1_outbound
permit 204.146.3.53
permit 204.146.40.4
permit 204.146.40.70
permit 205.70.0.0, wildcard bits 0.0.255.255
permit 47.45.0.0, wildcard bits 0.0.31.255
permit 47.48.0.0, wildcard bits 0.0.255.255
deny any
Extended IP access list ISP_2_inbound
deny any 0.0.0.0 252.0.0.0
deny any 255.255.255.128 0.0.0.127
deny 205.70.0.0 0.0.255.255 255.255.0.0 255.255.0.0
deny 47.0.0.0 0.255.255.255 255.0.0.0 255.0.0.0
permit any 0.0.0.0
Example 2: The following is sample output from the show access-lists command using the access-list-name keyword:
router#show access-lists ISP_1_outbound
Standard IP access list ISP_1_outbound
permit 204.146.3.53
permit 204.146.40.4
permit 204.146.40.70
permit 205.70.0.0, wildcard bits 0.0.255.255
permit 47.45.0.0, wildcard bits 0.0.31.255
permit 47.48.0.0, wildcard bits 0.0.255.255
deny any
Example 3: The following is sample output from the show access-lists applied command:
router#show access-lists applied
ACL: netflow applied on
IfName: POS 1/6/1, Dir: Inbound Forwarded IP
IfName: POS 1/6/1, Dir: Inbound Control
router#
The following table describes the fields in the display:
Related Commands: access-list
ip access-list
show ip access-lists
show ip as-path-access-list
show ip bgp community-list
show ip community-list
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Routing_Pol.fm
HTML File Name: Routing_Pol42.html
Last Updated: 05/10/04 at 16:38:37