beautypg.com

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

Page 773

background image

CanogaOS Command Reference

45-1

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

two unique combinations can be allowed to add. Use the no parameter with this command to delete collector.