cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1316
Views
0
Helpful
3
Replies

SNMP Configuration question

I have a question.If i have a SNMP configuration in a switch 4510r, is there any posibility to reach the snmp server without the community command and without the server snmp command??????I have only this lines on the configuration.THANKSSS.

snmp-server engineID local 8000000903000025841E8C38

snmp-server trap-source Vlan10

snmp-server source-interface informs Vlan10

snmp-server packetsize 1024

snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart

snmp-server enable traps config-copy

snmp-server enable traps config

snmp-server enable traps config-ctid

snmp-server enable traps syslog

3 Replies 3

AFROJ AHMAD
Cisco Employee
Cisco Employee

HI,

No it's not possible to reach to the SNMP Server without SNMP-SERVER command.

Thanks

Afroj

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

If i have configured the communities and the server lines on the device, what could be the possible issue when the SNMP server reach the switch but the switch doesn´t respond to the request, and when i use the command #show snmp, we have an output in this way:THANKS FOR YOUR HELP

switch#show snmp

Chassis:

Contact: GISN Americas Network - tel: 978-858-7000

0 SNMP packets input

    0 Bad SNMP version errors

    0 Unknown community name

    0 Illegal operation for community name supplied

    0 Encoding errors

    0 Number of requested variables

    0 Number of altered variables

    0 Get-request PDUs

    0 Get-next PDUs

    0 Set-request PDUs

    0 Input queue packet drops (Maximum queue size 1000)

145568 SNMP packets output

    0 Too big errors (Maximum packet size 1024)

    0 No such name errors

    0 Bad values errors

    0 General errors

    0 Response PDUs

    145568 Trap PDUs

SNMP global trap: enabled

SNMP agent enabled

SNMP logging: enabled

    Logging to 131.98.27.6.162, 0/10, 34282 sent, 0 dropped.

    Logging to 192.97.141.173.162, 0/10, 1721 sent, 0 dropped.

    Logging to 192.97.141.176.162, 0/10, 1721 sent, 0 dropped.

    Logging to 192.97.141.55.162, 0/10, 1721 sent, 0 dropped.

Arturo

From the output it is clear that your device is sending traps and this indicates that the snmp-server host commands are correctly configured. It does not appear that your device has recognized any SNMP input from the server. I can think of a couple of reasons why this may be the case:

- perhaps the server has not discovered the device? If the server has not discovered the device then it will not send SNMP polls to the device.

- perhaps the SNMP community configured on the device does not match the community used on the server.

- perhaps you have configured an access list to be used with the community and the access list does not permit this server address?

HTH

Rick

HTH

Rick