[c-nsp] Cat switches - 'last used time' port detail

Amol Sapkal amolsapkal at gmail.com
Mon Sep 11 14:41:27 EDT 2006


Hi Lee,


On 9/12/06, lee.e.rian at census.gov <lee.e.rian at census.gov> wrote:
> Can you really get the 'last time used' for ports on a switch via SNMP?  As
> far as I know, the best you can do is something like

I feel yes. If CiscoWorks can give you that data, then SNMP will sure do. It

>
>  sh int | inc prot|Last input
>
> and look for "Last input never" or maybe
>
>  sh int | inc prot|packets input
>
> and look for ports with zero packets input (and hope nobody has cleared the
> counters lately :-)
>

Actually, I am looking at a Cat-OS model. Moreover, the above wouldn't
be an accurate representation. It wouldn't give you when the port was
last used. Basically, something on the lines of 'last state change'.


-Amol



> Regards,
> Lee
>
>
>
> "Amol Sapkal" <amolsapkal at gmail.com> wrote on 09/11/2006 02:02:58 PM:
>
> > Hi,
> >
> > I was trying to free up ports on a cat 4500 switch and ended up
> > breaking my head for finding the correct command to know the 'last
> > used time' of a port.
> >
> > I am able to see this information on CiscoWorks (though the
> > information is highly skewed), but unable to find any command for the
> > same.
> >
> >
> > Any pointers? If there is no such command, I think an SNMP poll for
> > such datas would be the only option.
> >
> >
> >
> > --
> > Warm regards,
> >
> > Amol Sapkal
> >
> > -------------------------------------------------------------------
> > "When I'm not in my right mind, my left mind
> > gets pretty crowded"
> > -------------------------------------------------------------------
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
>
>


-- 
Warm regards,

Amol Sapkal

-------------------------------------------------------------------
"When I'm not in my right mind, my left mind
gets pretty crowded"
-------------------------------------------------------------------


More information about the cisco-nsp mailing list