Install guide
Filtering IP Routes show ip aspathlist 2-73
Software Version 2.7.5
C613-10454-00 REV A
show ip aspathlist
Syntax SHow IP ASPATHlist[=1..99]
Description This command displays information about a specific AS path list or all lists in
the router or switch (Figure 2-2, Table 2-5 ).
Figure 2-2: Example output from the show ip aspathlist command
Examples To display AS path list number 23, use the command:
sh ip aspath=23
Related Commands add ip aspathlist
delete ip aspathlist
IP AS path lists
List Entry Regular expression
------------------------------------------
1 1 Include ^$
2 Exclude .*
------------------------------------------
34 1 Exclude ^123
2 Include 345 234.+123
3 Exclude .*
------------------------------------------
Table 2-5: Parameters in the output of the show ip aspathlist command
Parameter Meaning
List AS path list number from 1 to 99.
Entry Entry in the AS path list from 1 to the number of entries in the list.
Regular expression AS path regular expression for this entry. This is preceded by
“exclude” or “include” to indicate what the router or switch does
when there is a a match. For a description of regular expressions, see
Table 2-1 on page 2-9.