Install guide
Filtering IP Routes show ip prefixlist 2-75
Software Version 2.7.5
C613-10454-00 REV A
show ip prefixlist
Syntax SHow IP PREFIXList[=name]
Description This command displays information about prefix lists on the router or switch.
If you specify a prefix list name, detailed information about that prefix list and
its entries is displayed (Figure 2-5, Table 2-8). Otherwise, summary information
about all existing prefix lists is displayed (Figure 2-4, Table 2-7).
Figure 2-4: Example summary output from the show ip prefixlist command
Figure 2-5: Example detailed output from the show ip prefixlist command
IP Prefix Lists
Name Entries In Use
------------------------------------
Sample 11 Yes
Test 3 No
------------------------------------
Table 2-7: Parameters in the output of the show ip prefixlist command
Parameter Meaning
Name The name of the prefix list.
Entries The number of entries in the prefix list.
In Use Whether the prefix list is currently assigned to a route map.
IP Prefix List
---------------------------------------------------------------------
Name ................... Sample
In Use ................. Yes
Entries:
Number Action Prefix Length Range
------------------------------------------------------------------
1 Match 192.168.0.0 16
3 No Match 0.0.0.0 25-30
10 No Match 10.10.10.0 24-30
------------------------------------------------------------------
Table 2-8: Parameters in the detailed output of the show ip prefixlist command
Parameter Meaning
Name Name of the prefix list.
In Use Whether the prefix list is currently assigned to a route map.
Number The entry number of the prefix list entry. The router or switch checks
entries in order, starting with the lowest entry number.
Action Whether the prefix list includes (“match”) or excludes (“nomatch”)
any prefix that is within the entry’s prefix range.
Prefix IP network address for the entry to match on.
Length Range Range of CIDR mask lengths that the entry can match on.