cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5631
Views
0
Helpful
2
Replies

SNMP Configuration

Andy Emerine
Level 1
Level 1

I need help configuring SNMP Community Strings for the following Cisco devices, 2960X & 3850 for the Collector.

2 Replies 2

StevePetryschuk
Level 1
Level 1

Here's the KB for 2960X - https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/network_management/configuration_guide/b_nm_15ex_2960-x_cg/b_nm_15ex_2960-x_cg_chapter_0100.html#task_BBC527F034B94EB1BFE37A4E219952DD

 

Pretty straight forward:

> configure terminal

> snmp-server community string [view view-name] [ro | rw] [access-list-number]

> access-list access-list-number {deny | permit} source [source-wildcard]

> end

 

3850 instructions are here - https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/snmp/configuration/xe-3se/3850/snmp-xe-3se-3850-book/nm-snmp-snmpv2c.html

 

If you've already started the config and are having problems getting it to communicate with your SNMP manager, drop the current SNMP config in here to take a deeper look.

Network Management @ Auvik - https://auvik.com/try

Hi Andy,

 

actually SNMP config in your both switches are similar. here are commands that you need to set:

first you need to config your community, for example it should be like this:

switch(config)#snmp-server community test1 ro 69

"test1" is community string that you can change it to whatever you want

"ro" means Read Only, if you want set the permission to Read and Write you should change it to "rw"

"69" is access list number, which is optional, but for security reason its better to config it.

 

then you should config your access list 

switch(config)#access-list 69 permit host 1.1.1.1

instead of 1.1.1.1 should be the IP of your SNMP Server

also you can set the snmp host

switch(config)#snmp-server host 1.1.1.1 test1

instead of test1 you should set your community string, so these are commands that you need:

 

switch(config)#snmp-server community test1 ro 69

switch(config)#access-list 69 permit host 1.1.1.1

switch(config)#snmp-server host 1.1.1.1 test1

 

 

Please rate if it was helpful.

 

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:

Review Cisco Networking products for a $25 gift card