04-01-2012 11:49 PM
Hi,
I have a device Cat 3560. I have defined the SNMP Community Strings as shown in the config. But I Add the device in "CA Spectrum" it fails.
The device responds on ICMP protocol but fails on SNMP protocol. The device is directly accessable through directly connected switch.
Please suggest the wayforward.
++++++++++++++++++
++++++++++++++++++
logging trap notifications
logging facility local4
logging source-interface Vlan739
logging 172.18.64.44
logging 10.3.13.105
logging 10.3.12.86
access-list 10 permit 172.18.64.44
access-list 10 remark *** Control VTY Access ***
access-list 10 permit 10.124.9.32 0.0.0.31
access-list 10 permit 10.137.2.0 0.0.0.255
access-list 100 permit tcp host 10.67.67.70 eq ftp host 10.16.5.100
access-list 100 permit tcp host 10.67.67.70 eq ftp-data host 10.16.5.100
access-list 100 permit tcp host 10.67.67.70 eq ftp host 10.16.5.102
access-list 100 permit tcp host 10.67.67.70 eq ftp-data host 10.16.5.102
access-list 100 permit tcp host 10.67.67.73 eq ftp host 10.16.5.100
access-list 100 permit tcp host 10.67.67.73 eq ftp-data host 10.16.5.100
access-list 100 permit tcp host 10.67.67.73 eq ftp host 10.16.5.102
access-list 100 permit tcp host 10.67.67.73 eq ftp-data host 10.16.5.102
access-list 100 permit tcp host 10.67.67.74 eq ftp host 10.16.5.100
access-list 100 permit tcp host 10.67.67.74 eq ftp-data host 10.16.5.100
access-list 100 permit tcp host 10.67.67.74 eq ftp host 10.16.5.102
access-list 100 permit tcp host 10.67.67.74 eq ftp-data host 10.16.5.102
snmp-server community telenorreadaccess RO
snmp-server community TPisb RO
snmp-server community bl!rusba RO management_hosts
snmp-server community Rid!TraW RW management_hosts
snmp-server community pOe{UnAp RW
snmp-server community telenorwriteaccess RW
snmp-server community public RO
snmp-server community private RW
snmp-server community telenorreadaccess@es0 RO
snmp-server community telenorwriteaccess@es0 RW
snmp-server tftp-server-list management_hosts
snmp-server location GreenField
snmp-server ip precedence 2
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps cluster
snmp-server enable traps entity
snmp-server enable traps cpu threshold
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps port-security
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps config
snmp-server enable traps hsrp
snmp-server enable traps bridge newroot topologychange
snmp-server enable traps stpx root-inconsistency loop-inconsistency
snmp-server enable traps syslog
snmp-server enable traps mac-notification change move threshold
snmp-server enable traps vlan-membership
snmp-server host 10.7.14.98 version 2c TPisb
snmp-server host 10.124.9.42 bl!rusba
snmp-server host 10.124.9.43 bl!rusba
snmp-server host 10.7.14.199 bl!rusba
snmp-server host 10.124.1.40 pOe{UnAp
snmp-server host 10.124.9.40 pOe{UnAp
snmp-server host 10.124.9.41 pOe{UnAp
snmp-server host 10.124.9.50 pOe{UnAp
snmp-server host 10.124.9.51 pOe{UnAp
snmp-server host 172.18.64.1 version 2c telenorreadaccess
snmp-server file-transfer access-group management_hosts protocol tftp
snmp ifmib ifindex persist
++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++
04-02-2012 12:23 AM
Hi Taimoor,
First thing to check is if port is open between your server and device. SNMP needs UDP/161 port to be open to respond.
Secondly try to do any generic snmpwalk on device from your NMS server and see if the show snmp has increased counters to verify the packets are reaching and snmp is not responding.
Third try to restart the snmp Daemon, as that fixes the issues most of the time when snmp process isn't responding. To restart snmp process use command :
#no snmp-server
Followed by any snmp related command. Try entering any command which was already on config. This will not impact any previous configuration. Restarting snmp does not removes your existing snmp configuration.
See example:
NMS-WL-6500(config)#no snmp-serv
NMS-WL-6500(config)#snmp-server contact test123
NMS-WL-6500(config)#do sh log | i %SNMP-5
Apr 2 12:45:52: %SNMP-5-WARMSTART: SNMP agent on host NMS-WL-6500 is undergoing a warm start
-Thanks
Vinod
04-02-2012 08:12 AM
Hi,
I did have the same issue with my C3560X, but i managed to solve the case. some hint for you:
1. Please limit maximum community string around 11 character with only 1 special character
2. Given to specific IOS, SNMP agent will not automatically started when the devices boot-up without SNMP-SERVER configuration file (*this is mentioned within release note), and you probably need to reboot your device
3. Please user free SNMP tools to test community string. Solarwind provide free-tool for it
Regards,
Rano
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: