
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
Configuring and enabling sFlow
on page 249.
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
on page 256.
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
sFlow and agent address
on
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
sFlow version 5 feature configuration
256
FastIron Ethernet Switch Administration Guide
53-1003625-01
Содержание FastIron
Страница 28: ...Displaying management VRF information 28 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 146: ...Displaying interface level IPv6 settings 146 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 162: ...Example 2 162 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 172: ...Clearing CDP information 172 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 216: ...Clearing cached LLDP neighbor information 216 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 228: ...FastIron Fiber optic Transceivers 228 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 284: ...show sysmon system sfm 284 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 296: ...Syslog messages for hardware errors 296 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 384: ...Displaying information for breakout ports 384 FastIron Ethernet Switch Administration Guide 53 1003625 01...