Announcement

Collapse
No announcement yet.

Ciscocmd application

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ciscocmd application

    Has anyone out there used an application called Ciscocmd?

    It is a free utility used to script Cisco router/switch commands on a host and have them performed on multiple devices.

    It is a free download but the documentation isn't that great. I am about to give it a try myself and wanted to see if anyone else had used it before.

    Here is the website for it-
    http://sourceforge.net/project/showf...kage_id=148164

    If you haven't used this application, perhaps you can suggest another application that can do the same thing.

    Thanks,
    David Davis
    David Davis - Petri Forums Moderator & Video Training Author
    Train Signal - The Global Leader in IT Video Training
    TrainSignalTraining.com - Free IT Training Products
    Personal Websites: HappyRouter.com & VMwareVideos.com

  • #2
    Re: Ciscocmd application

    Of course, I'am the author of this tool.

    This tools is not so obscure as you said.
    Try it with cygwin installed on your worksation
    You just need :
    Cygwin with expect, telnet package

    After that, d/l the latest ciscocmd version and extract it.
    You will find a new directory named ciscocmd-1.x
    cd into this directory and type man ./ciscocmd.1

    This tool help me to manage more than 300 switchs and routers
    I use it to get all config for exemple in less than 1 minutes

    Have a nice day,

    Alain Degreffe

    Comment


    • #3
      Re: Ciscocmd application

      Hi ecze,

      Wow, I had no idea the author of the tool would be here in the forums. We have so many members it is amazing who all you will meet!

      I didn't mean to sound like it was such an obscure tool. It sounds SO very useful. I am glad to hear your story about it. I hope to use it on my network and be able to post my success story here as well. I guess I know who to contact if I have questions.

      If you have any case studies or info about ciscocmd or other Cisco tools, feel free to post them here.

      Thank you,
      David
      David Davis - Petri Forums Moderator & Video Training Author
      Train Signal - The Global Leader in IT Video Training
      TrainSignalTraining.com - Free IT Training Products
      Personal Websites: HappyRouter.com & VMwareVideos.com

      Comment


      • #4
        Re: Ciscocmd application

        I found your ciscocmd tool and it works well with one host, but i keep
        getting the following error when I do multiple hosts either inline or
        using a file for the list:

        Can you assist me as I am just not a programmer...I thought this was the
        tclx issue but i have that and edited the file and put it under:

        [[email protected] ~]# find /usr/lib -name "libtclx*"
        /usr/lib/tclx8.4/libtclx8.4.so


        [[email protected] ciscocmd-1.4]$ ./ciscocmd -t 10.91.0.65,10.91.0.111 -u
        user -p [email protected] -r command-showportsec.txt
        Processing... 10.91.0.65
        Processing... 10.91.0.111
        can't read "expect_out(3,string)": no such variable
        while executing
        "set loginbuf "$expect_out(3,string)" "
        ("foreach" body line 36)
        invoked from within
        "foreach host $hostlist {

        #####################
        # Login to the host #
        #####################

        if { [ info exist debugfile ] } {
        if { $FORK == 1 ..."
        (file "./ciscocmd" line 313)
        can't read "expect_out(3,string)": no such variable
        while executing
        "set loginbuf "$expect_out(3,string)" "
        ("foreach" body line 36)
        invoked from within
        "foreach host $hostlist {

        #####################
        # Login to the host #
        #####################

        if { [ info exist debugfile ] } {
        if { $FORK == 1 ..."
        (file "./ciscocmd" line 313)
        Killed

        [[email protected] ciscocmd-1.4]$ ./ciscocmd -T mynodes.txt -u user -p
        [email protected] -r command-showportsec.txt
        Processing... 10.91.0.65
        Processing... 10.91.0.111
        Processing... 10.91.0.206
        can't read "expect_out(3,string)": no such variable
        while executing
        "set loginbuf "$expect_out(3,string)" "
        ("foreach" body line 36)
        invoked from within
        "foreach host $hostlist {

        #####################
        # Login to the host #
        #####################

        if { [ info exist debugfile ] } {
        if { $FORK == 1 ..."
        (file "./ciscocmd" line 313)
        can't read "expect_out(3,string)": no such variable
        while executing
        "set loginbuf "$expect_out(3,string)" "
        ("foreach" body line 36)
        invoked from within
        "foreach host $hostlist {

        #####################
        # Login to the host #
        #####################

        if { [ info exist debugfile ] } {
        if { $FORK == 1 ..."
        (file "./ciscocmd" line 313)
        can't read "expect_out(3,string)": no such variable
        while executing
        "set loginbuf "$expect_out(3,string)" "
        ("foreach" body line 36)
        invoked from within
        "foreach host $hostlist {

        #####################
        # Login to the host #
        #####################

        if { [ info exist debugfile ] } {
        if { $FORK == 1 ..."
        (file "./ciscocmd" line 313)

        Comment


        • #5
          Re: Ciscocmd application

          please disregard, i had uncommented the libtclx line...added the # back and good to go..

          great tool.....thanks...saves me ALOT of TIME!!!!!

          Comment


          • #6
            Re: Ciscocmd application

            Hi everybody,
            I'm trying to use ciscocmd tool to retrieve routers config. I've exactly the same error as bakergarry. Did what suggested in ciscocmd1 but was not able to find any file libtclx*........
            Downloaded more than once from cygwin TCL/tx libs but there's no way to have them installed in usr/lib.

            Where am I wrong? I've no experience at all in programming.
            Thanks a lot
            Manuela

            Comment


            • #7
              Re: Ciscocmd application

              You might look at hte tools that ship with the Rancid package and/or the expect shell, and/or hte net::telnet::cisco perl module as ways to manage cisco devices programmatically.
              Thanks,
              Brian Desmond
              Microsoft MVP - Directory Services
              www.briandesmond.com

              Comment

              Working...
              X