PREV NEXT INDEX

Avici Systems Inc.


show ip access-lists


Displays the contents of one specified IP access list or all IP access lists.

Syntax: show ip access-lists [list-name] [applied]

list-name

Name or number of the access list to display.

Description: Use the show ip access-lists command to display the contents of all IP access lists. Access lists are displayed in alphabetical order by list name.

Use the list-name keyword to display the contents of the specified access list.

Use the show ip 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: Executive and privileged.

Example 1: The following is sample output from the show ip access-list command when no argument is used:

router#show ip access-lists

Standard IP access list ISP_1_outbound

deny any

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

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 ip access-lists command when the list-name keyword is used to display a specific access list:

router#show ip 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 ip access-lists applied command:

router#show ip access-lists applied

ACL:ISP_1 applied on

1xOC-192c: POS 1/5/1, Dir: Inbound Forwarded

1xOC-192c: POS 1/5/1, Dir: Inbound Control

router#

The following table describes the fields in the display:

Table 5-7. Fields Displayed by show ip 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.

wildcard bits

Network mask for the associated IP network.

applied on

Lists the interfaces and configured behaviors for a specified ACL.

Dir:

Specifies the behavior applied to the interface. Possible behaviors are: Inbound Forwarded, Inbound Control, and Outbound Control

Related Commands: access-list
ip access-list
show ip access-lists
show ip as-path-access-list
show ip bgp community
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_Pol43.html
    Last Updated: 05/10/04 at 16:38:37

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