-
Notifications
You must be signed in to change notification settings - Fork 55
/
INSTALL.EOS
35 lines (28 loc) · 972 Bytes
/
INSTALL.EOS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
! To install hsflowd on an Arista Networks switch running EOS, the following CLI commands can be used.
! In this example we are installing hsflowd version 2.0.9-1 and sending sFlow to 10.0.0.160:
enable
copy https://github.com/sflow/host-sflow/releases/download/v2.0.9-1/hsflowd-eos-2.0.9-1.i686.rpm extension:
! install and start rpm
extension hsflowd-eos-2.0.9-1.i686.rpm
bash sudo service hsflowd start
! install on reboot too
copy installed-extensions boot-extensions
! allow local EAPI access via unix socket
config term
management api http-commands
protocol unix-socket
no shutdown
exit
! trigger start on reboot
event-handler hsflowd
trigger on-boot
action bash sudo service hsflowd start
delay 60
asynchronous
exit
! config sFlow - hsflowd will detect and use this too
sflow source-interface Management1
sflow destination 10.0.0.160
sflow sample dangerous 1000
sflow polling-interval 20
sflow run