Excluding Ip Protocol Entries From The Netflow Table; Displaying Netflow Statistics - Cisco WS-X6066-SLB-APC - Content Switching Module Software Manual

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
To set the minimum NetFlow statistics flow mask, perform this task in privileged mode:
Task
Set the minimum statistics flow mask.
This example shows how to set the minimum statistics flow mask to destination-source-ip:
Console> (enable) set mls flow destination-source
Configured IP flow mask is set to destination-source flow.
Console> (enable)

Excluding IP Protocol Entries from the NetFlow Table

You can configure the NetFlow table to exclude specified IP protocols.
To exclude IP protocols from the NetFlow table, perform this task in privileged mode:
Task
Exclude IP protocols from the NetFlow
table.
The port parameter can be a port number or a keyword: dns, ftp, smtp, telnet, x (X-Windows), or www.
This example shows how to exclude Telnet traffic from the NetFlow table:
Console> (enable) set mls exclude protocol tcp telnet
NetFlow table will not create entries for TCP packets with protocol port 23.
Note: MLS exclusion only works in full flow mode.
Console> (enable)

Displaying NetFlow Statistics

Note
To display the forwarding decision entries, enter the show mls entry cef command (see the
"Displaying Layer 3-Switching Entries on the Supervisor Engine" section on page
To display a summary of NetFlow table entries and statistics, perform this task in privileged mode:
Task
Display all NetFlow table entries and
statistics.
This example shows how to display all NetFlow table entries:
Console> (enable) show mls
show mls
=======
Total packets switched = 2
Total bytes switched = 112
Total routes = 48
78-13315-02
Command
set mls flow {destination | destination-source | full}
Command
set mls exclude protocol {tcp | upd | both} port
Command
show mls
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Configuring NetFlow Statistics
13-12.)
13-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents