cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5092
Views
0
Helpful
4
Comments
Nibrad.A.Mahdi
Level 1
Level 1

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
Nibrad.A.Mahdi
Level 1
Level 1

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

Nibrad.A.Mahdi
Level 1
Level 1

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

Agnessa1
Level 1
Level 1

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

Nibrad.A.Mahdi
Level 1
Level 1

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   

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: