Solved

Cisco SNMP

Posted on 2010-09-09
6
1,119 Views
Last Modified: 2012-05-10
I have Cisco 2811/1841 Routers and Cisco 2906 switches (24/48port). I am looking to enable SNMP on them. Either SNMPv2 or SNMPv3. I need to find documentation on this and any step by step advice would be a real help.
0
Comment
Question by:Vincent D
6 Comments
 

Expert Comment

by:feliciogs
ID: 33642782
The article http://itknowledgeexchange.techtarget.com/network-technologies/how-to-secure-snmp-in-cisco-switches-and-routers/ contains good samples and takes care of security too.

If you need to avoid any access-list/security issue just remove the access-list number on the end of snmp commands.
0
 
LVL 8

Accepted Solution

by:
ludo_friend earned 500 total points
ID: 33644142
snmp can be a few things... here is the top 3 :)

v2c is far simpler to set up than v3, if you're new to it, I'd recommend starting here and moving to v3 later.

1. if you just want to run something to monitor the counters on each port (mrtg, cactus etc..)

ip access-list 1 permit ip host 1.1.1.1 !  ip of server running mrtg
snmp-server community public RO 1

2. if you want to have RW access, the above applies, but it is highly recommended that you use another community name other than public (long and random is good)

3. if you want to set up SNMP traps (send alerts to a NMS)
snmp-server enable traps
snmp-server host 1.1.1.1 public ! ip of NMS

I'm happy to explain further if you need.
0
 
LVL 8

Expert Comment

by:ludo_friend
ID: 33644146
^^

2. if you want to have RW access, the above applies, but it is highly recommended that you use another community name other than public (long and random is good)
ip access-list 1 permit ip host 1.1.1.1 !  ip of server running mrtg
snmp-server community somethingrandom RW 1


0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 4

Expert Comment

by:Muhammed-Rummaneh
ID: 33645323

Dear Cicio7777

I solved this Problem before ...please check this link

http://www.experts-exchange.com/Hardware/Networking_Hardware/Q_26111619.html

Thanks
0
 

Author Comment

by:Vincent D
ID: 33646535
OK "ludo friend",

I am interested in setting up v2c for now and I will work on v3 later.

So on every switch and router I want to monitor are these the commands I need to enter in privledged mode?

snmp-server community somethingrandom1 RO 1
snmp-server community somethingrandom2 RW 1
snmp-server enable traps
snmp-server host "ip of NMS server"
0
 
LVL 8

Expert Comment

by:ludo_friend
ID: 33652528
if you're just monitoring... use the below - the rest are for traps or snmp write access

access-list 1 permit host 1.1.1.1
snmp-server community somethingrandom1 RO 1
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Layer 2 versus layer 3 10 116
Switch ports not working 8 54
VLAN Overused monitor 4 34
Cisco 800 router unable to connect through TPG network 12 23
It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

860 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