cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10605
Views
0
Helpful
4
Replies

is there a way to view the SNMP community string

Steveosh72
Beginner
Beginner

Is there a command that will show you the SNMP community string that is used on a 2960X switch?

 

we have switches that are being monitored by Solarwinds, and I am looking to find the community string that is used .

 

thanks

 

 

4 Replies 4

Wes Austin
Cisco Employee
Cisco Employee

The 'public' community string should be visible when you run 'show snmp community' command.

 

This documentation outlines how to set it up.

 

Catalyst 2960-X Switch Network Management Configuration Guide

it lists Community Name : XXXXX

Community index: XXXXX

Comunnity SecurityName: XXXXX

storage-type: nonvolatile    active access-list:  44

 

which would be community stirng?

It is not hard coded on 2960. I just created my own, 'public' and 'wes' as a test.

 

WS-C2960X-48FPD#config t
Enter configuration commands, one per line. End with CNTL/Z.
WS-C2960X-48FPD(config)#snmp-server community wes

WS-C2960X-48FPD(config)#snmp-server community public
WS-C2960X-48FPD(config)#exit

WS-C2960X-48FPD#show snmp community

 

<snip>

Community name: public
Community Index: public
Community SecurityName: public
storage-type: nonvolatile active


Community name: public@1
Community Index: public@1
Community SecurityName: public
storage-type: read-only active


Community name: public@1002
Community Index: public@1002
Community SecurityName: public
storage-type: read-only active


Community name: public@1003
Community Index: public@1003
Community SecurityName: public
storage-type: read-only active


Community name: public@1004
Community Index: public@1004
Community SecurityName: public
storage-type: read-only active


Community name: public@1005
Community Index: public@1005
Community SecurityName: public
storage-type: read-only active


Community name: wes
Community Index: wes
Community SecurityName: wes
storage-type: nonvolatile active


Community name: wes@1
Community Index: wes@1
Community SecurityName: wes
storage-type: read-only active


Community name: wes@1002
Community Index: wes@1002
Community SecurityName: wes
storage-type: read-only active


Community name: wes@1003
Community Index: wes@1003
Community SecurityName: wes
storage-type: read-only active


Community name: wes@1004
Community Index: wes@1004
Community SecurityName: wes
storage-type: read-only active


Community name: wes@1005
Community Index: wes@1005
Community SecurityName: wes
storage-type: read-only active

what does all the "@1000..." behind community string means?

Getting Started

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: