Manoj Reddy's Reference Guide

clear ip wccp

To clear the counter for packets redirected by the Web Cache Control Protocol, use the clear ip wccp EXEC command.

clear ip wccp

Syntax Description

This command has no arguments or keywords.

Command Modes

EXEC

Command History

ReleaseModification
11.2 P, 11.1 CA

This command was introduced.

Usage Guidelines

This command first appeared in Cisco IOS Release and Cisco IOS Release .

The "Packets Redirected" count is displayed by the show ip wccp and show ip wccp web-cachescommands.

Examples

The following is sample output from the show ip wccp web-caches command before and after the clear ip wccp command is used:

Router# show ip wccp web-caches

WCCP Web-Cache information:
        IP Address:            192.168.88.11
        Protocol Version:      1.0
        State:                 Usable
        Initial Hash Info:     AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        Assigned Hash Info:    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                               FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        Hash Allotment:        256 (100.00%)
        Packets Redirected:    21345
        Connect Time:          00:13:46

Router# clear ip wccp
Router# show ip wccp web-caches

WCCP Web-Cache information:
        IP Address:            192.168.88.11
        Protocol Version:      1.0
        State:                 Usable
        Initial Hash Info:     AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
                               AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
        Assigned Hash Info:    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                               FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        Hash Allotment:        256 (100.00%)
        Packets Redirected:    
        Connect Time:          00:13:46

Related Commands

CommandDescription
show ip wccp Displays global statistics related to the Web Cache Control Protocol.
show ip wccp web-caches Displays information about the router's known Cisco Cache Engines.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.