Specifying A Protocol Filter; Specifying Protocols For Statistics Collection; Removing Protocols For Statistics Collection - 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

Configuring NDE

Specifying a Protocol Filter

To specify a protocol filter, perform this task in privileged mode:
Task
Specify a protocol filter for an NDE
flow.
This example shows how to specify a protocol filter so that only expired flows from protocol 17 are
exported:
Console> (enable) set mls nde flow protocol 17
Netflow Data Export filter successfully set.
Protocol filter is 17
Filter type: include
Console> (enable)

Specifying Protocols for Statistics Collection

You can enter the set mls statistics protocol protocol port command to specify up to 64 different
protocols for which to collect statistics to be exported using NDE. The protocol argument can be ip,
ipinip, icmp, igmp, tcp, and udp, or a decimal number for other protocol families. The port argument
specifies the protocol port.
To specify protocols for statistics collection, perform this task in privileged mode:
Task
Specify protocols for statistics
collection.
This example shows how to specify a protocol for statistics collection:
Console> (enable) set mls statistics protocol 17 1934
Protocol 17 port 1934 is added to protocol statistics list.
Console> (enable)

Removing Protocols for Statistics Collection

You can enter the clear mls statistics protocol {protocol port | all} command to specify up to
64 different protocols for which to collect statistics to be exported using NDE. The protocol argument
can be tcp, udp, icmp, or a decimal number for other protocol families. The port argument specifies the
protocol port. Use the all keyword to remove all protocols for statistics collection.
To remove protocols for statistics collection, perform this task in privileged mode:
Task
Remove protocols for statistics
collection.
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
15-8
Command
set mls nde flow protocol protocol
Command
set mls statistics protocol protocol port
Command
clear mls statistics protocol {protocol port | all}
Chapter 15
Configuring NDE
78-13315-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents