373 
41.2 sflow enable 
Description 
The sflow enable  command is used to enable sFlow function. To disable the 
sFlow function, please use no sflow enable command. 
Syntax 
sflow enable   
no sflow enable 
Command Mode 
Global Configuration Mode 
Privilege Requirement 
Only Admin and Operator level users have access to these commands. 
User Guidelines 
A valid agent address should be assigned to the sFlow agent embedded in the 
switch before you enable the sFlow function. 
Example 
Enable sFlow function globally: 
T2600G-28TS(config)#sflow enable   
41.3 sflow collector collector-ID 
Description 
The sflow collector collector-ID command is used to configure the parameters 
about the sFlow collector. 
Syntax 
sflow collector collector-ID value { [descript descript ] | [ ip ip ] | [ port port ] | 
[ maxData maxData ] | [ timeout timeout ] } 
Parameter 
value  ——  The ID of the sFlow  collector you desire to configure. The value 
ranges from 1 to 4. 
descript  ——Give a description to the sFlow collector,  which contains 16 
characters at most. 
ip ——The IP address of the sFlow collector. The type of the IP address should 
be IPv4, for example 192.168.0.100. 
port ——The number of the udp port which is selected for the sFlow collector.