Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
sFlow
Diagnosing Switch Problems
page 45-30
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Sampler
The sampler is the module which gets hardware sampled from Q-Dispatcher and fills up the sampler part 
of the UDP datagram.
Poller
The poller is the module which gets counter samples from Ethernet driver and fills up the counter part of 
the UDP datagram.
Configuring a sFlow Session
To configure a sFlow receiver session, use the 
 command by entering sflow receiver, followed 
by the receiver_index, name, the name of the session and address, and the IP address of the switch to be 
monitored.
For example, to configure receiver session 6 on switch 10.255.11.28, enter:
-> sflow receiver 6 name sflowtrend address 10.255.11.28
In addition, you can also specify optional parameters shown in the table below. These parameters can be 
entered after the IP address.
For example, to configure sFlow receiver session 6 on switch 10.255.11.28 and to specify the packet-size 
and timeout value, enter:
-> sflow receiver 6 name sflowtrend address 10.255.11.28 packet-size 1400 time-
out 600
To configure a sFlow sampler session, use the 
 command by entering sflow sampler
followed by the instance ID number, the slot number of the port to be monitored, a slash (/), and the port 
number and receiver, the receiver_index.
For example, to configure sampler session 1 on port 2/3, enter:
-> sflow sampler 1 2/3 receiver 6
In addition, you can also specify optional parameters shown in the table below. These parameters can be 
entered after the receiver index.
For example, to configure sFlow sampler session 1 on port 2/3 and to specify the rate and sample-hdr-size, 
enter:
-> sflow sampler 1 2/3 receiver 6 rate 512 sample-hdr-size 128
keywords
timeout
forever
udp-port
packet-size
version
keywords
rate
sample-hdr-size