Welcome to Infoblox NetMRI Community Sign in | Join | Help
in Search

Automated Cisco IOS upgrade?

Last post 09-03-2009 10:40 AM by elijah. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-31-2009 12:01 PM

    Automated Cisco IOS upgrade?

    I've seen some very nice scripts for various tasks here. Any scripts or methods for upgrading our Cisco 3750 switch stacks? With the large number we have, it would be ideal to automate the upgrade during our monthly downtime window.

  • 08-31-2009 2:36 PM In reply to

    Re: Automated Cisco IOS upgrade?

    If you navigate to NetMRI>Configuration Management>Job Management>Scripts you will see a script called "IOS Image Upgrade" which should allow you to do just what you are looking to do.

    Note: Prior to running the script, please make sure to read the Information Section at the beginning of the script for important notes on configuring/running.

    Technical Support Engineer
    Netcordia, Inc.
    410-266-6161 option 3
  • 09-02-2009 11:46 AM In reply to

    Re: Automated Cisco IOS upgrade?

    The script says, "This script may be used to help automate image updates for Cisco 2600, 2800, 3600, 3700, and 3800 series routers and terminal servers."

    I have attempted to run this against a test 3750 switch stack and the regex is killing it.

    Do you have an updated regex for doing this on the 3750s?

    Failed script is showing: 

    *** Filter does not match ***

     $Vendor eq "Cisco"   and $sysDescr like /IOS/ and ( $model like /^2(?:6|8)\d{2}(?:XM)?$/  or $model like /^3(?:6|7|8)\d{2}(?:XM)?$/ )

  • 09-03-2009 10:40 AM In reply to

    Re: Automated Cisco IOS upgrade?

    The Regex shown in the script does in fact match "3750", however it is likely that the way the Model is being reported via SNMP (and subsequently stored in the NetMRI) is slightly different than "3750". For example several Cisco 3750's in our network are shown as having a Model Number of "catalyst37xxStack" on one my NetMRI.

    You can verify this by performing an SNMP Walk (Tools>Device>SNMP Walk) of the system OID for a given device, as well as looking in the Model field in Network Explorer>Inventory>Devices>Devices.

    Using this information, you can edit the regex to accomidate, or even "hard code" in a specific Model string for the $model variable in the script filters.

    If you experience any further problems on this please follow-up with an email to support@netcordia.com.

    Technical Support Engineer
    Netcordia, Inc.
    410-266-6161 option 3
Page 1 of 1 (4 items)