3com S7906E Guide De Référence

Page de 2327
 
1-5 
sflow sampling-mode 
Syntax 
sflow sampling-mode { determine | random } 
undo sflow sampling-mode 
View 
Interface view 
Default Level 
2: System level 
Parameters 
determine: Indicates to sample a fixed number of packets. 
random: Indicates to sample packets randomly. 
Description 
Use the sflow sampling-mode command to specify the packet sampling mode. 
Use the undo sflow sampling-mode command to restore the default. 
By default, the packet sampling mode is random
Note that this command should be used after sFlow is enabled on the current port. 
 
 
Currently, the determine mode is not supported on S7900E series Ethernet switches. 
 
Examples 
# Specify the sFlow sampling mode as random on GigabitEthernet 2/0/1. 
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] sflow enable inbound 
[Sysname-GigabitEthernet2/0/1] sflow sampling-mode random 
sflow sampling-rate 
Syntax 
sflow sampling-rate rate 
undo sflow sampling-rate 
View 
Interface view