3com S7906E Guide De Référence

Page de 2327
 
1-4 
Parameters 
inbound: Samples inbound packets. 
outbound: Samples outbound packets. 
Description 
Use the sflow enable command to enable sFlow in the inbound or outbound direction on the port. 
Use the undo sflow enable command to disable sFlow in the inbound or outbound direction on the 
port. 
sFlow is disabled by default. 
If you want to enable sFlow on an aggregation group, you need to enable sFlow on each member port. 
Examples 
# Enable sFlow in the outbound direction on GigabitEthernet 2/0/1. 
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] sflow enable outbound 
sflow interval 
Syntax 
sflow interval interval-time 
undo sflow interval 
View 
System view 
Default Level 
2: System level 
Parameters 
interval-time: Counter sampling interval in seconds, in the range 2 to 200. 
Description 
Use the sflow interval command to configure the counter sampling interval. 
Use the undo sflow interval command to restore the default interval. 
By default, the sampling interval is 20 seconds. 
Examples 
# Configure the counter sampling interval as 50 seconds. 
<Sysname> system-view 
[Sysname] sflow interval 50