sflow-show
This command is used to display information about a sFlow Agent on the network.
Syntax sflow-show
name name-string |
Displays the sFlow name. |
type ingress|egress |
Displays the sFlow type for the sFlow agent. Specify ingress to capture incoming packets and egress for outgoing packets. |
sample-type raw|cooked |
Displays 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 |
Displays the sFlow ports. |
sample-rate 256-16000 |
Displays the sFlow sample rate. |
counter-polling-interval 0..120 |
Displays the sFlow interface stats-counter polling interval. |
trunc-length trunc-length-number |
Displays the truncated length of the sFlow sample. |
agent-id ip-address |
Displays the local IP address. |
sample-pkt-cnt sample-pkt-cnt-number |
Displays the sFlow sample packet count. |
sample-drops sample-drops-number |
Displays the sFlow sample dropped packets. |
malformed-packet-drops malformed-packet-drops-number |
Displays the sFlow malformed packet drops. |
malformed-vlan-packet-drops malformed-vlan-packet-drops-number |
Displays the sFlow malformed vlan packet drops. |
malformed-ip-packet-drops malformed-ip-packet-drops-number |
Displays the sFlow malformed ip packet drops. |
internal-q-drops internal-q-drops-number |
Displays the sFlow internal Q drops. |
oversize-packet-drops oversize-packet-drops-number |
Displays the sFlow over size packet drops. |
internal-nq-drops internal-nq-drops-number |
Displays the sFlow internal nQ drops |
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. |
Version 6.1.0 |
The parameters, counter-polling-interval, malformed-packet-drops, malformed-vlan-packet-drops, malformed-ip-packet-drops, internal-q-drops, oversize-packet-drops, and internal-nq-drops are added. The parameter,sample-interval is deprecated. |
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
switch: switch
name: SF-agent1
type: ingress
sample-type: raw
ports: 25
sample-rate: 1
trunc-length: 160
vnet-id: 0:0
vlan: 0
agent-id: 10.14.22.100
sample-pkt-cnt: 66798
sample-drops: 0
invalid-vlan-drops: 0
malformed-packet-drops: 0
malformed-vlan-packet-drops: 0
v6-packet-drops: 0
malformed-ip-packet-drops: 0
internal-q-drops: 0
oversize-packet-drops: 0
internal-nq-drops: 0