sFlow version 5 feature configuration
To enable sFlow forwarding on a trunk port, enter commands such as the following.
device(config)#sflow enable
device(config)#trunk e 4/1 to 4/8
device(config-trunk-4/1-4/8)#config-trunk-ind
device(config-trunk-4/1-4/8)#sflow forwarding e 4/2
These commands globally enable sFlow, then enable sFlow forwarding on trunk port e 4/2. You must
use both the sflow enable and sflow forwarding commands to enable the feature.
Syntax: [no] sflow enable
Syntax: [no] sflow forwarding
sFlow version 5 feature configuration
NOTE
The commands in this section are supported when sFlow version 5 is enabled on the device. These
commands are not supported with sFlow version 2. sFlow version 5 also supports all of the sFlow
configuration commands in
When sFlow version 5 is enabled on the device, you can do the following:
• Specify the sFlow version (version 2 or version 5)
• Specify the sFlow agent IP address
• Specify the maximum flow sample size
• Export CPU and memory usage Information to the sFlow collector
• Specify the polling interval for exporting CPU and memory usage information to the sFlow collector
• Export CPU-directed data (management traffic) to the sFlow collector
Egress interface ID for sampled broadcast and multicast packets
For broadcast and multicast traffic, the egress interface ID for sampled traffic is always 0x80000000.
When broadcast and multicast packets are sampled, they are usually forwarded to more than one port.
However, the output port field in an sFlow datagram supports the display of one egress interface ID
only. Therefore, the sFlow version 5 agent always sets the output port ID to 0x80000000 for broadcast
and multicast packets that are sampled.
Specifying the sFlow version format
If your device supports sFlow version 5, you can optionally specify the version used for exporting
sFlow data. Refer
Specifying the sFlow agent IP address
The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the
device (the sFlow agent) that sent the data. By default, the device automatically selects the sFlow
agent IP address based on the configuration, as described in the section
page 247. Alternatively, you can configure the device to instead use an arbitrary IPv4 or IPv6 address
as the sFlow agent IP address.
To specify an IPv4 address as the sFlow agent IP address, enter a command such as the following
device(config)#sflow agent-ip 10.10.10.1
256
Configuring and enabling sFlow
Specifying the sFlow agent IP address
on page 249.
on page 256.
sFlow and agent address
FastIron Ethernet Switch Administration Guide
on
53-1003625-01
Need help?
Do you have a question about the FastIron and is the answer not in the manual?