Tuesday, October 17, 2017

Configure sflow in fortigate firewall

Login to Firewall CLI_Console

FG100E # config system sflow
FG100E (sflow) # set collector-ip 172.16.10.115
FG100E (sflow) # set collector-port 4738
FG100E (sflow) # end
FG100E # config system interface
FG100E (interface) # edit wan2
FG100E (wan2) # set sflow-sampler enable
FG100E (wan2) # set sample-rate 100
FG100E (wan2) # set sample-direction both
FG100E (wan2) # set polling-interval 60
FG100E (wan2) # next
FG100E (interface) # end
FG100E # cfg save
Unknown action 0

To remove configuration.

FG100E # config system sflow
FG100E (sflow) # unset collector-ip
FG100E (sflow) # unset collector-port
FG100E (sflow) # end
FG100E # config system interface
FG100E (interface) # edit wan2
FG100E (wan2) # unset sflow-sampler enable
FG100E (wan2) # unset sample-rate 100
FG100E (wan2) # unset sample-direction both
FG100E (wan2) # unset polling-interval 60
FG100E (wan2) # next
FG100E (interface) # end
FG100E # cfg save
Unknown action 0

No comments:

Post a Comment