sflow-show
Use this command to display information about a sFlow Agent on the network.
Syntax sflow-show
name name-string |
The sFlow name. |
type ingress|egress |
The sFlow type for the sFlow agent. Specify ingress to capture incoming packets, and egress for outgoing packets. |
sample-type raw|cooked |
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 |
The sFlow ports. |
sample-rate 256-16000 |
The sFlow sample rate. |
counter-polling-interval 0..120 |
The sFlow interface stats-counter polling interval. |
trunc-length trunc-length-number |
The truncated length of the sFlow sample. |
agent-id ip-address |
The local IP address. |
sample-pkt-cnt sample-pkt-cnt-number |
The sFlow sample packet count. |
sample-drops sample-drops-number |
The sFlow sample dropped packets. |
malformed-packet-drops malformed-packet-drops-number |
The sFlow malformed packet drops. |
malformed-vlan-packet-drops malformed-vlan-packet-drops-number |
The sFlow malformed vlan packet drops. |
malformed-ip-packet-drops malformed-ip-packet-drops-number |
The sFlow malformed ip packet drops. |
internal-q-drops internal-q-drops-number |
The sFlow internal Q drops. |
oversize-packet-drops oversize-packet-drops-number |
The sFlow over size packet drops. |
internal-nq-drops internal-nq-drops-number |
The sFlow internal nQ drops |
Defaults None.
Access CLI
History
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 parametersample-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