04-21-2005 08:09 AM - edited 03-02-2019 10:32 PM
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
04-21-2005 02:00 PM
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
04-21-2005 10:17 PM
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
04-22-2005 09:59 AM
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.
04-22-2005 11:59 AM
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
04-22-2005 12:20 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide