3com S7906E Guide De Référence

Page de 2327
 
1-3 
[Sysname] sflow agent ip 10.10.10.1 
sflow collector ip 
Syntax 
sflow collector ip ip-address [ port portnum ] 
undo sflow collector ip ip-address 
View 
System view 
Default Level 
2: System level 
Parameters 
ip-address: IP address of the sFlow collector. 
port portnum: Port number of the sFlow Collector, which is in the range 1 to 65535 and defaults to 6343. 
Description 
Use the sflow collector ip command to specify the IP address and port number of an sFlow collector. 
Use the undo sflow collector ip command to remove the specified IP address. 
By default, no sFlow collector IP address is specified. 
Note that: 
The sFlow collector and sFlow agent must not have the same IP address. 
Currently, you can specify at most two sFlow collectors, with one as the backup sFlow collector. 
sFlow does not work if no sFlow collector IP address is specified. 
If only one sFlow collector IP address is specified, sFlow does not work after you execute the undo 
sflow collector ip command. 
Examples 
# Specify the IP address and port number of an sFlow collector. 
<Sysname> system-view 
[Sysname] sflow collector ip 10.10.10.2 port 6343 
sflow enable 
Syntax 
sflow enable { inbound | outbound 
undo sflow enable { inbound | outbound 
View 
Interface view 
Default Level 
2: System level