cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

TcL Script to shut down port on a time schedule

1695
Views
0
Helpful
4
Comments

hi there,, when I try to write TCL Script to shut down the port on a time schedule the Kron applet and tray it with event manager but does not support in my Cisco IOS XRv,, can you help me 

 
Comments
Beginner

kron policy-list policy_IntShut
cli config t
cli interface Gi1/0/1
cli shut
exit

kron policy-list policy_IntNoShut
cli config t
cli interface Gi1/0/1
cli no shut
exit


kron occurrence policy_IntShut at 16:00 tue recurring
no policy-list policy_IntShut
exit

kron occurrence policy_IntNoShut at 18:30 tue recurring
no policy-list policy_IntNoShut
exit

Beginner

event manager applet noshut

event timer cron name noshut cron-entry "0 1 * * *"

action 1 cli command "configure terminal"

action 2 cli command "interface Gi0/0/0/7"

action 3 cli command "no shutdown

 


event manager applet shut

event timer cron name shut cron-entry "1 11 * * *"

action 1 cli command "configure terminal"

action 2 cli command "interface Gi0/0/0/7"

action 3 cli command "shutdown"

end

Beginner

Hi .,

Pls go through this tcl script i think it can solve

 

FME_BEGIN_TCL set gTranslationStartTime [clock format [clock seconds]]
FME_END_TCL puts \"Translation started time: $gTranslationStartTime\nTranslation end time: [clock format [clock seconds]]\"

 

 

For more Info: on Credit cards

kohls credit card login

Beginner

the Event command does not work on ASR 9000 XRv and the Kron already not working the fetched file not access to do his command   

CreatePlease to create content
Content for Community-Ad