Network Management

 View Only
  • 1.  IMC CLI SCRIPT

    Posted May 27, 2016 06:38 AM

    Hi All

    I'm trying to use CLI script on IMC 7, script to be applied to 3com 5500G, comware 3

    this is what I'm trying to deploy:

    rsa local-key-pair create^|^1024
    ssh authentication-type default all^|^

     

    this is what I'm getting back from IMC:

    <Command> rsa local-key-pair create <Error> The response received from the device not matches the prompt for the input command.

    <Response Prompt>          ^
     % Unrecognized command found at '^' position.

     

     

    I'm not sure what I'm doing wrong here



  • 2.  RE: IMC CLI SCRIPT

    Posted May 27, 2016 10:42 AM

    ok so IMC watns you to put a command to get to system-view as well, so that would be

    system-view

    rsa local-key-pair create^|^1024
    ssh authentication-type default all

    It's a bit funny about providing parameters, it didn't lile 1024, worked fine when removed, not sure how would you deal with it if you wanted different size of the key though, 1024 is a default value