Link to home
Start Free TrialLog in
Avatar of ProVal
ProValFlag for India

asked on

Restart SNMP service on Cisco Router

Can anyone give me command for restarting snmp service on Cisco router?
ASKER CERTIFIED SOLUTION
Avatar of jonahzona
jonahzona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Soulja
no snmp-server

then

snmp-server
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



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.
Hello,

A small correction in the above sample:

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

Thanks.
Avatar of ProVal

ASKER

need to find command self