cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3348
Views
0
Helpful
5
Replies

How to Shutdown Interface on Switch at specific Time ?

miloskv
Level 1
Level 1

So, this is my question? Anyone know how to somehow shutdown interface at specific time? I have cisco 2950 switch with standard image. Maybe need to buy extended for such action?

The problem is that I have one trunk port which need to work only from 08-15h, and for now I shut it down manualy. But it is borring thing to do. So, thanks for any suggestion.

Milos Kostic Veljkovic

5 Replies 5

lgijssel
Level 9
Level 9

You will not find a suitable command on the switch. This kind of functionality typically requires a management station. When you are into programming (preferrably linux or so) you might be able to write a program that shuts the port via snmp or a script that executes the required commands in a telnet session.

Regards,

Leo

Ok, thank You for your answer. Now I need only to figure out how to make such telnet script. Any suggestion or template script You can send on my email: miloskv@cpu.co.yu

Thanks again

I have never tried this but you might try to write a batch file that will telnet to the device shut the interface down and then exit. You would schedule this batch file to run at the approriate time.

Hello,

you might want to try Kiwi CatTools, which allows you to change the configuration at scheduled times. Not sure if that fits your purpose, but here is the link:

Kiwi CatTools 2.2.16

http://www.kiwisyslog.com/cattools2.htm

HTH,

GP

With IOS 12.3, there is a Kron command (similar to krond in linux), which can be used to execute a single or multiple command on a router (once or multiple times) on a particular date and time. Not suer if this is available in switches. I have not played with it, but just read about it other day.

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_feature_guide09186a00801b0695.html

More details about kron are in the link.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus