Kron cli problem

Hi All,
Im trying tu use kron funcionality, but I got problem.
My config (just testing one):
kron policy-list test
cli configure terminal
cli interface Loopback 50
cli exit
kron occurrence test in 1 oneshot
policy-list test
and I get this result from debugging, command "conf t" works, but "interface loopback 50" doesnt,
it gives Kron CLI return 2
Dont somebody know, what do I do wrong?
Thanks a lot.
*Aug 17 16:57:47.423: Major 1, Minor 0
*Aug 17 16:57:47.423: Timer Event test
*Aug 17 16:57:47.423: Call parse_cmd 'configure terminal'
*Aug 17 16:57:47.423: Kron CLI return 0
**CLI 'configure terminal':
Enter configuration commands, one per line.  End with CNTL/Z.'
*Aug 17 16:57:47.423: Major 4, Minor 7
*Aug 17 16:57:47.423: Respond to end of CLI Process
*Aug 17 16:57:47.427: Call parse_cmd 'interface Loopback 50'
*Aug 17 16:57:47.427: Kron CLI return 2
*Aug 17 16:57:47.431: Major 4, Minor 7
*Aug 17 16:57:47.431: Respond to end of CLI Process
*Aug 17 16:57:47.431: Call parse_cmd 'exit'
*Aug 17 16:57:47.431: Kron CLI return 0
**CLI 'exit':
1861_Test_VoiceGW_1 con0 is now availablePress RETURN to get started.'
*Aug 17 16:57:47.435: Major 4, Minor 7
*Aug 17 16:57:47.435: Respond to end of CLI Process
*Aug 17 16:57:47.435: Forcing Removing Occur test
*Aug 17 16:57:47.435: Removing Occur test
*Aug 17 16:57:47.435:     Removing Policy Name 'test'
*Aug 17 16:57:47.435: Finished Removing Occurrence test

Hi, thanks but my tacacs somehow doesnt want to accept authorization requests (it gives invalid tacacs packet...) even if command "event manager session cli username" is there. But it works because of "if-authenticated" rule in aaa policy, which is second rule after tacacs authentication.
To be honest, I dont understand how router can perform these commands, even if it doesnt ask for any authentication (at least no authentication request is visible in ACS log) It probably uses authentication of user who originaly set timer for action... and because of "if-authenticated" rule it executes commands.

Similar Messages

  • Role-base CLI Problem

    Hello dear
      My problem with Role Base CLI
    I just want to an access to configure router OSPF
    I created view OSPF-TUNE
    parser view OSPF-TUNE
    R1(config-view)#commands exec include configure terminal
    R1(config-view)#commands configure include router ospf
    But when I entered the OSPF-TUNE
    R1#?
    Exec commands:
      configure  Enter configuration mode
      enable     Turn on privileged commands
      exit       Exit from the EXEC
      show       Show running system information
    R1#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    R1(config)#?
    Configure commands:
      do      To run exec commands in config mode
      exit    Exit from configure mode
      router  Enable a routing process
    I just want to an access to configure router OSPF But...
    R1(config)#router ?
      bgp       Border Gateway Protocol (BGP)
      isis      ISO IS-IS
      iso-igrp  IGRP for OSI networks
      mobile    Mobile routes
      odr       On Demand stub Routes
      ospf      Open Shortest Path First (OSPF)
      rip       Routing Information Protocol (RIP)
    Please Help Me...

    Hello dear
      My problem with Role Base CLI
    I just want to an access to configure router OSPF
    I created view OSPF-TUNE
    parser view OSPF-TUNE
    R1(config-view)#commands exec include configure terminal
    R1(config-view)#commands configure include router ospf
    But when I entered the OSPF-TUNE
    R1#?
    Exec commands:
      configure  Enter configuration mode
      enable     Turn on privileged commands
      exit       Exit from the EXEC
      show       Show running system information
    R1#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    R1(config)#?
    Configure commands:
      do      To run exec commands in config mode
      exit    Exit from configure mode
      router  Enable a routing process
    I just want to an access to configure router OSPF But...
    R1(config)#router ?
      bgp       Border Gateway Protocol (BGP)
      isis      ISO IS-IS
      iso-igrp  IGRP for OSI networks
      mobile    Mobile routes
      odr       On Demand stub Routes
      ospf      Open Shortest Path First (OSPF)
      rip       Routing Information Protocol (RIP)
    Please Help Me...

  • BT6500 and CLI problem.

    Hi, new here so apologies if this subject has been covered.
    I have just bought a BT6500 set of phones, they sounded just what I needed to stop nuisance calls. The problem is that my CLI doesn't work with this phone. 
    My CLI works with an old corded handset and the new BT6500 works ok on a friends phone line so both the CLI and phone works thus there seems to be a compatibility problem with my line and this phone.
    I have tested the BT6500 at the test socket to eliminate any noise on internal wiring and tried several different filters and it still doesn't work.
    Unfortunately I live miles from the telephone exchange and suspect this may be the route of my problem i.e. The BT6500 may be more sensitive to noise than my cheap corded phone.
    Any suggestions? Can BT boost the cli signal at the local exchange or can they reduce line attenuation at all?

    This link should help
    http://bt.custhelp.com/app/answers/detail/a_id/9050/~/how-do-i-enable%2Fdisable-the-voice-text-featu...
    and
    http://bt.custhelp.com/app/answers/detail/a_id/9057/related/1
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • CLI Problem

    Dear Friends,
    I need a help from you.
    Back ground of the problem 
    I am using Nokia E90. In our country there are different  mobile service providers. I give you example, we have a network provider Mobilink and thier number starts with code 0300, Ufone is another service provider and its code is 0333. My number which starts from 0300 can be issued from Ufone with diferent prefix (0333)to some one else.  e.g if i am using 03008443245, the same number with 0333 can be used by some one else i.e 03338443245
    Problem 
    I have saved my number in my mobile. Yesterday a person called me from same number with prefix of Ufone. My mobile shows that Faiza is calling i.e my name was appearing on CLI. My handset is not smart enough to check that prefix is different. This way that person can call or send bad sms to any of my firends and they will think that i am sending that sms because my name will appear on CLI. Pls pls solve my problem, how can make my handset intelligent enough to see the prefix of the phone number.
    Best Regards
    Faiza

    Unfortunately no..
     You cant make your phone smart enough to show you that a differt prefix is calling.
    -The phon only recognises the last 6-10 digits depanding on certain models.
    -But i guess most phones recogises the last 6 digits.
    Therefore it will recognise as Faiza calling if the first 2-3 numbers a different.
    You may provide your feed back to nokia using the contact us tab above and hopefullythe upcoming softwares will recognize more digits to the number.
    Mark me a KUDOS if this has helped...

  • Nokia C1-02 Not identifying caller (CLI problem)

    Hi everyone, I have bought Nokia c1-02 v5.40
    Some Numbers are saved in phonebook with country code +923xx and some are saved without country code 03xx.
    When some caller calls me, his name is not displayed (identified) but when this caller sends me sms, then his name is displayed ..... and some callers names are displayed during call but not displayed in sms.
    any solution to this problem?
    Thanks

    Let me re-explain everything again
    I have bought Nokia c1-02 (China Mobile) from CHINA which was on software v5.40 and now i have updated to v6.15. I am now in Pakistan now. The problem which i am facing is:
    1. I have saved a person "Peter" with mobile number "+923xxxxxxxxx". Now
    when Peter calls me, his name appears on my mobile screen but when Peter
    sends me sms, then his name is not displayed in incoming sms.
    2. I have saved another person "Ali" with mobile number "03xxxxxxxxx". Now
    when Ali calls me, his name doesn't appears on my mobile screen but when
    Ali sends me sms, then his name is displayed in incoming sms.
    3. But When i save a person "Steve" with 02 mobile numbers "+923xxxxxxxxx"
    & "03xxxxxxxxx" , Name of Steve is displayed both on incoming call as well
    as sms.
    I hope you understand my problem as it is not duplicate contacts issue.
    Any solution to my problem?

  • CLI problem with PGW

    I have enabled CLIDefaultAllowed on ISUP links and CLI is carried properly from Q931 to ISUP trunks.
    But from VoIP trunks (SIP and H.323) the CLI is not being transferred. I am using PGW 9.6(1).
    Any ideas to help?
    thanks

    Stated here:
    http://www.cisco.com/univercd/cc/td/doc/product/access/sc/rel9/prvgde/r9appa.htm#wp1189144
    Note Used in all protocols that are based on Q761.
    Note Only valid for ISDN PRI inbound to either C7 ISUP outbound or ISDN PRI outbound.
    Hope this helps...

  • [SOLVED] SPA122 and Siemens Gigaset CLI problem

    Hi, I'm trying to configure my SPA122 to be used with a couple of Gigaset cordless, it's almost all working fine except the CLI that it's not displayed.
    This is my ATA version:
    Model:
    SPA122, LAN, 2 FXS
    Hardware Version:
    1.0.0
    Boot Version:
    1.0.1 (Oct 6 2011 - 20:04:00)
    Firmware Version:
    1.3.2 (014) May 9 2013
    Recovery Firmware:
    1.0.2 (001)
    WAN MAC Address:
    88:75:56:07:66:66
    Host Name:
    SPA122
    Domain Name:
    (none)
    Serial Number:
    CCQ164105A3
    Current Time:
    Thu, 04 Jul 2013 17:30:32
    Could someone point me in the right direction?
    Thanks in advance,
    Andrea

    Solved,
    I tryed some configuration until found the right working:
    Caller ID Method:   
    Bellcore(N.Amer,China)DTMF(Finland,Sweden)DTMF(Denmark)ETSI DTMFETSI DTMF With PRETSI DTMF After RingETSI FSKETSI FSK With PR(UK)DTMF(Denmark) With PR
    Caller ID FSK Standard:   
    bell 202v.23
    BTW, I'm in Italy, I don't know if it works in others country.
    Regards,
    Andrea

  • Sony Clie problems

    My son-in-law gave me his Sony Clie.  I used the installation disc that accompanied the device.  It installed a different version of desk top. (I already had the most recent version of desktop on my computer).  Now I cannot access any of my data.  Help, please.
    Post relates to: None

    Hello Montague and welcome to the Palm forums.
     Sony did things differently than Palm.  You may not be aware, but Sony has stopped making the Clie some years ago and the version of Palm Dekstop that you installed from the Clie software CD is not compatible with the version for your current Palm.
     I would suggest that you reinstall Palm Desktop from the CD that came with your Palm-braded device.  I would try just running the installer right over the top of whatever you have installed now to try and preserve your data.
    Alan G 
    Post relates to: Treo 755p (Sprint)

  • %IPS-3-Invalid__digital_signature (signature verification fauilure)

    hi,
    i try to load the IOS-S416-CLI.pkg into my C1841 ISR, using CLI
    problem is signature cannot extract and show me this error message %IPS-3-Invalid__digital_signature (signature verification fauilure)
    while i am using version 5 realm-cisco.pub signature, download from cisco tools
    anyone any idea for this?

    Hello,
    This error message literally means that the crypto signature on your router and the crypto signature in the IPS signature update do not match. This can be the result of an incorrect pubkey in your router configuration or a corrupt signature package. If you transfer the signature update from one computer to another after downloading it from Cisco.com, be sure to do the transfer in binary mode. Transferring the file in ASCII mode will remove various characters from the binary file and make the file unusable. If you have not transferred the file after downloading it from Cisco.com, or you are certain that you have not used ASCII mode to transfer the file, try downloading the file again from Cisco.com. The original download may have been corrupt.
    Below is the pubkey to compare with your router configuration:
    crypto key pubkey-chain rsa
    named-key realm-cisco.pub signature
    key-string
    30820122 300D0609 2A864886 F70D0101 01050003 82010F00 3082010A 02820101
    00C19E93 A8AF124A D6CC7A24 5097A975 206BE3A2 06FBA13F 6F12CB5B 4E441F16
    17E630D5 C02AC252 912BE27F 37FDD9C8 11FC7AF7 DCDD81D9 43CDABC3 6007D128
    B199ABCB D34ED0F9 085FADC1 359C189E F30AF10A C0EFB624 7E0764BF 3E53053E
    5B2146A9 D7A5EDE3 0298AF03 DED7A5B8 9479039D 20F30663 9AC64B93 C0112A35
    FE3F0C87 89BCB7BB 994AE74C FA9E481D F65875D6 85EAF974 6D9CC8E3 F0B08B85
    50437722 FFBE85B9 5E4189FF CC189CB9 69C46F9C A84DFBA5 7A0AF99E AD768C36
    006CF498 079F88F8 A3B3FB1F 9FB7B3CB 5539E1D1 9693CCBB 551F78D2 892356AE
    2F56D826 8918EF3C 80CA4F4D 87BFCA3B BFF668E9 689782A5 CF31CB6E B4B094D3
    F3020301 0001
    Quit
    Thank you,
    Blayne Dreier
    Cisco TAC IDS Team
    **Please check out our Podcast**
    TAC Security Show: http://www.cisco.com/go/tacsecuritypodcast

  • Problem when streaming with the CLI flash media encoder 2.5

    I have a problem when streaming with Flash Media Encoder 2.5. When I run the GUI, everything works, but when I use the commandline with the same profile I have created using the GUI, it says it can't connect to the server.
    I have to use this version of the encoder, because the other is not working with the server, and I have to create a program to remotely control the flash media encoder, so I have to use the CLI. What can i do to go over this problem?
    Any help would be really appreciated. Thankyou.

    First of all, thankyou.
    There is no authentication needed. I can't use Flash Live Media Encoder 3 because it is not supported by the people which manages the server i have to connect to.
    In fact, I don't know why they dont support it, but that is the way it is.
    Through the GUI, i connect directly and without problems, without user/pass.
    Thankyou again.

  • Es-cli batch mode problems

    I can not get es-cli to accept my parameters file. It is no longer sending out errors but it's not logging me in either.
    If I pass the paramters file but not a batch file I get to the prompt with out error but I'm not logged in. If I pass in a batch file I get the following error.
    Error in the backend Process, please try again: Not owner
    My files look like this
    # cat smcinput
    serverHost=wessmc
    user=smcadmin
    password=********
    o=/home/wills/smcout
    # cat smcalarms
    browse
    goto Production
    getAlarms a=wessmc state=CLOSED
    print
    exit
    # ls -l /home/wills/smc*
    -rwx------ 1 smcadmin esadm 98 Feb 12 16:00 ./smcalarms
    -r-------- 1 smcadmin esadm 67 Feb 13 14:06 ./smcinput
    -rw-r--r-- 1 smcadmin esadm 0 Feb 13 14:09 ./smcout
    I'm also running es-cli as the user smcadmin.
    Also does anyone know of a way to have getAlarms dump the alarms for an entire Domain with out listing them out in the "a" parameter?

    I got it to work, I was making a dumb error.
    my command sytax was
    es-cli -i parametersfile -b batchfile
    when it should have been
    es-cli i=parametersfile b=batchfile

  • Trying SSH CLI ,  reading command line method is infinte loop problem!

    I am trying excute command and reading result. but reading result part has problem.
    below source is a part of my method.
    try{
                   SessionChannelClient sessionChannel = ssh.openSessionChannel();
                   sessionChannel.startShell();
                   OutputStream out = sessionChannel.getOutputStream();
                   String cmd = s + "\n";
                   out.write(cmd.getBytes());
                   out.flush();
                   InputStream in = sessionChannel.getInputStream();
                   BufferedReader br = new BufferedReader(new InputStreamReader(in));
                   byte buffer[] = new byte[255];
                   String read= "";
                   while (true) {
                        String line = br.readLine();
                        if (line == null)
                             break;
                        str += line;
                        str += "\n";
                   System.out.print(str); //print result
                   sessionChannel.close();
                   in.close();
                   out.close();
              }catch(IOException ee){
                   System.out.println(ee);
              }finally{
                   System.out.println("=============end cmd=============");
    while loop has problem. While statement has infinite loop problem.
    why has this problem?
    anybody, help me please. Thanks for reading .
    Edited by: BreathAir on Aug 5, 2008 12:16 AM

    That loop will loop until readLine() returns null, which will only happen when the other end closes its end of the connection, and it will block while no data is available.

  • HT201263 What will i do?screenshot There is a problem with your iPhone. Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. To find your nearest Apple Store, cli

    What will i do? ITune screenshot is as follows >
    There is a problem with your iPhone. Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. To find your nearest Apple Store, click here.

    Do what it said to do.
    "Please visit the Service Answer Center to find answers to all your questions about service options, warranty and other processes in your country. "

  • CLI Connect Problems

    Sorry if this is a dumb question, but here it goes. I can connect successfully with GUI Client and profile. When I try using vpnclient connect myProfile user xxx pwd xxx I get an error stating VPN connection terminated locally by the client.

    Hi Tim
    Because you are trying to establish conenction via command prompt while VPN client's GUI is running. Right-click the VPN icon i taskbar at right-bottom and click exit. Or in Task manager, locate vpngui.exe and terminate the process. Then try running the command again
    Regards

  • How can I stay on the same line  when inputting values in the CLI?

    The title is a bit vague i know :) but i have this issue which isn't really a problem but it would be better if I can solve it.
    Intro)
    I've made this simple addition (and more options but thats not relevant) application for kids in my spare time so that they can train their maths in school and compare their results with other students which is saved in the database using the hypersonic DB that comes with the JBoss application server.
    Now so far so good, but i'm having an issue with the Scanner (I think, but i doubt its because of the CLI) , when i enter a number or text it works and exceptions will be catched etc but when i press the enter key without anything entered the input value wil be displayed a line below and that's not what I want. I want it to stay in the same line.
    Sample CLI output:
    bla application
    ***By: deAppel***
    Ver: 31/10/2007
    Your name:     deAppel
    Your class:     MasterClass
    How many sums you want to make? 14
    Time: 22:03:27
    1: 32 + 40 =     72
    2: 38 + 19 =     57
    3: 5 + 57 =     62
    4: 30 + 20 =     1
    5: 57 + 54 =     2
    6: 33 + 17 =     3
    7: 38 + 54 =     4
    8: 23 + 23 =     5
    9: 48 + 47 =     95
    10: 29 + 55 =     6
    11: 48 + 11 =     7
    12: 1 + 40 =     41
    13: 46 + 35 =     91
    14: 23 + 52 =     75
    Answer 1:      72     You answered:      72     (good)
    Answer 2:      57     You answered:      57     (good)
    Answer 3:      62     You answered:      62     (good)
    Answer 4:      50     You answered:      1     (wrong)
    Answer 5:      111     You answered:      2     (wrong)
    Answer 6:      50     You answered:      3     (wrong)
    Answer 7:      92     You answered:      4     (wrong)
    Answer 8:      46     You answered:      5     (wrong)
    Answer 9:      95     You answered:      95     (good)
    Answer 10:      84     You answered:      6     (wrong)
    Answer 11:      59     You answered:      7     (wrong)
    Answer 12:      41     You answered:      41     (good)
    Answer 13:      81     You answered:      91     (wrong)
    Answer 14:      75     You answered:      75     (good)
    EndTime: 22:04:18
    Total good: 6
    Total wrong: 8
    Total sums answered: 14
    Final score: 42.857143%
    Upload score? (yes/no): no
    Compare score from other users? (yes/no): no
    Want to try again? (yes/no): no
    ********Made by: deAppel @ http://www.link removed cause it doesnt matter .com*********
    ************The application will close within 5 seconds*************
    To sum it up for those that don't like to read my post:
    1: 32 + 40 = 72
    2: 38 + 19 =
    whitespace <-- this happens because of the enter
    whitespace <-- this happens because of the enter
    57
    3: 5 + 57 = 62
    I want the input to stay in the same line unless you have typed something. I feel silly for not knowing how to handle this.
    Hm.. i'll tried to solve it myself but it seems that im unable to do that.
    /me takes a quick coffee break and will look at the code again after that *

    paulcw wrote:
    It sounds like you want either a CURSES implementation (I believe there's one for Java), or just move to a GUI.I was planning to create a GUI for it eventually, but i just wanted to solve this one first and make sure everything works the way i want it too. I'll take a look at the CURSES implementation thanks.

Maybe you are looking for

  • Restoring files from time machine backup made using Mountain Lion

    Hi Guys I have trawled through the Internet and found many sources of help for some of my headaches but still can't help the problem. So here I am..... I have an early MacBook Pro 13" that came with snow leopard. I immediately updated to lion which w

  • Issues with 105 End to End tutorial

    Hi, In working my way through the end-to-end, I am running into two issues in part 5 (Human Workflow Task): - the instruction suggests the Worklist Application's URL to be http://localhost:8888/integration/worklistapp. In my (automatically installed)

  • I accidentally deleted my options toolbar and can't get it back.

    I was trying to delete a different toolbar but accidentally clicked on the options toolbar and I can't get it back. Please help!

  • Problems with B1WS

    Hi! Good afternoon,      I'm getting this error Error in 'CompanyService' during command 'Query' stack en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolea

  • Internet User & org structure in SNC

    Hi Experts, I'm kind of new to SNC. can someone explain what is - 1- Internet user in SNC. how to create this user. hiw different is this from SU01 user? 2- how to link this user to business partner person.? 3- Is it required to create a organisation