sflow-show

This command is used to display information about a sFlow agent on the network.

Syntax   sflow-show name name-string [type ingress|egress] [sample-type raw|cooked] ports port-list [sample-rate sample-rate-number] [sample-interval sample-inverval-number] [trunc-length trunc-length-number] [vnet vnet-name] [vlan vlan-id] agent-id ip-address sample-pkt-cnt sample-pkt-cnt-number sample-drops sample-drops-number 

name name-string

Specifies a name for the sFlow collector.

type ingress|egress

Specifies the type of packet for the sFlow agent. Specify ingress to capture incoming packets and egress for outgoing packets.

sample-type raw|cooked

Specifies the sample type for the sFlow agent. Raw indicates that the packet retains the link level header and cooked indicates that link level header is removed.

ports port-list

Specifies the list of ports to capture packets.

sample-rate sample-rate-number

Specifies the rate of packet sampling by the sflow agent.

sample-interval sample-inverval-number

Specifies the interval between packet captures.

trunc-length trunc-length-number

Specifies the truncated length of the captured packet.

vnet vnet-name

Specifies the VNET name.

vlan vlan-id

Specifies the VLAN that applies to the sFlow agent.

agent-id ip-address

Specifies the IP address of the sFlow agent.

sample-pkt-cnt sample-pkt-cnt-number

Specifies the number of sample packets.

sample-drops sample-drops-number

Specifies the number of sample packets dropped.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Version 1.2

Command introduced.

Version 2.1

The parameter, scope, is deprecated. The parameters, sample-pkt-cnt, and sample-drops added.

Version 2.4.1.

The parameter, vnet, added.

Usage   sFlow agents capture packets on the network and send them to the sFlow collector for analysis. Use this command to display information about an sFlow agent.

Examples  To display the sFlow agent, SF-agent1, and display in a vertical format, use the following command:

CLI network-admin@switch > sflow-show name SF-agent1 layout vertical

See Also   

sflow-create

sflow-delete

sflow-collector-create

sflow-collector-delete

sflow-collector-show

sflow-port-add

sflow-port-remove

sflow-port-show (deprecated)