02-13-2019 08:00 AM
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
02-13-2019 08:10 AM
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
02-13-2019 08:15 AM
it lists Community Name : XXXXX
Community index: XXXXX
Comunnity SecurityName: XXXXX
storage-type: nonvolatile active access-list: 44
which would be community stirng?
02-13-2019 09:01 AM - edited 02-13-2019 09:02 AM
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
11-14-2023 05:06 AM
what does all the "@1000..." behind community string means?
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: