Administrator Guide
• Only egress sampling is supported.
• The system exports all sFlow packets to the collector. A small sampling rate can equate to many exported packets. A backoff
mechanism is automatically applied to reduce this amount. Some sampled packets may be dropped when the exported packet rate is
high and the backoff mechanism is about to or is starting to take effect. The dropEvent counter, in the sFlow packet, is always zero.
• Community list and local preference fields are not filled in extended gateway element in the sFlow datagram.
• 802.1P source priority field is not filled in extended switch element in sFlow datagram.
• Only Destination and Destination Peer AS number are packed in the dst-as-path field in extended gateway element.
• If the packet being sampled is redirected using policy-based routing (PBR), the sFlow datagram may contain incorrect extended
gateway/router information.
• The source virtual local area network (VLAN) field in the extended switch element is not packed in case of routed packet.
• The destination VLAN field in the extended switch element is not packed in a Multicast packet.
Enabling and Disabling sFlow
By default, sFlow is disabled globally on the system.
Use the following command to enable sFlow globally.
• Enable sFlow globally.
CONFIGURATION mode
[no] sflow enable
Enabling and Disabling sFlow on an Interface
By default, sFlow is disabled on all interfaces.
This CLI is supported on physical ports and link aggregation group (LAG) ports.
To enable sFlow on a specific interface, use the following command.
• Enable sFlow on an interface.
INTERFACE mode
[no] sflow enable
To disable sFlow on an interface, use the no version of this command.
sFlow Show Commands
You can display sFlow statistics at the switch, interface, and line card level.
• Displaying Show sFlow Globally
• Displaying Show sFlow on an Interface
• Displaying Show sFlow on a Line Card
Displaying Show sFlow Global
To view sFlow statistics, use the following command.
• Display sFlow configuration information and statistics.
EXEC mode
show sflow
The first bold line indicates sFlow is globally enabled. The second bold lines indicate sFlow is enabled on linecards Te 1/16 and Te 1/17.
Dell#show sflow
sFlow services are enabled
Global default sampling rate: 32768
Global default counter polling interval: 20
1 collectors configured
Collector IP addr: 133.33.33.53, Agent IP addr: 133.33.33.116, UDP port: 6343
77 UDP packets exported
0 UDP packets dropped
165 sFlow samples collected
sFlow
855