PREV NEXT INDEX

Avici Systems Inc.


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:

Table 5-6. Fields Displayed by show access lists 
Field Description

Standard/Extended

Type and name of the access list displayed.

permit

Routes that match the match clauses are redistributed according to the conditions defined by the set clauses.

deny

Routes that match the match clauses are denied access.

any

All wildcard bits are set to 255.255.255.255. The statement matches any address.

wildcard bits

Network mask for the associated IP network.

IfName

Specifies the interface to which an access list has been applied.

Dir:

Specifies the direction of the applied access list, i.e. in, control-in, control-out, or mpls.

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


PREV NEXT INDEX

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

Please email suggestions and comments to: doc@avici.com