Skip to main content

sflow configuration

sflow in HP A5120 and HP 5500 Switches.


Today i am going to show you how to enable sflow in HP switches

Lets start !

login to the HP switch and configure the following things as listed.

  • sflow agent 
  • sflow collector
  • sflow flow collector
  • sflow sampling-rate
  • sflow counter collector
Just like this:

[nightread3r]sflow agent ip 192.168.51.98 (Self ip or switch ip)
[nightread3r]sflow collector 1 ip 10.0.0.10 (PRTG server ip) description "CLI collector"

[nightread3r]int GigabitEthernet 1/0/1
[nightread3r-GigabitEthernet1/0/1]sflow sampling-rate 1000
[nightread3r-GigabitEthernet1/0/1]sflow flow collector 1
[nightread3r-GigabitEthernet1/0/1]sflow counter collector 1

and now go to the PRTG server and add the sensor named sflow, like this:





Now wait for a minute so that  sflow sensor will collect the the sflow data after that you can open that:







So you can view the all traffic which have been collected by the flow. now enjoy the sflow traffic.

Demonstrated by :-
Naresh Mahato



Comments

Popular posts from this blog

ArubaOS-CX, ArubaOS- Switch, Comware and Cisco IOS

The command line comparison demonstrated for 4 different OS of the switches, I think this will help you to understand the configuration level deployment. Comware Differences If you are familiar with either the ArubaOS-Switch CLI or the Cisco IOS CLI, you will notice that the  Comware CLI is organized slightly differently . Comware was designed for Internet service providers (ISPs). Many features and functions—such as security and Quality of Service (QoS)—are multi-tiered to  support the different needs of multiple entities accessing the same switch. ArubaOS-CX ArubaOS switch (now the Aruba OS), HPE Comware version 7 Cisco IOS ArubaOS-CX operating system runs on the 8400 and 8320 switches. ArubaOS Switch operating system runs on Aruba 2530 , Aruba 2920 , Aruba 2930F , Aruba 2930M , Aruba 3810M , Aruba 5400R , HPE 2620 , HPE 3500 , HPE 5400 and HPE 3800 switch platforms. HPE Comware7 operating system runs on HPE FF 12900 , HPE 12500 , HPE 5120/5...

HP A5120 Configuration

Today I am going to configure the HP A5120-24G EI Switch. We require the COM1 Port on the system and console cable. The pictures are shown below: COM1: Console Cable: Or You can use converter like this to connect to your laptop USB port : Connect the cable to the console cable with your system and power on the switch and hit Enter Press ENTER to get started,  you will able to see like this: <HPSWITCH> #Apr 26 12:19:44:864 2000 HPSWITCH SHELL/4/LOGIN:  Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console %Apr 26 12:19:44:995 2000 HPSWITCH SHELL/5/SHELL_LOGIN: Console logged in from aux0. <HPSWITCH> <HPSWITCH> As we know that the cisco having three stage to get into the switch console, just like same here. user mode : > privilege mode : # and the global config mode: config# same structures are here but little more differ from the Cisco here we have the user mo...