BLADE OS™ Application Guide HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Version 5.1 Advanced Functionality Software

Table Of Contents
BLADE OS 5.1 Application Guide
BMD00113, September 2009 Appendix A: Troubleshooting 255
sFlow Example Configuration
1. Specify the location of the sFlow analyzer (the server and optional port to which the sFlow
information will be sent):
By default, the switch uses established sFlow service port 6343.
To disable sFlow features across all ports, use the /cfg/sys/sflow/dis command.
2. On a per-port basis, define the statistics polling rate:
Specify a polling rate between 5 and 60 seconds, or 0 to disable. By default, polling is 0 (disabled)
for each port.
3. On a per-port basis, define the data sampling rate:
Specify a sampling rate between 256 and 65535 packets, or 0 to disable. By default, polling is 0
(disabled) for each port.
4. Apply and save the configuration.
>> # /cfg/sys/sflow/saddress <IP address> (sFlow server)
>> sFlow# sport <service port> (Set the optional service port)
>> sFlow# ena (Enable sFlow features)
>> sFlow# port <port number> (Select the port)
>> sFlow Port# polling <polling rate> (Statistics polling rate)
>> sFlow Port# sampling <sampling rate> (Data sampling rate)