Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual page 247

Catalyst 6000 series software configuration guide
Hide thumbs Also See for WS-X6066-SLB-APC - Content Switching Module:
Table of Contents

Advertisement

Chapter 13
Configuring CEF for PFC2
Clearing All NetFlow Statistics
To clear all NetFlow IP and IPX statistics, perform this task in privileged mode:
Task
Clear all NetFlow statistics.
This example shows how to clear all NetFlow statistics:
Console> (enable) clear mls statistics entry all
All MLS IP and IPX entries cleared.
Console> (enable)
Clearing NetFlow IP Statistics
The clear mls statistics entry ip command clears NetFlow IP statistics. Use the all keyword to clear all
NetFlow IP statistics. The destination and source keywords specify the source and destination IP
addresses. The destination and source ip_addr_spec can be a full IP address or a subnet address in the
format ip_subnet_addr, ip_addr/subnet_mask, or ip_addr/subnet_mask_bits.
The flow keyword specifies the following additional flow information:
To clear statistics for a NetFlow table IP entry, perform this task in privileged mode:
Task
Clear statistics for a NetFlow table IP
entry.
This example shows how to clear statistics for NetFlow table entries with destination IP address
172.20.26.22:
Console> (enable) clear mls statistics entry ip destination 172.20.26.22
MLS IP entry cleared
Console> (enable)
This example shows how to clear statistics for NetFlow table entries with destination IP address
172.20.22.113, TCP source port 1652, and TCP destination port 23:
Console> (enable) clear mls statistics entry destination 172.20.26.22 source 172.20.22.113
flow tcp 1652 23
MLS IP entry cleared
Console> (enable)
78-13315-02
Protocol family (protocol)—Specify tcp, udp, icmp, or a decimal number for other protocol
families. A value of zero (0) for protocol is treated as a wildcard (unspecified options are treated as
wildcards).
TCP or UDP source and destination port numbers (src_port and dst_port)—If the protocol you
specify is TCP or UDP, specify the source and destination TCP or UDP port numbers. A value of
zero (0) for src_port or dst_port is treated as a wildcard (unspecified options are treated as
wildcards). For other protocols, set the src_port and dst_port to 0, or no entries will clear.
Command
clear mls statistics entry all
Command
clear mls statistics entry ip [destination ip_addr_spec]
[source ip_addr_spec] [flow protocol src_port dst_port]
[all]
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Configuring NetFlow Statistics
13-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents