From: Edmundo Bodero (bodero.edmundo@googlemail.com)
Date: Mon Dec 18 2006 - 18:24:35 ART
I used this command when I was studying for my lab:
snmp get v2c 1.1.1.1 public oid system.1.0
where you replace 1.1.1.1 for the ip address of the address managed device
and system.1.0 for the oid that you want. If you do debug snmp headers you
can see the replies at the router sending the snmp command.
Regards,
Edmundo
On 12/16/06, Bit Gossip <bit.gossip@chello.nl> wrote:
> I agree that it is not a common setup to have the router as a snmp
> manager, but according to the link I posted, this is possible...
>
> I think this can be an interesting way to test the snmp config during
> the lab where a NMS is not available.
>
> The problem is:
> - how can I do snmp get
> - how can I see the trap
>
> Luca.
>
>
> On Sat, 2006-12-16 at 09:48 -0800, Darby Weaver wrote:
> > Hmmm...
> >
> > I don't recall the Router/Switch having an ability to
> > actually collect traps in the same manner as a
> > full-scale NMS.
> >
> > Now I use SNMP quite a bit and have for a while, but
> > maybe I just have tunnel vision here.
> >
> > Typically I set up a device to do one of two things or
> > both:
> >
> > 1. Send traps to an NMS.
> >
> > 2. Configure the device to be accessible by an NMS or
> > like like application.
> >
> > Perhaps there is a third usage, but I am not aware of
> > it. What is the link you are referring to?
> >
> >
> >
> >
> > --- Maxim Kurushkin <m.kurushkin@orange-ftgroup.ru>
> > wrote:
> >
> > > One more question:
> > > - and where does router this information keep? Flash
> > > or etc?
> > >
> > > WBR,
> > > Maxim
> > >
> > > Bit Gossip wrote:
> > > > According to doc-cd
> > > >
> > > >
> > >
> >
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ffun_c/fcfprt3/fcf014.htm#wp1001192
> > > >
> > > > "As an SNMP manager, the router can send SNMP
> > > requests to agents and
> > > > receive SNMP responses and notifications from
> > > agents. When the SNMP
> > > > manager process is enabled, the router can query
> > > other SNMP agents and
> > > > process incoming SNMP traps."
> > > >
> > > > The config is quite easy:
> > > > snmp-server manager
> > > > snmp-server community secret RW
> > > >
> > > > But then:
> > > > - how can I send snmp requests from this router?
> > > > - how can I read the received traps?
> > > >
> > > >
> > > > Thanks,
> > > > Luca.
> > > >
> > > >
> > >
> > _______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:38 ART