Administrator Guide
sFlow on LAG ports
When a physical port becomes a member of a LAG, it inherits the sFlow configuration from the LAG port.
Enabling Extended sFlow
Extended sFlow packs additional information in the sFlow datagram depend on the type of sampled packet. The platform supports
extended-switch information processing only.
Extended sFlow packs additional information in the sFlow datagram depending on the type of sampled packet. You can enable the
following options:
• extended-switch — 802.1Q VLAN ID and 802.1p priority information.
• extended-router — Next-hop and source and destination mask length.
• extended-gateway — Source and destination AS number and the BGP next-hop.
NOTE: The entire AS path is not included. BGP community-list and local preference information are not included. These
fields are assigned default values and are not interpreted by the collector.
• Enable extended sFlow.
sflow [extended-switch] [extended-router] [extended-gateway] enable
By default packing of any of the extended information in the datagram is disabled.
• Confirm that extended information packing is enabled.
show sflow
The bold line shows that extended sflow setting is enabled for extended switch.
DellEMC#show sflow
sFlow services are enabled
Egress Management Interface sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 20
Global default extended maximum header size: 128 bytes
Global extended information enabled: switch
1 collectors configured
Collector IP addr: 100.1.1.1, Agent IP addr: 1.1.1.2, UDP port: 6343 VRF: Default
0 UDP packets exported
3 UDP packets dropped
0 sFlow samples collected
stack-unit 1 Port set 0
Hu 1/2/1: configured rate 131072, actual rate 131072
DellEMC#
If you did not enable any extended information, the show output displays the following (shown in bold).
DellEMC#show sflow
sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 20
Global extended information enabled: none
0 collectors configured
0 UDP packets exported
0 UDP packets dropped
0 sFlow samples collected
0 sFlow samples dropped due to sub-sampling
Important Points to Remember
• To export extended-gateway data, BGP must learn the IP destination address.
• If the IP destination address is not learned via BGP the Dell EMC Networking system does not export extended-gateway data.
• If the IP source address is learned via IGP, srcAS and srcPeerAS are zero.
• The srcAS and srcPeerAS might be zero even though the IP source address is learned via BGP. The c system packs the srcAS and
srcPeerAS information only if the route is learned via BGP and it is reachable via the ingress interface of the packet.
sFlow
791










