sFlow Show Command Descriptions

This section provides the sFlow show command descriptions.

Command Descriptions

The commands described in this section apply to the 7950 XRS, 7750 SR-12e, and 7750 SR-7/12 platforms.

The command outputs in this section are examples only; actual displays may differ depending on supported functionality and user configuration.

Show Commands

sflow

Syntax 
sflow
Context 
show>sflow
Description 

This command displays the primary and backup receiver statistics, the mapping configuration and a summary of how many ports and SAPs have sFlow enabled.

Show sFlow Output Fields

Table 86 describes the show sflow output fields.

Table 86:  Show Sflow Output Fields  

Label

Description

sFlow Status

Receiver

Displays the configured name for the sFlow receiver.

Max Data Size

The configured maximum data size for sFlow UDP packets.

IP Addr Primary

The primary IP address and destination port for sFlow receiver.

IP Addr Backup

The backup IP address and destination port for sFlow receiver.

Packets Sent

The number of packets sent successfully to the primary or backup receiver destination, since the destination was configured, CPM card HA switchover, or system reboot.

Packet Errors

The number of packets that could not be sent to the primary or backup receiver destination because of an error, since the destination was configured, CPM card HA switchover, or system reboot. An example of an error is destination IP not reachable.

Last Packet Sent

Displays the date and time of the last packet sent.

Counter Pollers

Port

Displays the port on which sFlow is enabled.

No. of SAPs

The number of SAPs on the port with sFlow enabled.

No. of sFlow counter pollers

The number of sFlow counter pollers.

Counter Mappings

Direction

Displays the direction of traffic (ingress or egress) the map entry applies to.

Policer/Queue

Displays the policer or queue instance being mapped by sFlow map.

Traffic type

Displays the type of sFlow traffic statistics (unicast, multicast or broadcast) that the policer/queue maps to.

No. of sFlow counter mappings

The number of entries in the sFlow ingress and egress counter map.

Output 

Sample Output
*B:bkvm10# show sflow
===============================================================================
sFlow Status
===============================================================================
Receiver : pat
Max Data Size : 312
IP Addr Primary : 138.120.142.163:6343
Packets Sent : 2572
Packet Errors : 2
Last Packet Sent : 07/08/2014 22:23:57nt
IP Addr Backup : N/A
Packets Sent : 0
Packet Errors : 0
Last Packet Sent : No Pkts sent
-----------------------------------
Counter Pollers
-----------------------------------
Port No. of SAPs
-----------------------------------
1/1/2 3
1/2/1 0
-----------------------------------
No. of sFlow counter pollers: 2
-----------------------------------
--------------------------------------------------
Counter Mappings
--------------------------------------------------
Direction Policer/Queue Traffic Type
--------------------------------------------------
egress queue 1 unicast
egress queue 5 multicast
egress queue 8 broadcast
ingress policer 1 unicast
ingress policer 6 multicast
ingress policer 12 broadcast
--------------------------------------------------
No. of sFlow counter mappings: 6
--------------------------------------------------
===============================================================================