Reference Guide
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.
• Up to 700 packets are sampled and processed per second.
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.
Enabling sFlow Max-Header Size Extended
To configure the maximum header size of a packet to 256 bytes, use the following commands:
• Set the maximum header size of a packet.
CONFIGURATION mode
INTERFACE mode
sflow max-header-size extended
By default, the maximum header size of a packet is 128 bytes. When sflow max-header-size
extended
is enabled, 256 bytes are copied. These bytes are useful for VxLAN, NvGRE, IPv4, and IPv6
tunneled packets.
870
sFlow










