Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Switch question

Dear all

i have to check and prepare a list with all the ports that have not been used for more than 10 weeks on cisco switch 3548

Can some one tell me how to get the data using ciscoworks or manually

Thanking in anticipation

Karthik

regd

Karthik

3 REPLIES
New Member

Re: Switch question

I use a small SNMP utility called getif for this purpose. Here is the method :

- get sysuptime

- get ifoperstatus , note those that are down

- get iflastchange , which is the sysuptime when the interface went into the state it is in

- compare iflastchange on ports that are down with sysuptime , a difference of 70 days or more based on your criteria

- note that if the lastchange time is very close to 0, the the port has been in that state since the switch poweron

Dave

New Member

Re: Switch question

Dear Dave,

Thanks very much for the update,

Could you please should i run these commands on switch or is there any other method

thanks

Karthik

Hall of Fame Super Gold

Re: Switch question

GetIF is a goooooood freeware to do your job.

If you want to do CLI on the 3548XL, try this:

sh controllers ethernet-controller

This will show you send and receive statistics including the errors. If you want to clear it, it's "clear controllers ethernet-controller ".

Is this what you are looking for?

119
Views
0
Helpful
3
Replies
CreatePlease to create content