Users Guide

Layer 3 Routing Commands 1435
Default Configuration
No prefix lists are configured by default.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
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. The
counters are also cleared by the global clear counters command.
Command History
Introduced in version 6.2.0.1 firmware.
Example
console# clear ip prefix-list orange 20.0.0.0 /8
clear ipv6 prefix-list
To reset the IPv6 prefix-list counters, use the clear ipv6 prefix-list command.
Syntax
clear ipv6 prefix-list [list-name | list-name ipv6-prefix/prefix-length]
list-name – (Optional) Name of the IPv6 prefix list from which the hit
count is to be cleared.
ipv6-prefix - An IPv6 network assigned to the specified prefix list. This
argument must be in the form documented in RFC 2373 where the
address is specified in hexadecimal using 16-bit values between 0x00 and
0xff and separated by colons. Counters are cleared only for the matching
prefixes.
prefix-length - The length of the IPv6 prefix given as part of the ipv6-prefix.
Required if a prefix is specified. A decimal value in the range 0 to 128 that
indicates how many of the high-order contiguous bits of the address
comprise the prefix (the network portion of the address) in /length format.
A slash mark must precede the decimal value in /length format.