show as-path-access-list
To display the contents of all current autonomous system (AS) path access lists, use the show as-path-access-list command in user EXEC or privileged EXEC mode
show as-path-access-list [ name ]
Syntax Description
name |
(Optional) Specifies the AS path access list name.. |
Command Default
If the name argument is not specified, command output is displayed for all AS path access lists.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode |
Firewall Mode |
Security Context |
|||
---|---|---|---|---|---|
Routed |
Transparent |
Single |
Multiple |
||
Context |
System |
||||
Privileged EXEC, User EXEC |
|
|
|
|
|
Examples
The following is sample output from the show as-path-access-list command:
ciscoasa# show as-path-access-list
AS path access list as-path-acl-1
deny RTR$
AS path access list as-path-acl-2
permit 100$
<xref> shows each field description.
Field |
Description |
---|---|
AS path access list |
Indicates the AS path access list name. |
deny |
Indicates the number of packets that are rejected since the regular expression failed to match the representation of the AS path of the route as an ASCII string. |
permit |
Indicates the number of packets that are forwarded since the regular expression matched the representation of the AS path of the route as an ASCII string. |