Automating Cisco switch configuration changes

Discussion in 'Cisco' started by Dmitry, Feb 5, 2004.

  1. Dmitry

    Dmitry Guest

    Hello,


    Problem:

    I am currently supporting about one hundred Cisco 2950 switches and
    anytime a configuration change needs to be made I must touch every one
    of those switches.


    Solutions?

    I don't have access to CiscoWorks.

    Can a script be used to SSH into a switch, login, execute IOS
    commands, exit, and then repeat the process for the next switch? Maybe
    create a text file with all the IP addresses of the switches and have
    the script call the text file for the next IP.

    I've heard that "Expect" is one option, but I am not a script guru so
    any examples would be really helpful.

    Can this be accomplished with a DOS batch file?



    Thank you in advance.

    Dmitry
    Dmitry, Feb 5, 2004
    #1
    1. Advertising

  2. In article <>,
    Dmitry <> wrote:
    :Can a script be used to SSH into a switch, login, execute IOS
    :commands, exit, and then repeat the process for the next switch?

    Yes, 'expect' is good for that.

    However, there are other ways. Set up a tftp server that has the
    master configs for the switches.

    There is a way you can use SNMP to trigger a tftp upload of the
    configuration onto the switch. (Might not be supported on all switches
    and the exact SNMP details varies according to IOS version.)
    --
    "Infinity is like a stuffed walrus I can hold in the palm of my hand.
    Don't do anything with infinity you wouldn't do with a stuffed walrus."
    -- Dr. Fletcher, Va. Polytechnic Inst. and St. Univ.
    Walter Roberson, Feb 5, 2004
    #2
    1. Advertising

  3. Dmitry

    Dave Keith Guest

    Have a look at CatTools, available from www.kiwisyslog.com .

    Dave

    "Dmitry" <> wrote in message
    news:...
    > Hello,
    >
    >
    > Problem:
    >
    > I am currently supporting about one hundred Cisco 2950 switches and
    > anytime a configuration change needs to be made I must touch every one
    > of those switches.
    >
    >
    > Solutions?
    >
    > I don't have access to CiscoWorks.
    >
    > Can a script be used to SSH into a switch, login, execute IOS
    > commands, exit, and then repeat the process for the next switch? Maybe
    > create a text file with all the IP addresses of the switches and have
    > the script call the text file for the next IP.
    >
    > I've heard that "Expect" is one option, but I am not a script guru so
    > any examples would be really helpful.
    >
    > Can this be accomplished with a DOS batch file?
    >
    >
    >
    > Thank you in advance.
    >
    > Dmitry
    Dave Keith, Feb 5, 2004
    #3
  4. Dmitry

    Dmitry Guest

    Thank you for the helpful information.

    Dmitry
    Dmitry, Feb 9, 2004
    #4
  5. (Dmitry) wrote in message news:<>...
    > Thank you for the helpful information.
    >
    > Dmitry


    You could also have a look at http://home.wxs.nl/~ruurdb/

    Ruurd Beerstra's IVT has very good scripting capabilities.

    Pete
    Pete Mainwaring, Feb 10, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RHJCdW5zZW4=?=

    Automating WPA-PSK installation on domain PCs?

    =?Utf-8?B?RHJCdW5zZW4=?=, Aug 1, 2005, in forum: Wireless Networking
    Replies:
    3
    Views:
    671
    Colin
    Aug 1, 2005
  2. ngoc
    Replies:
    0
    Views:
    414
  3. Dmitry

    Automating window switching

    Dmitry, Mar 2, 2004, in forum: Cisco
    Replies:
    8
    Views:
    415
    Dmitry
    Mar 4, 2004
  4. sensei
    Replies:
    6
    Views:
    5,657
  5. Replies:
    24
    Views:
    10,267
    Ivan Marsh
    Apr 21, 2008
Loading...

Share This Page