clear ip prefix-list

To reset IP prefix-list counters, use the clear ip prefix-list command in Privileged EXEC mode. This command is used to clear prefix-list hit counters. The hit count is a value indicating the number of matches to a specific prefix list entry.

Format clear ip prefix-list [prefix-list-name] [network/length]]
Mode Privileged EXEC
Parameter Description
prefix-list-name (Optional) Name of the prefix list from which the hit count is to be cleared.
network/length (Optional) Network number and length (in bits) of the network mask. If this option is specified, hit counters are only cleared for the matching statement.

The following shows an example of the command.

(Extreme 220) (Routing) # clear ip prefix-list orange 20.0.0.0/8