We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Restart SNMP service on Cisco Router

ProVal
ProVal asked
on
Medium Priority
8,571 Views
Last Modified: 2012-05-11
Can anyone give me command for restarting snmp service on Cisco router?
Comment
Watch Question

Top Expert 2011
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
SouljaSr.Net.Eng
CERTIFIED EXPERT
Top Expert 2011

Commented:
no snmp-server

then

snmp-server

Commented:
Hello,

Can you be more specific about your question?  Are you trying to implement SNMP on your Cisco router or you have already implemented it and for some reason, you think it is not working?

If you are trying to implement SNMP:

on your Cisco router (SNMP agent), you will need to do the following:

You need to create SNMP community (read and write or read-only)
You need to configure the SNMP server to tell the router which server will catch the traps to be raised by your router
You need to define your SNMP version, e.g. version 2c
You need to configure the traps
You also need the SNMP source interface
Optionally, you may want to configure an Access Control List for your SNMP server(s)

on your SNMP server, you will need to do the following:

Define the traps to be received from the router (SNMP agent)
The SNMP source interface for individual router to be monitored
You will have to load the correct MIB on your SNMP server

If you want to see SNMP working, try the ManageEngine OpUtils SNMP tool. You can download a copy from http://www.manageengine.com/products/oputils/.  It has a 15 days trial license.

If you just need to check some SNMP stats on your router, then post 1 by jonahzona.

Good luck



Commented:
Hello,

Below a sample config for the router:

interface loopback 1
ip address 80.1.1.1 255.255.255.255
!
snmp-server trap-source Loopback10
snmp-server community <community name> RW <optional access list>
snmp-server ifindex persist
!
!--Define your traps here
!
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
snmp-server enable traps config
snmp-server enable traps envmon
snmp-server enable traps rtr
!
! Define SNMP server (s) - two servers in this case
!
snmp-server host 192.168.100.2 version 2c <this router hostname>
snmp-server host 192.168.200.2 version 2c <this router hostname>
!

thanks.

Commented:
Hello,

A small correction in the above sample:

---
interface loopback 10
ip address 80.1.1.1 255.255.255.255
!
---

Thanks.

Author

Commented:
need to find command self
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.