Configuration procedure – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 2091
sFlow Introduction and Configuration
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
80.11
Configuration Procedure
The following steps apply the settings obtained in the previous section.
Step 1:
Configure the switch-wide sFlow
Step 2:
Configure the sFlow Collector Settings
Step 3:
Configure the sFlow Agent Settings
Enable sFlow on the switch
awplus#
configure terminal
Enter Global Configuration Mode
awplus(config)#
sflow enable
Enable the sFlow agent globally on the switch
Set the sFlow collector max-datagram size
awplus(config)#
sflow collector max-datagram-
size 1200
Set the maximum size of the sFlow
datagrams to 1200 bytes.
Set the sFlow collector (address)
awplus#
configure terminal
Enter Global Configuration Mode.
awplus(config)#
sflow collector ip 192.0.2.65
Set the sFlow collector address to
192.0.2.65
Set the sFlow agent (address)
awplus(config)#
sflow agent ip 192.0.2.33
Set the sFlow agent address to
192.0.2.33
Set the sFlow sampling rate on sFlow Source Ports
awplus(config)#
interface port1.0.13-port1.0.22
Select the port range to configure (ports
1.0.13 to 1.0.22).
awplus(config-if)#
sflow sampling-rate 2750
Set the sampling rate on the selected
ports.