sFlow | 509
Show sFlow on a Stack Unit
To view sFlow statistics on a specified stack unit, use the following command (Figure 29-4):
Figure 29-4. show sflow stack unit Command Example
Specify Collectors
The sflow collector command allows identification of sFlow collectors to which sFlow datagrams are
forwarded. You can specify up to two sFlow collectors. If you specify two collectors, the samples are sent
to both.
To identify sFlow collectors, use the following command:
Polling Intervals
The sflow polling-interval command configures the polling interval for an interface in the maximum number
of seconds between successive samples of counters to be sent to the collector. This command changes the
global default counter polling (20 seconds) interval. You can configure an interface to use a different
polling interval.
You can configure the polling interval globally (in CONFIGURATION mode) or by interface (in
INTERFACE mode) by executing the following
interval command:
Command Syntax Command Mode Purpose
show sflow stack-unit unit-number EXEC Display sFlow configuration information and statistics on
the specified interface.
Command Syntax Command Mode Usage
sflow collector ip-address agent-addr
ip-address [number
[max-datagram-size number] ] |
[max-datagram-size number ]
CONFIGURATION Identify sFlow collectors to which sFlow datagrams
are forwarded.
Default UDP port: 6343
Default max-datagram-size: 1400
FTOS#show sflow stack-unit 1
Stack-Unit 1
Samples rcvd from h/w :0
Total UDP packets exported :0
UDP packets exported via RPM :0
UDP packets dropped :0
FTOS#