show ip prefix-list

This command displays configuration and status for a prefix list.

Format show ip prefix-list [detail | summary] prefix-list-name [network/length] [seq sequence-number] [longer] [first-match]
Mode Privileged EXEC
Parameter Description
detail | summary (Optional) Displays detailed or summarized information about all prefix lists.
prefix-list-name (Optional) The name of a specific prefix list.
network/length (Optional) The network number and length (in bits) of the network mask.
seq (Optional) Applies the sequence number to the prefix list entry.
sequence-number (Optional) The sequence number of the prefix list entry.
longer (Optional) Displays all entries of a prefix list that are more specific than the given network/length.
first-match (Optional) Displays the entry of a prefix list that matches the given network/length.

Acceptable forms of this command are as follows:

  • show ip prefix-list prefix-list-name network/length first-match
  • show ip prefix-list prefix-list-name network/length longer
  • show ip prefix-list prefix-list-name network/length
  • show ip prefix-list prefix-list-name seq sequence-number
  • show ip prefix-list prefix-list-name
  • show ip prefix-list summary
  • show ip prefix-list summary prefix-list-name
  • show ip prefix-list detail
  • show ip prefix-list detail prefix-list-name

The following example shows CLI display output for the command.

(Extreme 220) (Routing) #show ip prefix-list fred
ip prefix-list fred:
   count: 3, range entries: 3, sequences: 5 - 15, refcount: 0
   seq 5 permit 10.10.1.1/20 ge 22
   seq 10 permit 10.10.1.2/20 le 30
   seq 15 permit 10.10.1.2/20 ge 29 le 30

The following example shows CLI display output for the command.

(Extreme 220) (Routing) #show ip prefix-list summary fred
ip prefix-list fred:
   count: 3, range entries: 3, sequences: 5 - 15, refcount: 0

The following example shows CLI display output for the command.

(Extreme 220) (Routing) #show ip prefix-list detail fred
ip prefix-list fred:
   count: 3, range entries: 3, sequences: 5 - 15, refcount: 0
   seq 5 permit 10.10.1.1/20 ge 22 (hitcount: 0)
   seq 10 permit 10.10.1.2/20 le 30 (hitcount: 0)
   seq 15 permit 10.10.1.2/20 ge 29 le 30 (hitcount: 0)