?
Solved

SNMP v3

Posted on 2009-02-18
8
Medium Priority
?
1,655 Views
Last Modified: 2012-05-06
I am trying to configure a Cisco 3750 running 12.2 (44) to use SNMP v3. I have followed a number of configuration documents readily available on the Web, but am unable to send SNMP v3 traps to my Network Management System (NMS)

Ethereal shows no SNMP v3 packets are being received by hardware hosting NMS

A bullet-point list of each snmp-server commands, and any other associated commands (if any) would be most welcome
0
Comment
Question by:viborg86
  • 5
  • 3
8 Comments
 
LVL 8

Expert Comment

by:API_NOC
ID: 23669958
What output do you get when you do the command: show snmp
0
 

Author Comment

by:viborg86
ID: 23670703
Output of show snmp - IP addresses have been replaced with x.x.x.x

Switch>enable            
Switch#show snmp                
Chassis: CAT0912Z06C                    
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)                                                        
0 SNMP packets output                    
    0 Too big errors (Maximum packet size 1500)                                              
    0 No such name errors                        
    0 Bad values errors                      
    0 General errors                    
    0 Response PDUs                  
    0 Trap PDUs              
SNMP global trap: enabled                        

SNMP logging: enabled
    Logging to x.x.x.x.162, 0/10, 0 sent, 0 dropped.

SNMP Manager-role output packets
    0 Get-request PDUs
    0 Get-next PDUs
    0 Get-bulk PDUs
    0 Set-request PDUs
    0 Inform-request PDUs
    0 Timeouts
    0 Drops
SNMP Manager-role input packets
    0 Inform request PDUs
    0 Trap PDUs
    0 Response PDUs
    0 Responses with errors

SNMP informs: enabled
    Informs in flight 0/25 (current/max)
    Logging to x.x.x.x.162
        0 sent, 0 in-flight, 0 retries, 0 failed, 0 dropped
SNMP agent enabled
Switch#
0
 
LVL 8

Expert Comment

by:API_NOC
ID: 23671150
Everything looks good with that. Do you have logging turn on on the switch? When you do a show logging do you see any messages?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:viborg86
ID: 23672109
I see plenty of messages when I run show logging, but no recent time stamps

How do I check logging is enabled?
If not enabled, what command do I need to run to enable logging
0
 
LVL 8

Accepted Solution

by:
API_NOC earned 375 total points
ID: 23672787
logging buffered
logging trap debugging
logging source-interface Loopback0 (or whichever interface you have setup)

snmp-server community public (not public but something) RO
snmp-server trap-source
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps config
snmp-server enable traps syslog
0
 

Author Comment

by:viborg86
ID: 23673991
Many thanks
Will try latest advice during Thursday morning

Can't recall seeing the following line whilst I have been debugging problem:

snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
0
 

Author Comment

by:viborg86
ID: 23679081
I entered latest set of command on to my SNMP, alas I am still not getting SNMP v3 traps

We were able to send v2c prior to configuring switch to send SNMP v3???
0
 

Author Closing Comment

by:viborg86
ID: 31548684
Switch is now sending SNMP v3 traps
I backed-out all snmp-server setting, but switch still would not send SNMP v3 traps. So (using my Windows troubleshooting skills) I power reset switch and it now sends SNMP v3 traps

Many thanks for your prompt responses during Wednesday
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month16 days, 9 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question