[c-nsp] Cat switches - 'last used time' port detail
Todd, Douglas M.
DTODD at PARTNERS.ORG
Mon Sep 11 14:31:08 EDT 2006
an snmpwalk on .1.3.6.1.2.1.2.2.1.9 will give you this information.
something like:
snmpwalk -c <community> -v 1 <switchname> .1.3.6.1.2.1.2.2.1.9
This with a sh snmp ifalias from the switch might give you what you want.
the walk will have look something like .1.3.6.1.2.1.2.2.1.9.157 = TimeTicks...
The snmp ifalias will have the ifindex number of the port (with the cisco port
number) use the two and you can get which port the walk is talking about.
Just an idea...
Douglas
<END>
#wr me
#q
.sig ****************************
Douglas M. Todd, Jr.
Master Network Engineer
Network Engineering
Supporting MGH, CNY, Mclean, NSMC
Postal/RMAs:
Partners HealthCare
10th Floor 149-10-10056E
Building 149
13th Street
Charlestown, MA 02129-200 (MGH)
E: dtodd at partners.org
T: 617.726.1403
F: 617.724.9781
P: 617.724.5700 id:38048
PGP id: 0x4026AEB7
> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Voll, Scott
> Sent: Monday, September 11, 2006 2:05 PM
> To: Amol Sapkal; cisco-nsp
> Subject: Re: [c-nsp] Cat switches - 'last used time' port detail
>
> Sh interface will give you last input and output.
>
> Scott
>
> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Amol Sapkal
> Sent: Monday, September 11, 2006 11:03 AM
> To: cisco-nsp
> Subject: [c-nsp] Cat switches - 'last used time' port detail
>
> 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/
>
> _______________________________________________
> 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/
>
More information about the cisco-nsp
mailing list