[c-nsp] Shutting down a switch port automatically after a specific time

Arun Vijay arunvj at gmail.com
Sun Jun 24 14:09:11 EDT 2012


Thanks for the reply Jon.

But we dont have rancid.

Not sure whether we can bind the time based ACL with Macros such that once
the time based ACL parameters are met for the mentioned time,it takes the
macro parameters to shut down the port..

Also i havent tried or else can say that i am not good in scripting....So
if any one can help me with getting sample scripts for shutting port a port
after a specific time,it will be helpful.

Thanks
Arun.

On Sun, Jun 24, 2012 at 8:54 PM, Jon Lewis <jlewis at lewis.org> wrote:

> If you have rancid, you could just use a cron job + clogin to schedule
> logging into the switch and shutting the port.
>
>
> On Sun, 24 Jun 2012, Arun Vijay wrote:
>
>  Dear Alan
>>
>> Yes.That feature set is not available in 3550.
>>
>> If possible can u send a sample of the script which you are using to bring
>> down the port after a certain time.
>>
>> Thanks
>> Arun
>>
>> On Sun, Jun 24, 2012 at 8:07 PM, alan buxey <A.L.M.Buxey at lboro.ac.uk>
>> wrote:
>>
>>  Hi,
>>>
>>>  I would like to shutdown certain switch ports in my cisco 3550 switch
>>>> automatically after a specific time.
>>>> I tried configuring Time range with access list.But that only denies the
>>>>
>>> ip
>>>
>>>> traffic to the port while the port remains UP.
>>>> I need the port to be down and then get the intimation about the port
>>>>
>>> gone
>>>
>>>> down in my syslog server through traps,which is not possible through
>>>> time
>>>> range as the port remains in the UP state.
>>>>
>>>
>>> very easy with energywise....but this is 3550 so doesnt have that
>>> featureset for
>>> timers.... we used to just use extrenal scripts which would use SNMP to
>>> UP/DOWN
>>> a port at certain times
>>>
>>> alan
>>>
>>>  ______________________________**_________________
>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
>> https://puck.nether.net/**mailman/listinfo/cisco-nsp<https://puck.nether.net/mailman/listinfo/cisco-nsp>
>> archive at http://puck.nether.net/**pipermail/cisco-nsp/<http://puck.nether.net/pipermail/cisco-nsp/>
>>
>>
> ------------------------------**------------------------------**----------
>  Jon Lewis, MCP :)           |  I route
>  Senior Network Engineer     |  therefore you are
>  Atlantic Net                |
> _________ http://www.lewis.org/~jlewis/**pgp<http://www.lewis.org/%7Ejlewis/pgp>for PGP public key_________
>


More information about the cisco-nsp mailing list