45 sflow commands, 1 sflow enable, 2 sflow collector – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 848

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 848 of 855

45 Sflow Commands

45.1 sflow enable

Use this command to enable or disable sFlow globally.

Command Syntax

(no|)sflow enable

sflow: Sampled flow
enable: Enable sFlow services

Command Mode
Global configuration mode

Usage

Before any other sFlow command can be configured, sFlow services must be enabled globally. Use the no
parameter with this command to remove all sFlow configurations and disable sFlow globally.

Examples

This example shows how to enable sFlow services globally.

Switch# configure terminal
Switch (config)# sflow enable

Related Commands

45.2 sflow collector

Use this command to configure sFlow collector.

Command Syntax

(no|)

sflow collector (<1-65535>|)

sflow: Sampled flow
collector: Set sFlow collector
A.B.C.D: Collector IP address
<1-65535>: Collector UDP port number, default is 6343

Command Mode

Global configuration mode

Usage

Use this command to add a collector by specifying the combination of IP address and UDP port. Only up to

Advertising