beautypg.com

Sflow-ports – HP Virtual Connect Flex-10 10Gb Ethernet Module for c-Class BladeSystem User Manual

Page 110

background image

Command line 110

Item

Description

->show sflow-module enc0:1

Displays the specified sflow module

sflow-ports

Configure the ports to be sampled or polled for a receiver.
Supported actions: add, help, remove, set, show

Item

Description

add sflow-ports

Add a port to be sampled or polled for a receiver.

Syntax

add sflow-ports [SamplePorts=

list>[SamplingRates=

list>][Direction=]][PollPorts=

ID list> [PollingIntervals=]]

Parameter

ReceiverName

(required)

Specifies the unique name of the receiver. A valid receiver name can have a

minimum of one character and maximum of 64 characters. Only alphanumeric

characters, -(hyphen), and _(underscore) are allowed. White spaces are not
allowed.

Properties

SamplePorts (optional) Specifies a list of enet module ports to be sampled for flow samples. The ports

are specified as a comma separated list where each port is in the format

:[:].

SamplingRates

(optional)

Specifies the statistical sampling rate of packets on a port. Each sampling rate

has a corresponding port in the SamplePorts list. The valid sampling rate can be

an integer from 256 to 16777216. The default value is 4096.

Direction (optional)

Specifies the direction of the network traffic on the port to be sampled. The valid
values are "Ingress", "Egress", or "Both". The default value is "Both".

PollPorts (optional)

Specifies a list of enet module ports to be polled for counter samples. The ports

are specified as a comma separated list where each port is in the format:
:[:].

PollingIntervals

(optional)

Specifies the polling interval which is the maximum number of seconds between

successive samples of the counters associated with these ports. Each value in the

list of polling interval has a corresponding port in the PollPorts list. The valid
polling interval range is from 1 to 65535 seconds. The default value is "10
seconds". Disable polling on a port using the remove sflow-ports

command.
Configure the module network using the set sflow-module command before

adding the module port for sampling or polling to a receiver.

Examples

->add sflow-ports Alpha

SamplePorts=enc0:1:d1,enc0:2,enc0:1:d3-d10

Samplingrates=256,1024,2048

Direction=IngressPollPorts=enc0:1:d2,enc0:1:d3,enc0:1:d4

PollingIntervals=10,1,5

Adds sample and polling ports

Item

Description

remove sflow-ports

Removes ports from an sflow receiver

Syntax

remove sflow-ports [[SamplePorts=