cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
498
Views
0
Helpful
1
Replies

Getting SNMP to work for the first time.

MacGyver0099
Level 1
Level 1

Hi,

I just set up SNMP with the following commands to talk to an snmp server, which one of our programmers is setting up for me.  I need to know if these are right, and if so, do we need to do anything at the other end in particular.  Right now, he is just setting up the application on a server which is directly connected to the switch we are testing.

ciscoEnvMonTemperatureStatusEntry.6 = NULL TYPE/VALUE

snmp-server community G@TGR1BBB7fr RO
snmp-server community G@TGR1BBB7fw RW
snmp-server trap-source Vlan1
snmp-server location Texas
snmp-server enable traps snmp linkdown linkup coldstart warmstart
snmp-server host 10.2.5.240 version 2c G@TGR1BBB7fr
snmp ifmib ifindex persist

Here is the result of the debug...,

Aug 16 17:38:05.769: SNMP: Packet sent via UDP to 10.2.5.240
Aug 16 17:38:05.769: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:09.775: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:10.194: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:10.194: SNMP: Get request, reqid 419080222, errstat 0, erridx 0
 ifInOctets.10001 = NULL TYPE/VALUE
Aug 16 17:38:10.194: SNMP: Response, reqid 419080222, errstat 0, erridx 0
 ifInOctets.10001 = NO_SUCH_INSTANCE_EXCEPTION
Aug 16 17:38:10.199: SNMP: Packet sent via UDP to 10.2.5.240
Aug 16 17:38:10.199: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:10.928: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:10.928: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:10.986: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:10.996: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:14.205: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:14.944: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:14.944: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:15.002: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:15.002: SNMP: Packet received via UDP from 10.2.5.240 on Vlan1
Aug 16 17:38:38.601: SNMP: Packet received via UDP from 10.2.63.2 on Vlan1
Aug 16 17:38:38.606: SNMP: Get-bulk request, reqid 1372896732, nonrptr 0, maxreps 3
 ciscoMgmt.221.1.1.1.1.3 = NULL TYPE/VALUE
Aug 16 17:38:38.606: SNMP: Response, reqid 1372896732, errstat 0, erridx 0
 clagAggDistributionProtocol.0 = 2
 clagAggDistributionAddressMode.0 = 1
 clagAggProtocolType.10101 = 2

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

What is the application you are trying to connect to?