Page 1 of 1

Configure sFlow - Alcatel

Posted: Tue Jul 27, 2010 2:20 am
by digitoll
Alcatel Documentation

Alcatel Documentation
OmniSwitch CLI Reference Guide --- Cached
OmniSwitch AOS Release 6 Network Configuration Guide --- Cached

sFlow Commands

ip managed-interface {Loopback0 | interface-name} application sflow
sflow agent ip <ip_address>
sflow receiver num name string timeout {seconds | forever} address {ip_address |
ipv6address} udp-port port packet-size size Version num
sflow receiver receiver_index release
sflow sampler num portlist receiver receiver_index rate value sample-hdr-size size
sflow poller num portlist receiver receiver_index interval value

show sflow agent
show sflow receiver [num]
show sflow sampler[num]
show sflow poller [num]
sFlow Overview
 
The following sections detail the specifications, defaults, and quick set up steps for the sFlow feature.
Detailed procedures are found in “sFlow” on page 41-29.
 
sFlow Specifications
sFlow Defaults
The following table shows sFlow default values:
 
RFCs Supported
3176 - sFlow Management Information Base
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Sampling
Sampling rate of one (1) counts all packets and 0 (zero) disables sampling.
Agent IP Address
Configurable using ip managed-interface command.
 
sFlow Defaults
Parameter Description
CLI Command
Default Value/Comments
Receiver Name
sflow agent
Empty
Timeout Value
sflow agent
0 seconds
IP Address
sflow agent
32 bit address (IPv4)
Data File Size
sflow agent
 
Version Number
sflow agent
51400 Bytes
Destination Port
sflow agent
6343
Receiver Index
sflow sampler
0
Packet Sampling Rate
sflow sampler
0
Sampled Packet Size
sflow sampler
128 Bytes
Receiver Index
sflow poller
0
Interval Value
sflow poller
0 seconds
 
Quick Steps for Configuring sFlow
Follow the steps below to create a sFlow receiver session.
1.      To create a sFlow receiver session, use the sflow agent command by entering sflow receiver, followed by the receiver index, name, and the address to be monitored. For example:
 
-> sflow receiver 1 name Golden address 198.206.181.3
 
2.     Optional. Configure optional parameters. For example, to specify the timeout value “65535” for sFlow receiver session on address 198.206.181.3, enter:
 
-> sflow receiver 1 name Golden address 198.206.181.3 timeout 65535
 
Note. Optional. To verify the sFlow receiver configuration, enter show sflow receiver, followed by the
sFlow receiver index. The display is similar to the one shown below:
 
-> show sflow receiver
Receiver 1
Name = Golden
Address = IP_V4 198.206.181.3
UDP Port = 6343
Timeout = 65535
Packet Size= 1400
DatagramVer= 5
For more information about this command, see “sFlow” on page 41-29 or the “sFlow Commands” chapter
in the OmniSwitch CLI Reference Guide.
 
Follow the steps below to create a sFlow sampler session.
1.     To create a sFlow sampler session, use the sflow sampler command by entering sflow sampler, followed by the instance ID, port list, receiver, and the rate. For example:
 
-> sflow sampler 1 2/1-5 receiver 1 rate 2048

 
2.     Optional. Configure optional parameters. For example, to specify the sample-hdr-size value “128” for sFlow sampler instance 1 on ports 2/1-5, enter:
 
-> sflow sampler 1 2/1-5 receiver 1 rate 2048 sample-hdr-size 128
 
Note. Optional. To verify the sFlow sampler configuration, enter show sflow sampler, followed by the
sFlow sampler instance ID. The display is similar to the one shown below:
 
-> show sflow sampler 1
 
Instance      Interface     Receiver      Sample-rate   Sample-hdr-size
---------------------------------------------------------------------
1             2/ 1          1             2048          128
1             2/ 2          1             2048          128
1             2/ 3          1             2048          128
1             2/ 4          1             2048          128
1             2/ 5          1             2048          128
 
For more information about this command, see “sFlow” on page 41-29 or the “sFlow Commands” chapter
in the OmniSwitch CLI Reference Guide.
 
Follow the steps below to create a sFlow poller session.
 
1.     To create a sFlow poller session, use the sflow poller command by entering sflow poller, followed by the instance ID, port list, receiver, and the interval. For example:
 
-> sflow poller 1 2/6-10 receiver 1 interval 30
 
Note. Optional. To verify the sFlow poller configuration, enter show sflow poller, followed by the sFlow poller instance ID. The display is similar to the one shown below:\
 
-> show sflow poller
Instance Interface Receiver Interval
-------------------------------------------
1        2/ 6      1        30
1        2/ 7      1        30
1        2/ 8      1        30
1        2/ 9      1        30
1        2/ 10     1        30
 
For more information about this command, see “sFlow” on page 41-29 or the “sFlow Commands” chapter in the OmniSwitch CLI Reference Guide.