Aruba & ProVision-based
1752568 Members
5162 Online
108788 Solutions
New Discussion

Enable Snmp - Hp Procurve 2848

 
Stipa_IT
Visitor

Enable Snmp - Hp Procurve 2848

Hi All,

 

I dont Know why the snmp doesnt work on my Hp procurve 2848. ( ping and interface web work ! )

 

Here my config ...

 

SW3_STIPA(config)# show config

Startup configuration:

; J4904A Configuration Editor; Created on release #I.10.70

hostname "SW3_STIPA"
snmp-server contact "STIPA"
snmp-server location "Montreuil"
no cdp run
interface 1
   no lacp
exit
......
2 to 44
..... interface 45 name "INTERCO_VERS_SW1" no lacp exit interface 46 name "INTERCO_VERS_SW1" no lacp exit trunk 45-46 Trk2 Trunk ip default-gateway 192.168.12.1 snmp-server community "public" Operator snmp-server community "snmp-private" Operator Unrestricted snmp-server host 192.168.12.230 "public" snmp-server enable traps authentication vlan 1 name "DEFAULT_VLAN" untagged 33-34,36-44,47-48,Trk2 ip address dhcp-bootp no untagged 1-32,35 exit vlan 11 name "VLAN_STIPA" untagged 1-32 no ip address tagged Trk2 exit vlan 12 name "VLAN_PROCESS" untagged 35 ip address 192.168.12.13 255.255.255.0 tagged Trk2 exit vlan 20 name "VLAN_TOIP" ip address 10.0.0.3 255.255.255.0 tagged 1-44,Trk2 exit spanning-tree spanning-tree Trk2 priority 4 spanning-tree priority 4 ip ssh version 1-or-2 password manager

 

On a other server(192.168.12.230)  :

[root@ces:~/09:41:11]# ping -c 1 10.0.0.3
PING 10.0.0.3 (10.0.0.3) 56(84) bytes of data.
64 bytes from 10.0.0.3: icmp_seq=1 ttl=64 time=1.15 ms

--- 10.0.0.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.158/1.158/1.158/0.000 ms
[root@ces:~/09:41:14]# snmpwalk -v 1 -c public 10.0.0.3
Timeout: No Response from 10.0.0.3

 

 

Thanx You for your help !

4 REPLIES 4
Chrisd131313
Trusted Contributor

Re: Enable Snmp - Hp Procurve 2848

Hi Stipa_IT,

 

When you do "show snmp-server" do you see the community strings listed with which traps are enabled, something like this???

 

Switch01# sh snmp-

SNMP Communities

Community Name MIB View Write Access
-------------------------------- -------- ------------
public Operator restricted
private Manager Unrestricted

Trap Receivers

Link-Change Traps Enabled on Ports [All] : All

Traps Category Current Status
_____________________________ __________________
SNMP Authentication : Extended
Password change : Enabled
Login failures : Enabled
Port-Security : Enabled
Authorization Server Contact : Enabled
DHCP-Snooping : Enabled
Dynamic ARP Protection : Enabled
Dynamic IP Lockdown : Enabled
Startup Config change : Disabled
Running Config Change : Disabled
MAC address table changes : Disabled
MAC Address Count : Disabled

Address Community Events Type Retry Timeout
---------------------- ---------------------- -------- ------ ------- -------
x.x.x.x public Not-INFO trap 3 15

 

if not you might need to enable snmp on the switch "snmp-server enable". otherwise you should be good to go.

 

HTH.

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.
Stipa_IT
Visitor

Re: Enable Snmp - Hp Procurve 2848

Here :

 

SW3_STIPA(config)# snmp-server enable
SW3_STIPA(config)# write mem
SW3_STIPA(config)# show snmp-server

 SNMP Communities

  Community Name   MIB View Write Access
  ---------------- -------- ------------
  public           Operator Restricted
  snmp-private     Operator Unrestricted

 Trap Receivers

  Link-Change Traps Enabled on Ports [All] : All

  Send Authentication Traps [No] : No

  Address               Community       Events Sent Notify Type Retry Timeout
  --------------------- --------------- ----------- ----------- ----- -------


 Excluded MIBs


 Snmp Response Pdu Source-IP Information

  Selection Policy   : Default rfc1517

 Trap Pdu Source-IP Information

  Selection Policy   : Default rfc1517


SW3_STIPA(config)# show config

Startup configuration:

; J4904A Configuration Editor; Created on release #I.10.70

hostname "SW3_STIPA"
snmp-server contact "STIPA"
snmp-server location "Montreuil"
no cdp run
interface 1
   no lacp
exit
...
2 to 44
...
interface 45
   name "INTERCO_VERS_SW1"
   no lacp
exit
interface 46
   name "INTERCO_VERS_SW1"
   no lacp
exit
trunk 45-46 Trk2 Trunk
ip default-gateway 192.168.11.1
snmp-server community "public" Operator
snmp-server community "snmp-private" Operator Unrestricted
vlan 1
   name "DEFAULT_VLAN"
   untagged 33-34,36-44,47-48,Trk2
   ip address dhcp-bootp
   no untagged 1-32,35
   exit
vlan 11
   name "VLAN_STIPA"
   untagged 1-32
   ip address 192.168.11.13 255.255.255.0
   tagged Trk2
   exit
vlan 12
   name "VLAN_PROCESS"
   untagged 35
   no ip address
   tagged Trk2
   exit
vlan 20
   name "VLAN_TOIP"
   ip address 10.0.0.3 255.255.255.0
   tagged 1-44,Trk2
   exit
spanning-tree
spanning-tree Trk2 priority 4
spanning-tree priority 4
ip ssh version 1-or-2
password manager

 

Stipa_IT
Visitor

Re: Enable Snmp - Hp Procurve 2848

It s strange ...

SjoerdW
Occasional Visitor

Re: Enable Snmp - Hp Procurve 2848

I had similar issues.

 

You’re requests arrives on VLAN 12, and the Procurve reply’s with the address of VLAN 12 (192.168.12.13) which is not the address you requested.

 

SNMP to ip 192.168.12.13, or add the following to your config:

 

snmp-server response-source 10.0.0.3