45
Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software Upgrade Guide, 08.0.50 53-1004461-01 18 November 2016

Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

  • Upload
    others

  • View
    33

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Supporting FastIron Software Release 08.0.50

FOR BROCADE CONTROLLED RELEASE ONLY

SOFTWARE UPGRADE GUIDE

Brocade FastIron Software Upgrade Guide, 08.0.50

53-1004461-0118 November 2016

Page 2: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

© 2016, Brocade Communications Systems, Inc. All Rights Reserved.

Brocade, the B-wing symbol, and MyBrocade are registered trademarks of Brocade Communications Systems, Inc., in the United States and in othercountries. Other brands, product names, or service names mentioned of Brocade Communications Systems, Inc. are listed at www.brocade.com/en/legal/brocade-Legal-intellectual-property/brocade-legal-trademarks.html. Other marks may belong to third parties.

Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning any equipment,equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to this document at any time, withoutnotice, and assumes no responsibility for its use. This informational document describes features that may not be currently available. Contact a Brocadesales office for information on feature and product availability. Export of technical data contained in this document may require an export license from theUnited States government.

The authors and Brocade Communications Systems, Inc. assume no liability or responsibility to any person or entity with respect to the accuracy of thisdocument or any loss, cost, liability, or damages arising from the information contained herein or the computer programs that accompany it.

The product described by this document may contain open source software covered by the GNU General Public License or other open source licenseagreements. To find out which open source software is included in Brocade products, view the licensing terms applicable to the open source software, andobtain a copy of the programming source code, please visit http://www.brocade.com/support/oscd.

Brocade FastIron Software Upgrade Guide, 08.0.502 53-1004461-01

Page 3: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

ContentsPreface...................................................................................................................................................................................................................................5

Document conventions............................................................................................................................................................................................................................5Notes, cautions, and warnings.....................................................................................................................................................................................................5Text formatting conventions......................................................................................................................................................................................................... 5Command syntax conventions....................................................................................................................................................................................................6

Brocade resources.....................................................................................................................................................................................................................................6Document feedback..................................................................................................................................................................................................................................6Contacting Brocade Technical Support............................................................................................................................................................................................ 7

Brocade customers..........................................................................................................................................................................................................................7Brocade OEM customers............................................................................................................................................................................................................. 7

About this Document......................................................................................................................................................................................................... 9What’s new in this document................................................................................................................................................................................................................ 9Supported hardware..................................................................................................................................................................................................................................9

Upgrade and Downgrade Considerations................................................................................................................................................................... 11Upgrading to or downgrading from FastIron 8.0.40............................................................................................................................................................... 11

Static routing and IPv6 features enabled in base license..............................................................................................................................................11General considerations................................................................................................................................................................................................................11

Considerations for devices in stack configurations...................................................................................................................................................................13Upgrade considerations..............................................................................................................................................................................................................13

Upgrade considerations for devices with flexible authentication.........................................................................................................................................14Dot1x authentication and MAC authentication configured on default VLAN...................................................................................................... 15Dot1x authentication and MAC authentication configured on a VLAN other than the default VLAN.......................................................16Dot1x authentication and MAC authentication configured on a voice VLAN .....................................................................................................17

Software Upgrade and Downgrade.............................................................................................................................................................................. 19Software upgrade overview.................................................................................................................................................................................................................19Initial steps..................................................................................................................................................................................................................................................19

Determining the flash image version.....................................................................................................................................................................................20Determining the flash and boot image versions...............................................................................................................................................................21Determining the current licenses installed...........................................................................................................................................................................22

Upgrade process.....................................................................................................................................................................................................................................22Software upgrade...........................................................................................................................................................................................................................22

Loading images on the device...........................................................................................................................................................................................................23Upgrade and downgrade software images.........................................................................................................................................................................23Loading the boot code................................................................................................................................................................................................................ 23Loading the flash code................................................................................................................................................................................................................ 23Loading the boot code using TFTP.......................................................................................................................................................................................23Loading the boot code using SCP......................................................................................................................................................................................... 24Loading the flash code using TFTP...................................................................................................................................................................................... 24Loading the flash code using SCP.........................................................................................................................................................................................26Additional steps for loading boot code.................................................................................................................................................................................28

Software upgrade using a manifest file..........................................................................................................................................................................................31Example of a manifest file upgrade........................................................................................................................................................................................33

Software recovery....................................................................................................................................................................................................................................34Recovering software..................................................................................................................................................................................................................... 35

Downgrade process...............................................................................................................................................................................................................................37

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 3

Page 4: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

In-service software upgrade ..............................................................................................................................................................................................................37ISSU limitations and considerations...................................................................................................................................................................................... 37Recommended stack topology................................................................................................................................................................................................38How ISSU works when upgrading stack units...................................................................................................................................................................38Pre-ISSU check..............................................................................................................................................................................................................................40ISSU errors....................................................................................................................................................................................................................................... 41Upgrading a stack with ISSU ...................................................................................................................................................................................................42Manual error recovery.................................................................................................................................................................................................................. 44Reverting to the old image.........................................................................................................................................................................................................45

Brocade FastIron Software Upgrade Guide, 08.0.504 53-1004461-01

Page 5: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Preface• Document conventions...................................................................................................................................................................................... 5• Brocade resources............................................................................................................................................................................................... 6• Document feedback............................................................................................................................................................................................ 6• Contacting Brocade Technical Support.......................................................................................................................................................7

Document conventionsThe document conventions describe text formatting conventions, command syntax conventions, and important notice formats used inBrocade technical documentation.

Notes, cautions, and warningsNotes, cautions, and warning statements may be used in this document. They are listed in the order of increasing severity of potential

hazards.

NOTEA Note provides a tip, guidance, or advice, emphasizes important information, or provides a reference to related information.

ATTENTIONAn Attention statement indicates a stronger note, for example, to alert you when traffic might be interrupted or the device mightreboot.

CAUTIONA Caution statement alerts you to situations that can be potentially hazardous to you or cause damage to hardware,firmware, software, or data.

DANGERA Danger statement indicates conditions or situations that can be potentially lethal or extremely hazardous to you. Safetylabels are also attached directly to products to warn of these conditions or situations.

Text formatting conventionsText formatting conventions such as boldface, italic, or Courier font may be used to highlight specific words or phrases.

Format Description

bold text Identifies command names.

Identifies keywords and operands.

Identifies the names of GUI elements.

Identifies text to enter in the GUI.

italic text Identifies emphasis.

Identifies variables.

Identifies document titles.

Courier font Identifies CLI output.

FOR BROCADE CONTROLLED RELEASE ONLY

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 5

Page 6: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Format Description

Identifies command syntax examples.

Command syntax conventionsBold and italic text identify command syntax components. Delimiters and operators define groupings of parameters and their logicalrelationships.

Convention Description

bold text Identifies command names, keywords, and command options.

italic text Identifies a variable.

value In Fibre Channel products, a fixed value provided as input to a command option is printed in plain text, forexample, --show WWN.

[ ] Syntax components displayed within square brackets are optional.

Default responses to system prompts are enclosed in square brackets.

{ x | y | z } A choice of required parameters is enclosed in curly brackets separated by vertical bars. You must selectone of the options.

In Fibre Channel products, square brackets may be used instead for this purpose.

x | y A vertical bar separates mutually exclusive elements.

< > Nonprinting characters, for example, passwords, are enclosed in angle brackets.

... Repeat the previous element, for example, member[member...].

\ Indicates a “soft” line break in command examples. If a backslash separates two lines of a commandinput, enter the entire command at the prompt without the backslash.

Brocade resourcesVisit the Brocade website to locate related documentation for your product and additional Brocade resources.

White papers, data sheets, and the most recent versions of Brocade software and hardware manuals are available at www.brocade.com.Product documentation for all supported releases is available to registered users at MyBrocade.Click the Support tab and select Document Library to access documentation on MyBrocade or www.brocade.com You can locatedocumentation by product or by operating system.

Release notes are bundled with software downloads on MyBrocade. Links to software downloads are available on the MyBrocade landingpage and in the Document Library.

Document feedbackQuality is our first concern at Brocade, and we have made every effort to ensure the accuracy and completeness of this document.However, if you find an error or an omission, or you think that a topic needs further development, we want to hear from you. You canprovide feedback in two ways:

• Through the online feedback form in the HTML documents posted on www.brocade.com

• By sending your feedback to [email protected]

Provide the publication title, part number, and as much detail as possible, including the topic heading and page number if applicable, aswell as your suggestions for improvement.

FOR BROCADE CONTROLLED RELEASE ONLY

Brocade resources

Brocade FastIron Software Upgrade Guide, 08.0.506 53-1004461-01

Page 7: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Contacting Brocade Technical SupportAs a Brocade customer, you can contact Brocade Technical Support 24x7 online, by telephone, or by e-mail. Brocade OEM customersshould contact their OEM/solution provider.

Brocade customersFor product support information and the latest information on contacting the Technical Assistance Center, go to www.brocade.com andselect Support.

If you have purchased Brocade product support directly from Brocade, use one of the following methods to contact the BrocadeTechnical Assistance Center 24x7.

Online Telephone E-mail

Preferred method of contact for non-urgentissues:

• Case management through the MyBrocade portal.

• Quick Access links to KnowledgeBase, Community, Document Library,Software Downloads and Licensingtools

Required for Sev 1-Critical and Sev 2-Highissues:

• Continental US: 1-800-752-8061

• Europe, Middle East, Africa, and AsiaPacific: +800-AT FIBREE (+800 2834 27 33)

• Toll-free numbers are available inmany countries.

• For areas unable to access a toll-freenumber: +1-408-333-6061

[email protected]

Please include:

• Problem summary

• Serial number

• Installation details

• Environment description

Brocade OEM customersIf you have purchased Brocade product support from a Brocade OEM/solution provider, contact your OEM/solution provider for all ofyour product support needs.

• OEM/solution providers are trained and certified by Brocade to support Brocade® products.

• Brocade provides backline support for issues that cannot be resolved by the OEM/solution provider.

• Brocade Supplemental Support augments your existing OEM support contract, providing direct access to Brocade expertise.For more information, contact Brocade or your OEM.

• For questions regarding service levels and response times, contact your OEM/solution provider.

FOR BROCADE CONTROLLED RELEASE ONLY

Contacting Brocade Technical Support

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 7

Page 8: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Brocade FastIron Software Upgrade Guide, 08.0.508 53-1004461-01

Page 9: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

About this Document• What’s new in this document...........................................................................................................................................................................9• Supported hardware............................................................................................................................................................................................ 9

What’s new in this documentTABLE 1 Summary of enhancements in FastIron release 8.0.50

Feature Description Location

Command line interface Command line interface (CLI) syntax statementsand parameter tables are now in the BrocadeFastIron Command Reference Guide.

These changes occur throughout the text.

Configuration examples Changes have been made to configurationexamples, with all examples now presented as aseries of steps.

These tasks are presented after the conceptualinformation.

Information taxonomy applied To improve consistency and access, the informationin this guide has been restructured according toapproved Brocade information taxonomy.

These changes occur throughout the text.

In-service software upgrade (ISSU) With ISSU, the stack upgrade occurs in a particularsequence aimed at reducing the disruption of thecustomer network connected to the stack.

Upgrade and Downgrade chapter,In-service software upgrade on page 37.

Supported hardwareThis guide supports the following product families from Brocade:

• Brocade ICX 7250 series (ICX 7250)

• Brocade ICX 7450 series (ICX 7450)

• Brocade ICX 7750 series (ICX 7750)

For information about the specific models and modules supported in a product family, refer to the hardware installation guide for thatproduct family.

FOR BROCADE CONTROLLED RELEASE ONLY

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 9

Page 10: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Brocade FastIron Software Upgrade Guide, 08.0.5010 53-1004461-01

Page 11: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Upgrade and Downgrade Considerations• Upgrading to or downgrading from FastIron 8.0.40..........................................................................................................................11• Considerations for devices in stack configurations............................................................................................................................. 13• Upgrade considerations for devices with flexible authentication................................................................................................... 14

Upgrading to or downgrading from FastIron 8.0.40NOTEYou must upgrade both the boot code and flash image that supports this release before rebooting. Refer to "Software imagefiles for Release 8.0.xx" in the release notes for detailed information.

Static routing and IPv6 features enabled in base licenseFastIron release 8.0.40 introduces IPv6 static routing as part of the base license for ICX devices. This feature was previously availableonly under the premium license. If you downgrade from FastIron 8.0.40 to an earlier release that is covered by a premium license, thereis no impact. If the earlier release is not covered by a premium license, any IPv6 static routing configuration is lost. Refer to the BrocadeFastIron Software Licensing Guide for more information on licensing changes.

General considerations

Upgrade considerations• If upgrading from either FastIron release 8.0.40 or 8.0.40a to FastIron 8.0.50, after the upgrade you must add /guest to the

address of the captive portal login page, so that the address .../test.php reads .../guest/test.php.

• There are two ways to upgrade the software. You can perform a manual (step-by-step) upgrade or upgrade through a manifestfile. Refer to the chapter Software Upgrade and Downgrade on page 19.

• MACsec in FastIron releases 8.0.20a onward, is not compatible with previous versions of the MACsec feature due to changesin CLI functionality. An upgrade is required.

• If configured, syslogs do not persist across reloads.

FOR BROCADE CONTROLLED RELEASE ONLY

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 11

Page 12: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

ATTENTIONThere is a change in the default route configuration between the FastIron 7.x and FastIron 8.x releases. In the FastIron 8.xreleases, the default route next hop cannot be configured as an GRE tunnel, VE, or physical port interface, which was supportedin 7.x releases.Before you upgrade from FastIron 7.x to FastIron 8.x, you must change the default GRE tunnel number to the GRE tunnel IPaddress. Otherwise, connectivity is lost after the upgrade. For example on a device running FastIron 7.4 the following output isseen the In the running configuration:

device# show running-config | include ip routeip route 10.10.10.10 0.0.0.0 tunnel 1

To change the GRE IP route configuration:

device(config)# ip route 10.10.10.10 0.0.0.0 10.11.11.11 device(config)# exitdevice# show running-config | include ip routeip route 10.10.10.10 0.0.0.0 10.11.11.11

Where 10.11.11.11 is the IP address at the other end of the GRE tunnel.

Downgrade considerations• After a downgrade from release 8.0.50, the uplink switch feature is not supported.

• Release 8.0.50 allows ICX 7250 as a Port Extender. As such, ICX 7750 allows reserved configuration of ICX 7750, ICX 7450and ICX 7250. When a CB containing ICX 7250 provisional configuration downgrades to Release 8.0.40, all ICX 7250configuration is rejected.

• When downgrading to a version earlier than FastIron 8.0.10, software-based licensing is not supported.

• SSHv2 RSA host key format may differ among FastIron software versions.

• If you downgrade to FastIron 8.0.40 and if the saved configuration has options enabled (e.g., IPsec, IKEv2) that do not exist inthe earlier release, then an error message is displayed while the system is parsing the configuration. To avoid this type of errormessage, delete the enabled options then save the configuration before you downgrade to FastIron 8.0.40.

• If you downgrade to FastIron 8.0.40, before the downgrade you must enable LLDP at a global level by executing an ldap runcommand followed by a write memory command. Otherwise, the 802.1br (Bridge Port Extension) setup might fail to form anda warning is displayed in the output of the show spx command: Warning! has "spx-cb-enable" config but no"lldp run".

• Upon a downgrade, you may observe the following with policy based routing (PBR) over VRF:

– If PBR is enabled on the VRF aware interface, it is removed on downgrade.– You may receive an error when executing the next hop command with VRF if you boot up using the running-config

file.

NOTEFor more information about PBR over VRF, see the Brocade FastIron Security ConfigurationGuide.

• The ICX 7250 and 7450 must run 8.0.50 image to be discovered by the zero touch or SPX interactive-setup feature. Bydefault, DHCP client is enabled on these products. Therefore, customers can configure a DHCP and TFTP server to push newimages to ICX 7250 and ICX 7450 when they link to networks or a SPX system.

• During the downgrade from a version where a sequence number is supported to lower version where it is not supported, theglobal suppress ACL sequence command - supress acl-sequence must be executed before saving the configuration.

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrading to or downgrading from FastIron 8.0.40

Brocade FastIron Software Upgrade Guide, 08.0.5012 53-1004461-01

Page 13: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

If the suppress acl-sequence command is not enabled before downgrade, The ACL configurations created with sequenceparameter on 8.0.50 release persist in the earlier release, and result in an error.

• If the PVLAN Dual Mode Support feature is enabled, if you downgraded to FastIron 08.0.40 or older releases, errors are thrownduring parsing time as this configuration is not supported before the FastIron 08.0.50 release.

• All specific Route-only feature configurations are lost on downgrade.

• If Layer 2 Mode Querier Address feature is enabled, when you downgrade to an older release, the system throws a commandnot recognized error.

Deprecated or removed features and commands• SNTP is no longer supported. NTPv4 replaces SNTP.

• The Port Speed Down-Shift feature is deprecated in FastIron 08.0.xx.

• The stack persistent-mac-timer command is deprecated in FastIron 08.0.20.

• The link-config gig copper autoneg-control down-shift ethernet command is deprecated.

• The show cpu-utilization command replaces the show process cpu command.

Flash memory capacityAll FastIron devices can hold two Layer 2 or Layer 3 images (for example, SWS08050.bin for Layer 2 and SWR08050.bin for full Layer3).

Considerations for devices in stack configurations

Upgrade considerations• Hitless stacking is enabled by default for FastIron 8.0.20 and later releases. In previous releases, hitless-failover enable must

be configured. Upgrade behavior is as follows:

– Upgrading to FastIron release 8.0.30 or 8.0.40 from a system running release 8.0.10 configured with hitless-failoverenable - You must manually configure hitless-failover enable.

– Upgrading to FastIron release 8.0.20 from an earlier version with hitless-failover enable configured - Hitless failover isretained as the default.

– Upgrading to FastIron release 8.0.20 or later on a system running an earlier release that does not have hitless-failoverenable configured - The previous configuration is retained; hitless stacking failover is not enabled.

– Installing a FastIron release 8.0.20 or later image on a new system with no previous configuration. - Configured withhitless-failover enable is the default.

• Units in a stack must run the same IPC version to communicate. After an upgrade, verify that the same image is downloaded toevery unit in the stack before reloading the entire stack. To verify the images, enter the show flash command at any level of theCLI. A stack cannot be built and does not operate if one or more units have different software images.

• A stack cannot form if the software images are of different major versions. A stack member is not operational if it runs adifferent minor version from other stack members. However, the active controller can download an image and reset a non-operational unit that has a minor version number different from the active controller.

• A stack cannot form if the software images are of different major versions. A stack member is not operational if it runs adifferent minor version than other stack members; however, the active controller can download an image and reset a non-operational unit that has a minor version number different from the active controller.

FOR BROCADE CONTROLLED RELEASE ONLY

Considerations for devices in stack configurations

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 13

Page 14: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

• The Layer 3 configuration on your device becomes part of the default VRF after upgrade. If no configurations are done, allinterfaces are part of the default VRF.

Upgrade considerations for devices with flexibleauthenticationThe following behavior associated with flexible authentication should be taken into consideration when you upgrade or downgradeFastIron.

The authentication vlan-mode command, introduced in FastIron 8.0.30b, affects upgrades and downgrades as summarized in thefollowing tables.

TABLE 2 Flexible authentication upgrade results

FastIron upgrade scenario vlan-mode Comments

8.0.10 to 8.0.20 Multiple untagged Port can be part of multiple VLANs.

8.0.10 to 8.0.30b and laterreleases

Single untagged After upgrade, the default behavior is single untagged.

If required, this default behavior can be changed to multiple untaggedusing the new CLI.

8.0.20 to 8.0.30b and laterreleases

Single untagged. There are nochanges to the configuration.

After upgrade, the default behavior is single untagged.

If required, this default behavior can be changed to multiple untagged.

TABLE 3 Flexible authentication downgrade results

FastIron downgrade scenario vlan-mode Comments

8.0.30b and later releases to 8.0.20 Multiple untagged The new authentication vlan-mode command configuration is lost.

8.0.30b and later releases to 8.0.10x Single untagged All flexible authentication configuration is lost. You must reconfigure as per CLIsyntax in FastIron 8.0.10x.

8.0.20 to 8.0.10x Single untagged All flexible authentication configuration is lost. You must reconfigure as per CLIsyntax in FastIron 8.0.10x.

FastIron 8.0.30b introduced support for the authentication max-sessions command on ICX 7250, ICX 7450, and ICX 7750 devices.Consequently, when you upgrade to or downgrade from FastIron 8.0.40, CLI behavior changes. The following tables summarizechanges for different FastIron devices.

TABLE 4 Upgrade behavior for the authentication max-sessions command

FastIron upgrade scenario Behavior Comment

8.0.10 to 8.0.20 Maximum = 32 users For ICX 7450 and ICX 7750 devices, the default is 32 and cannot be changed.

8.0.10 to 8.0.30b and laterreleases

Default = 2 users Can be configured to a maximum of 256 or 1024, depending on the type of device.

8.0.20 to 8.0.30b and laterreleases

Default = 2 users Can be configured to a maximum of 256 or 1024, depending on the type of device.

TABLE 5 Downgrade behavior for the authentication max-sessions command

FastIron downgrade scenario Behavior Comment

8.0.30b and later releases to 8.0.20x Maximum = 32 users Configuration is lost on downgrade when the configured max-sessions value isgreater than 32.

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrade considerations for devices with flexible authentication

Brocade FastIron Software Upgrade Guide, 08.0.5014 53-1004461-01

Page 15: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

TABLE 5 Downgrade behavior for the authentication max-sessions command (continued)

FastIron downgrade scenario Behavior Comment

8.0.30b and later releases to 8.0.10x Maximum = 250 users Configuration lost on downgrade.

8.0.20 to 8.0.10x Maximum = 250 users Configuration lost on downgrade.

Refer to the Brocade FastIron Security Configuration Guide and the following sections for more information on flexible authentication.

Dot1x authentication and MAC authentication configured on default VLAN on page 15

Dot1x authentication and MAC authentication configured on a VLAN other than the default VLAN on page 16

Dot1x authentication and MAC authentication configured on a voice VLAN on page 17

Dot1x authentication and MAC authentication configured on default VLANBeginning with the FastIron 8.0.20 release, after you upgrade, global configuration for both dot1x authentication and MAC authenticationmove under the authentication section. The first unused VLAN becomes the authentication default VLAN (the auth-default-vlan), shownas VLAN 2 in the following example. Interface level configuration for dot1x authentication and MAC authentication conform to any newCLI changes that are part of the upgrade.

In the example shown below, before an upgrade, the configured ports are part of the default VLAN. Authentication with dot1x is enabledon port 2/1/24 and MAC authentication is enabled on port 2/1/23 both globally and at the interface level. After upgrade, since port2/1/23 and port 2/1/24 are part of the default VLAN, they become part of the authentication default VLAN (auth-default-vlan)identified as VLAN 2.

vlan 1 name DEFAULT-VLAN by port >> 2/1/24 and 2/1/23 ports are part of default vlan!vlan 3 by porttagged ethe 1/1/5 !vlan 100 by porttagged ethe 1/1/9 untagged ethe 1/1/18 !vlan 200 by portuntagged ethe 1/1/15 !vlan 201 by port!dot1x-enable >> global configurationenable ethe 2/1/24 !mac-authentication enable >> global configurationmac-authentication auth-passwd-format xxxx.xxxx.xxxx! interface ethernet 2/1/24 >> interface leveldot1x port-control auto!interface ethernet 2/1/23 >> interface levelmac-authentication enablemac-authentication max-accepted-session 32

The following example shows the configuration after the upgrade.

vlan 1 name DEFAULT-VLAN by port!vlan 2 by port!vlan 3 by porttagged ethe 1/1/5 !vlan 100 by port

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrade considerations for devices with flexible authentication

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 15

Page 16: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

tagged ethe 1/1/9 untagged ethe 1/1/18 !vlan 200 by portuntagged ethe 1/1/15 !vlan 201 by port!authentication >> dot1x and mac-auth global commands appear under authentication commandauth-default-vlan 2dot1x enable dot1x enable ethe 2/1/24mac-authentication enablemac-authentication enable ethe 2/1/23 mac-authentication password-format xxxx.xxxx.xxxx!interface ethernet 2/1/23authentication max-sessions 32!interface ethernet 2/1/24 dot1x port-control auto!

Dot1x authentication and MAC authentication configured on a VLAN otherthan the default VLANBeginning with the FastIron 8.0.20 release, after you upgrade, global configuration for both dot1x authentication and MAC authenticationmove under the authentication section, and the first unused VLAN becomes authentication default VLAN (the auth-default-vlan), VLAN2 in the following example.

In the example below, before upgrade, with dot1x authentication enabled globally on port 2/1/24 and MAC authentication enabledglobally on port 2/1/23, the configured ports are part of VLANs 600 and 601. After upgrade, VLAN 600 becomes the auth-default-vlan for prot 2/1/24, and 601 becomes the auth-default-vlan for port 2/1/23.

vlan 1 name DEFAULT-VLAN by port!vlan 3 by porttagged ethe 1/1/5 !vlan 100 by porttagged ethe 1/1/9 untagged ethe 1/1/18 !vlan 200 by portuntagged ethe 1/1/15 !vlan 201 by port!vlan 600 by port untagged ethe 2/1/24!vlan 601 by portuntagged ethe 2/1/23 !dot1x-enable >> global configurationenable ethe 2/1/24 !mac-authentication enable >> global configurationmac-authentication auth-passwd-format xxxx.xxxx.xxxx! interface ethernet 2/1/24 >> interface leveldot1x port-control auto!interface ethernet 2/1/23 >> interface level

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrade considerations for devices with flexible authentication

Brocade FastIron Software Upgrade Guide, 08.0.5016 53-1004461-01

Page 17: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

mac-authentication enablemac-authentication max-accepted-session 32

The following example shows the configuration after the upgrade.

vlan 1 name DEFAULT-VLAN by port!vlan 2 by port!vlan 3 by porttagged ethe 1/1/5 !vlan 100 by porttagged ethe 1/1/9 untagged ethe 1/1/18 !vlan 200 by portuntagged ethe 1/1/15 !vlan 201 by port!vlan 600 by port >> 2/1/24 should be removed!vlan 601 by port >> 2/1/23 should be removed!authenticationauth-default-vlan 2dot1x enable dot1x enable ethe 2/1/24mac-authentication enablemac-authentication enable ethe 2/1/23 mac-authentication password-format xxxx.xxxx.xxxx!interface ethernet 2/1/24authentication auth-default-vlan 600dot1x port-control auto!interface ethernet 2/1/23authentication auth-default-vlan 601authentication max-sessions 32!

Dot1x authentication and MAC authentication configured on a voice VLANBeginning with the FastIron 8.0.20 release, after you upgrade, global configuration for both dot1x authentication and MAC authenticationmoves under the authentication section, and the first unused VLAN moves to the authentication default VLAN (the auth-default-vlan)section, identified as VLAN 2 in the following example. The dual-mode sections are replaced by the auth-default-vlan at the interfacelevel. The voice-vlan section remains the same.

In the example below, before an upgrade, dot1x authentication is enabled globally on port 2/1/24 and MAC authentication is enabledglobally on port 2/1/23. The tagged ports are part of VLANs 100 and 200 respectively. Both of these tagged ports are part of voice-vlan VLAN 1000. After an upgrade, VLAN 100 becomes the auth-default-vlan for port 2/1/24, and VLAN 200 becomes the auth-default-vlan for port 2/1/23. The voice-vlan section is retained.

vlan 1 name DEFAULT-VLAN by port!vlan 3 by porttagged ethe 1/1/5 !vlan 100 by porttagged ethe 1/1/9 ethe 2/1/24 untagged ethe 1/1/18 !vlan 200 by porttagged ethe 2/1/23

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrade considerations for devices with flexible authentication

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 17

Page 18: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

untagged ethe 1/1/15 !vlan 1000 by porttagged ethe 2/1/23 to 2/1/24!dot1x-enable >> global configurationenable ethe 2/1/24 !mac-authentication enable >> global configurationmac-authentication auth-passwd-format xxxx.xxxx.xxxx!interface ethernet 2/1/24 >> interface leveldot1x port-control autodual-mode 100voice-vlan 1000!interface ethernet 2/1/23 >> interface levelmac-authentication enablemac-authentication max-accepted-session 32dual-mode 200voice-vlan 1000

The following example shows the configuration after the upgrade.

switch# show running-config vlanvlan 1 name DEFAULT-VLAN by port!vlan 2 by port!vlan 3 by porttagged ethe 1/1/5 !vlan 100 by porttagged ethe 1/1/9 >> 2/1/24 should be removeduntagged ethe 1/1/18 !vlan 200 by port >> 2/1/23 should be removeduntagged ethe 1/1/15 !vlan 1000 by porttagged ethe 2/1/23 to 2/1/24 !authenticationauth-default-vlan 2dot1x enabledot1x enable ethe 2/1/24mac-authentication enablemac-authentication enable ethe 2/1/23 mac-authentication password-format xxxx.xxxx.xxxx!interface ethernet 2/1/24authentication auth-default-vlan 100dot1x port-control autovoice-vlan 1000!interface ethernet 2/1/23authentication auth-default-vlan 200authentication max-sessions 32voice-vlan 1000!

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrade considerations for devices with flexible authentication

Brocade FastIron Software Upgrade Guide, 08.0.5018 53-1004461-01

Page 19: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Software Upgrade and Downgrade• Software upgrade overview........................................................................................................................................................................... 19• Initial steps............................................................................................................................................................................................................ 19• Upgrade process................................................................................................................................................................................................22• Loading images on the device..................................................................................................................................................................... 23• Software upgrade using a manifest file.................................................................................................................................................... 31• Software recovery.............................................................................................................................................................................................. 34• Downgrade process..........................................................................................................................................................................................37• In-service software upgrade ........................................................................................................................................................................ 37

Software upgrade overviewThere are two ways you can perform an upgrade, either through a manual step-by-step process or through a manifest file.

Support is available for upgrades starting at release 8.0.0.

1. For any upgrade, follow the instructions in Initial steps on page 19 to determine the current software versions, licenserequirements, and instructions on where to download the software.

If configured, syslogs do not persist across reloads.

2. Upgrade the software.

• For a step-by-step upgrade go to the section Upgrade process on page 22 then finish by referring to Loading images onthe device on page 23.

• For a manifest file upgrade go to the section Software upgrade using a manifest file on page 31.

Upgrade both the boot code and flash image before a reload command is executed.

3. If the device is running in FIPS mode follow these steps:

a) Signature verify the boot image that is copied to the system.

If signature verification fails, copy a matching boot image signature file.

b) Copy the signature file before the upgrade.

c) After the signature file has been copied, copy the boot image.

d) After the boot image binary has been copied, perform a signature verification.

The data is saved to the bootrom only when there has been a successful verification.

Initial steps• You must upgrade to the boot code that supports this release. Refer to "Software image files for Release 8.0.xx" in the release

notes for detailed information.

• The output shows an upgrade done from an 8.0.30 image to 8.0.40.

• In this section, some of the output is truncated. Detailed output is shown in the following section.

FOR BROCADE CONTROLLED RELEASE ONLY

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 19

Page 20: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Perform the following steps before an upgrade or downgrade.

1. Determine the current boot image version using the show flash command.

device# show flashStack unit 1: Compressed Pri Code size = 24108665, Version:08.0.40qT213 (SPR08040q074.bin) Compressed Sec Code size = 24108665, Version:08.0.40qT213 (SPR08040q074.bin) Compressed Boot-Monitor Image size = 786944, Version:10.1.06T215 (spz10106b002) Code Flash Free Space = 1768706048device#

2. Determine the current flash image version using the show version command.

device# show version Copyright (c) 1996-2015 Brocade Communications Systems, Inc. All rights reserved. UNIT 1: compiled on May 19 2015 at 20:07:00 labeled as SPS08040b074 (28893380 bytes) from Primary SPS08030.bin SW: Version 08.0.40b074T211 Compressed Boot-Monitor Image size = 786944, Version:10.1.06T215 (spz10106b002) HW: Stackable ICX7450-24...<output is truncated to show relevant sections only>

3. Determine the current license installed using the show version command.

device# show version...License: BASE_SOFT_PACKAGE (LID: eavIIJLmFIK) P-ASIC 0: type B548, rev 01 Chip BCM56548_A0... <output is truncated to show relevant sections only>

4. Generate a new license, if required, from the Software License page on Brocade.com. If you are upgrading to a different type ofimage that uses a different license from the one already installed on the device, generate a separate license file. For moreinformation on licenses, refer to the Brocade FastIron Software Licensing Guide.

5. Download the required software images from the Downloads page on the MyBrocade website. For the list of software imagefiles available for FastIron 08.0.xx, refer to the release notes.

For more information, see the sections:

Determining the flash image version on page 20

Determining the flash and boot image versions on page 21

Determining the current licenses installed on page 22.

Determining the flash image versionTo determine the flash image version, enter the show version command at any level of the CLI.

device# show versionCopyright (c) 1996-2015 Brocade Communications Systems, Inc. All rights reserved. UNIT 1: compiled on May 19 2015 at 20:07:00 labeled as SPS08040b074 (28893380 bytes) from Primary SPS08040b074.bin SW: Version 08.0.40b074T211 Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 (spz10105) HW: Stackable ICX7450-24 Internal USB: Serial #: 9900614090900038 Vendor: ATP Electronics, Total size = 1919 MB==========================================================================UNIT 1: SL 1: ICX7450-24 24-port Management Module Serial #:CYT3346K035 License: BASE_SOFT_PACKAGE (LID: eavIIJLmFIK)

FOR BROCADE CONTROLLED RELEASE ONLY

Initial steps

Brocade FastIron Software Upgrade Guide, 08.0.5020 53-1004461-01

Page 21: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

P-ASIC 0: type B548, rev 01 Chip BCM56548_A0==========================================================================UNIT 1: SL 2: ICX7400-4X10GF 4-port 40G Module Serial #:CYV3346K07G==========================================================================UNIT 1: SL 3: ICX7400-1X40GQ 1-port 40G Module Serial #:CYX3346K06F==========================================================================UNIT 1: SL 4: ICX7400-1X40GQ 1-port 40G Module Serial #:CYX3346K00A========================================================================== 1000 MHz ARM processor ARMv7 88 MHz bus 8192 KB boot flash memory 2048 MB code flash memory 2048 MB DRAMSTACKID 1 system uptime is 12 hour(s) 20 minute(s) 45 second(s)The system : started=cold start

In this example:

• In the second line of the first section:

"UNIT 1: compiled on May 19 2015 at 20:07:00 labeled as SPS08040b074"

"SPS08040b074" is the flash code image label. This is the image type and version and is especially useful if you change theimage file name.

• In the third line of the first section:

"(28893380 bytes) from Primary SPS08040b074.bin "

"SPS08040b074.bin" is the loaded flash code image file name.

• In the fifth line of the first section:

" Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 (spz10105) "

"10.1.05T215" is the flash code version number.

• In the third line of the second section:

"License: BASE_SOFT_PACKAGE (LID: eavIIJLmFIK)" is the license currently installed on the device.

Determining the flash and boot image versionsTo determine the boot and flash images installed on a device, enter the show flash command at any level of the CLI.

device# show flashStack unit 1: Compressed Pri Code size = 28893380, Version:08.0.40T211 (SPS08040b074.bin) Compressed Sec Code size = 28893380, Version:08.0.40T211 (SPS08040b074.bin) Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 Code Flash Free Space = 1776869376device#

In the previous example:

• "Compressed Pri Code size" is the flash code version installed on the primary flash area.

• "Compressed Sec Code size" is the flash code version installed in the secondary flash area.

• "Compressed Boot-Monitor Image size" is the boot code version installed in flash memory.

NOTEFile names vary for differentreleases.

FOR BROCADE CONTROLLED RELEASE ONLY

Initial steps

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 21

Page 22: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Determining the current licenses installedUse the show version command to display the licenses installed on the device.

device# show versionCopyright (c) 1996-2015 Brocade Communications Systems, Inc. All rights reserved. UNIT 1: compiled on May 19 2015 at 20:07:00 labeled as SPS08040b074 (28893380 bytes) from Primary SPS08040b074.bin SW: Version 08.0.40b074T211 Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 (spz10105) HW: Stackable ICX7450-24 Internal USB: Serial #: 9900614090900038 Vendor: ATP Electronics, Total size = 1919 MB==========================================================================UNIT 1: SL 1: ICX7450-24 24-port Management Module Serial #:CYT3346K035 License: BASE_SOFT_PACKAGE (LID: eavIIJLmFIK) P-ASIC 0: type B548, rev 01 Chip BCM56548_A0==========================================================================

In this example, the second section shows that a base software package license is installed, with a license ID (LID) of eavIIJLmFIK.

What to do next1. If required, generate a new license from the Software License page on Brocade.com. For instructions on how to generate a

license, refer to the Brocade FastIron Software Licensing Guide.

2. Download the software from the Downloads page on the MyBrocade website to a TFTP server.

3. Perform the upgrade:

• If you are conducting a manual (step-by-step) upgrade, go to the section Upgrade process on page 22.

• If you are conducting a manifest file upgrade, go to the section Software upgrade using a manifest file on page 31.

Upgrade processThis release introduces several new features and enhancements across all FastIron products. Before upgrading the software on thedevice, refer to Upgrade and Downgrade Considerations on page 11.

NOTEIf you are upgrading from FastIron 8.0.10 or later, you can upgrade using a manifest file. It provides a simplified upgrademechanism, especially for units in a stack. For details, refer to Software upgrade using a manifest file on page 31.

Software upgradeTo upgrade software on ICX 7250, ICX 7450, and ICX 7750 devices, follow the high-level steps listed below.

1. Load the boot code and flash code. For detailed steps, refer to Loading images on the device on page 23.

2. Enter the write memory command to back up the existing startup configuration and to save the running configuration as thestartup configuration. The existing startup configuration file, startup-config.txt, is automatically copied and synched to thestandby unit.

FOR BROCADE CONTROLLED RELEASE ONLY

Upgrade process

Brocade FastIron Software Upgrade Guide, 08.0.5022 53-1004461-01

Page 23: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Loading images on the deviceAny software upgrade or downgrade requires you to copy the downloaded images onto the device and load the new image on thedevice. You must load the boot code and flash code on the device.

Upgrade and downgrade software imagesSoftware images for all Brocade devices can be uploaded and downloaded between flash modules on the devices and a TFTP server onthe network.

Brocade devices have two flash memory modules:

• Primary flash - The default local storage device for image files and configuration files

• Secondary flash - A second flash storage device. You can use secondary flash to store redundant images for additional bootingreliability or to preserve one software image while testing another one.

Only one flash device is active at a time. By default, the primary image becomes active when you reboot the device.

You can use TFTP to copy an update image from a TFTP server onto a flash module. You can also use the Secure Copy Protocol (SCP)to copy images to and from a host. When you want to back up the current configuration and images for a device, you can copy theimages and configuration files from a flash module to a TFTP server.

NOTEBrocade devices are TFTP clients, not TFTP servers. You must perform a TFTP transaction from the Brocade device.

Loading the boot codeYou can load the boot code using either TFTP or SCP as described in the following sections:

Loading the boot code using TFTP on page 23

Loading the boot code using SCP on page 24

Loading the flash codeYou can load the flash code using either TFTP or SCP as described in the following sections:

Loading the flash code using TFTP on page 24

Loading the flash code using SCP on page 26

NOTEIt is strongly recommended that you use SCP for reliable and secure loading of flashcode.

Loading the boot code using TFTP1. Place the new boot code on a TFTP server to which the Brocade device has access.

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 23

Page 24: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

2. Enter the following command at the privileged EXEC level of the CLI to copy the boot code from the TFTP server into flashmemory:

copy tftp flash ip-addr image-file-name bootrom

For example:

device# copy tftp flash 192.168.10.12 spz10106.bin bootrom

ICX devices generate an output similar to the following:

device# Load to buffer (8192 bytes per dot)..............................................................................................SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT.................................................................................................TFTP to Flash Done

3. Verify that the code has been successfully copied by using the show flash command at any level of the CLI to check the bootcode version. The output displays the compressed boot ROM code size and the boot code version.

Next, go to the section Loading the flash code using TFTP on page 24.

Loading the boot code using SCP1. Place the new boot code on an SCP-enabled host to which the Brocade device has access.

2. If the device has only 8 MB of flash memory, or if you want to install a full Layer 3 image, delete both the primary andsecondary image using the erase flash command.

3. Enter the following command to copy the boot code from the SCP-enabled host into flash memory:

pscp image-file-name hostname@management-ip:flash:bootrom

For example:

C:\> pscp swz10106b002.bin [email protected]:flash:bootrom

4. Verify that the code has been successfully copied onto the device by using the show flash command at any level of the CLI.The output displays the compressed boot ROM code size and the boot code version.

Next, go to the section Loading the flash code using SCP on page 26.

Loading the flash code using TFTPThe boot code is loaded.

NOTEWhen upgrading the flash image version, the image is automatically updated across all stack units. For other devices, whenupgrading from one major release to another (for example, from FastIron 8.0.30 to 8.0.40), make sure that every unit in thetraditional stack has the same code. If you reboot the stack while units are running different code versions, the units cannotcommunicate.

1. Place the new flash code on a TFTP server to which the Brocade device has access.

2. If the device has only 8 MB of flash memory, or if you want to install a full Layer 3 image, make sure that the TFTP server andthe image file are reachable and then delete the primary and secondary images before proceeding.

If the primary flash contains additional files that are not related to the software update, it is recommended that these files also bedeleted.

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5024 53-1004461-01

Page 25: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

3. Copy the flash code from the TFTP server into flash memory using the copy tftp flash command.

device# copy tftp flash 192.168.10.12 SPS08040.bin primarydevice# Load to buffer (8192 bytes per dot)..............................................................................................SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT.................................................................................................TFTP to Flash Done.

This example shows the loading of an image on an ICX 7450 or ICX 7750 device to primary flash memory.

4. Verify the flash image version by entering the show flash command.

device# show flashStack unit 1: Compressed Pri Code size = 24018046, Version:08.0.40qT213 (SPR08040q042.bin) Compressed Sec Code size = 24018046, Version:08.0.40qT213 (SPR08040q042.bin) Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 Code Flash Free Space = 1768706048device#

5. Reboot the device using the reload or boot system command.

• Reboot the device by entering the reload command.

device# reload

• The following example shows how to boot the image from the secondary flash.

device# boot system flash secondary

• The following example shows how to boot the image from the primary flash and save the preference to the startupconfiguration.

device# boot system flash primary yes

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 25

Page 26: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

6. Verify that the new flash image is running on the device by entering the show version command.

device# show versionCopyright (c) 1996-2015 Brocade Communications Systems, Inc. All rightsreserved.UNIT 1: compiled on Oct 1 2015 at 11:29:56 labeled as SPR08040q042(24018046 bytes) from Secondary SPR08040q042.binSW: Version 08.0.40q042T213Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215(spz10105b008)Compiled on Thu Jul 16 06:27:06 2015HW: Stackable ICX7450-24Internal USB: Serial #: 9900614090900038Vendor: ATP Electronics, Total size = 1919 MB==========================================================================UNIT 1: SL 1: ICX7450-24 24-port Management ModuleSerial #:CYT3346K035License: ICX7450_L3_SOFT_PACKAGE (LID: eavIIJLmFIK)License Compliance: ICX7450-PREM-LIC-SW is Compliant for next 45 daysP-ASIC 0: type B548, rev 01 Chip BCM56548_A0==========================================================================UNIT 1: SL 2: ICX7400-4X10GF 4-port 40G ModuleSerial #:CYV3346K07G==========================================================================UNIT 1: SL 3: ICX7400-1X40GQ 1-port 40G ModuleSerial #:CYX3346K06F==========================================================================UNIT 1: SL 4: ICX7400-1X40GQ 1-port 40G ModuleSerial #:CYX3346K00A==========================================================================1000 MHz ARM processor ARMv7 88 MHz bus8192 KB boot flash memory2048 MB code flash memory2048 MB DRAMSTACKID 1 system uptime is 0 day(s) 0 hour(s) 8 minute(s) 16 second(s)The system : started=cold start

Loading the flash code using SCP1. Place the new flash code on an SCP-enabled host to which the Brocade device has access.

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5026 53-1004461-01

Page 27: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

2. Copy the flash code from the SCP-enabled host into the flash memory using the following methods.

• Copy the flash code using SCP tool using the following command.

scp image-file-name hostname@management-ip:flash:primary | secondary

Or, if you also want to specify the name for the image file on the FastIron device, enter the following command:

scp image-file-name-on-scp-host hostname@management-ip:flash:pri | sec:image-file-name-on-device

NOTEThe image-file-name-on-device variable is case-insensitive and converts any uppercase characters in the image filename to lowercase characters.

For example:

C:\> scp SPS08040.bin [email protected]:flash:primary

or

C:\> scp SPS08040.bin [email protected]:flash:pri:SPS08040.bin

or

C:\> scp SPS08040.bin [email protected]:flash:secondary

or

C:\> scp SPS08040.bin [email protected]:flash:sec:SPS08040.bin

• Use PSCP to copy the flash code.

pscp image-file-name hostname@management-ip:flash:primary | secondary

D:\Images> pscp.exe SPS08040.bin [email protected]:flash:primary

3. Verify that the flash code has been successfully copied onto the device by using the show flash command at any level of theCLI.

device# show flashStack unit 1: Compressed Pri Code size = 24018046, Version:08.0.40qT213 (SPR08040q042.bin) Compressed Sec Code size = 24018046, Version:08.0.40qT213 (SPR08040q042.bin) Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 Code Flash Free Space = 1768706048

4. Reboot the device using the reload or boot system command.

device# reload

or

The following example shows how to set the system to boot the image from the secondary flash.

device# boot system flash secondary

or

The following example shows how to set the system to boot the image from the primary flash and save the preference to thestartup configuration.

device# boot system flash primary yes

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 27

Page 28: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

5. Verify that the new flash image is running on the device by using the show version command.

device# show version Copyright (c) 1996-2015 Brocade Communications Systems, Inc. All rights reserv ed. UNIT 1: compiled on Oct 1 2015 at 11:29:56 labeled as SPR08040q042 (24018046 bytes) from Secondary SPR08040q042.bin SW: Version 08.0.40q042T213 Compressed Boot-Monitor Image size = 786944, Version:10.1.05T215 (spz10105 b008) Compiled on Thu Jul 16 06:27:06 2015

HW: Stackable ICX7450-24 Internal USB: Serial #: 9900614090900038 Vendor: ATP Electronics, Total size = 1919 MB==========================================================================UNIT 1: SL 1: ICX7450-24 24-port Management Module Serial #:CYT3346K035 License: ICX7450_L3_SOFT_PACKAGE (LID: eavIIJLmFIK) License Compliance: ICX7450-PREM-LIC-SW is Compliant for next 45 days P-ASIC 0: type B548, rev 01 Chip BCM56548_A0==========================================================================UNIT 1: SL 2: ICX7400-4X10GF 4-port 40G Module Serial #:CYV3346K07G==========================================================================UNIT 1: SL 3: ICX7400-1X40GQ 1-port 40G Module Serial #:CYX3346K06F==========================================================================UNIT 1: SL 4: ICX7400-1X40GQ 1-port 40G Module Serial #:CYX3346K00A========================================================================== 1000 MHz ARM processor ARMv7 88 MHz bus 8192 KB boot flash memory 2048 MB code flash memory 2048 MB DRAMSTACKID 1 system uptime is 0 day(s) 0 hour(s) 8 minute(s) 16 second(s)The system : started=cold start

Additional steps for loading boot codeThere are additional steps for loading boot code on Brocade ICX 7250, ICX 7450, and ICX 7750 (ICX 7xxx) series devices.

The Brocade ICX 7xxx series devices hold a default boot code image and a backup boot code image. These two images are managed ina manner invisible to users. When boot code is downloaded during an upgrade, the boot code is downloaded to the backup boot codeimage. When the download is safely complete, the backup boot code image becomes the new default boot code image, and the formerdefault boot code image becomes the new backup boot code image. The default boot code image is used by default for all subsequentreloads. The backup boot code is used when the default is unavailable for any reason.

To upgrade both boot code images, you must reload once between each download of boot code. it is necessary to reload one more timeafter the second download of boot code.

On ICX 7xxx series devices, Brocade recommends that you are certain that the default and backup boot code images hold the sameversion and are both bootable: To assure that both boot code images are bootable and hold the same version, when you perform anyupgrade involving boot code, after the first reload with new code, download the same new boot code again, and reload once again.

You can use either the TFTP or SCP method for the additional download of new boot code. For example, with the TFTP method, afterbooting up a Brocade ICX 7450 with 8.0.30 and later for the first time, download compatible boot code using TFTP again, and reloadonce again in this manner:

device# copy tftp flash 192.168.10.12 spz10107.bin bootrom....TFTP to Flash Done.device# reloadAre you sure? (enter 'y' or 'n'): y

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5028 53-1004461-01

Page 29: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

NOTEFile names vary for differentreleases.

For Brocade ICX 7xxx series devices, an alternative boot monitor download method is also available and is documented below.

Upgrading backup and default boot code imagesFollow these steps to use the boot monitor method to upgrade Brocade ICX 7xxx series devices.

The boot monitor method for boot code download available to ICX 7250, ICX 7450, and ICX 7750 is similar to the software recoverymethod documented later in this upgrade guide. In the procedure below an ICX 7450 device is used.

NOTEFile names vary for differentreleases.

1. Connect a console cable from the console port to the terminal server.

2. Connect an Ethernet cable from the management port (the port located under the console port on the device) to the TFTPserver.

3. On the TFTP server, assign an IP address to the connected NIC; for example, IP address 10.10.10.21 mask 255.255.255.0.

4. Reboot the device, and go to the boot monitor mode by pressing b.

U-Boot 10.1.04T215 (Oct 30 2014 - 00:08:19)....Enter 'b' to stop at boot monitor:ICX7450-Boot> b

5. When in boot mode, enter the printenv command to display details of the environment variables available on the devicememory.

ICX7450-Boot> printenvbaudrate=9600ipaddr=192.168.60.13serverip=192.168.60.1netmask=255.255.255.0gatewayip=192.168.0.1uboot=spz10107image_name=SPS08041.binver=10.1.04T215 (Oct 30 2014 - 00:08:29)

Environment size: 183/16379 bytesICX7450-Boot>

6. Provide the IP address of the TFTP server that hosts a valid software image using the setenv serverip command.

ICX7450-Boot> setenv serverip 172.24.204.18

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 29

Page 30: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

7. Set the IP address, netmask, and gateway IP address for the device management port.

a) Set the IP address.

ICX7450-Boot> setenv ipaddr 172.24.204.19

b) Set the netmask.

ICX7450-Boot> setenv netmask 255.255.255.0

c) Set the gateway IP address.

ICX7450-Boot> setenv gatewayip 172.24.204.1

See the following section, Save the parameters configured in boot monitor on page 30.

8. Configure the filename of the boot code you intend to download.

ICX7450-Boot> setenv uboot spz10107.bin

9. Download new boot code by entering the update_uboot command.

ICX7450-Boot> update_ubootLoading image to Uboot Partition 2Using bcmiproc_eth-0 deviceTFTP from server 172.24.204.18; our IP address is 172.24.204.19Filename 'spz10107.bin'.Load address: 0x61007dc0Loading: ######################################################doneBytes transferred = 786944 (c0200 hex)sf erase 0x0 0x100000copying uboot image to flash, it will take sometime...sf write 0x61007fc0 0x0 0xc0000TFTP to Flash Done.ICX7450-Boot>

The update_uboot command is unique to this upgrade method and it does not behave like any plain CLI TFTP downloadcommand.

10. Reload using either the reset or powercycle command. This allows you to boot using the newly downloaded boot code.

• ICX7450-Boot> reset

• ICX7450-Boot> powercycle

11. To upgrade the other boot code image, while the ICX is booting up again press b to enter boot monitor again, and continuefrom Step 4 above.

U-Boot 10.1.04T215 (Oct 30 2014 - 00:09:11)....Enter 'b' to stop at boot monitor:ICX7450-Boot> b

Save the parameters configured in boot monitorIn boot monitor, you can use the saveenv command to save values configured with the setenv command. However, caution is requiredwhen using the saveenv command from boot monitor after configuring an IP address with setenv ipaddr. Be aware of the following:

• If you use the saveenv command, the IP address you used in the command is configured the next time you enter boot monitor.However, after you boot up into flash code, even when that IP address does not appear in the running configuration, the ICXcontinues to respond to ARP requests for that IP address. The MAC address in those ARP replies will be a special boot monitorMAC address that is similar to but slightly different from the MAC addresses you can see with the show interface command.

FOR BROCADE CONTROLLED RELEASE ONLY

Loading images on the device

Brocade FastIron Software Upgrade Guide, 08.0.5030 53-1004461-01

Page 31: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

• If you configure that same IP address on any other device in the same broadcast domain, you experience difficultycommunicating with that other device.

• If you are using switching flash code on the ICX and you configure that same IP address in the running configuration, you willexperience difficulty communicating with the ICX at that IP address.

• If you are using routing flash code on the ICX and you configure that same IP address on the management interface, the ICX willreport a duplicate IP address detected on the management interface.

If you use saveenv after configuring setenv ipaddr in boot monitor, you must be careful to not use the same IP address anywhere else inyour network even in the running configuration of the same ICX.

See the following section for the procedure to view the boot monitor IP parameters.

Viewing the boot monitor IP parametersFrom the flash code CLI, it is possible to check the currently configured boot monitor IP address even though it does not appear in therunning configuration.

1. Enter OS mode.

ICX# Press Ctrl+y, then the m key, then EnterSwitch to OS console...

2. Check the configured boot monitor IP address.

OS>show remote IP address : 172.24.204.20 subnet mask : 255.255.255.0 default gateway : 172.24.204.1

3. Return to the flash code CLI

OS> Press Ctrl+zBack to Application console...ICX#

View boot monitor IP parameters example

ICX# Press Ctrl+y, then the m key, then EnterSwitch to OS console...OS> show remote IP address : 172.24.204.20 subnet mask : 255.255.255.0 default gateway : 172.24.204.1OS> Press Ctrl+z Back to Application console...ICX#

Software upgrade using a manifest fileManifest files are prepared for every release. They contain and list all boot, firmware, and application images as well as signature files.Brocade supports a manifest file software upgrade for both standalone devices and homogeneous stacks.

You can use a single command to copy boot and flash images. Using the official manifest file, the images are copied onto the devices,and all member units are upgraded. However:

• Copying the manifest file using the SCP is not supported.

FOR BROCADE CONTROLLED RELEASE ONLY

Software upgrade using a manifest file

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 31

Page 32: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

• For standalone devices or a homogeneous stack, the manifest upgrade process downloads the boot image to the device only ifa newer boot image version is available.

• The manifest file specifies images for both router and switch types. Based on the device family and the type of image (switch orrouter), the appropriate images are installed.

• The command will only accept a manifest file with a .txt extension.

1. Ensure that the Brocade device has access to a TFTP server.

2. Determine the current software versions and license requirements then download the upgrade to a TFTP server, refer to Initialsteps on page 19.

3. Unzip the downloaded FastIron image files on the TFTP server.

This places the manifest file at the top of the directory structure with the images in subdirectories.

4. If upgrading from FastIron 8.0.10, delete the following lines from the manifest text file.

-DIRECTORY /ICX7750/Bootswz10105.bin

-DIRECTORY /ICX7750/ImagesSWS08030d.binSWR08030d.bin

-DIRECTORY /ICX7750/MIBsSWS08030d.mibSWS08030d.mib

-DIRECTORY /ICX7750/SignaturesSWR08030dnss.sigSWR08030d.sigSWS08030dnss.sigSWS08030d.sigswz10105nss.sigswz10105.sig

-DIRECTORY /ICX7750/Manuals

What is shown is when there is an upgrade to software release 8.0.30d. Depending on the upgrade, these lines may differ. Ifthat is the case, just delete any lines under and including the -DIRECTORY /ICX7750/xxx headings.

5. On the Brocade device, enter one of the following commands to copy the manifest file and the images from the TFTP server:

• copy tftp system-manifest server-ip-address manifest-file-name [ primary | secondary ]

Or

• copy tftp system-manifest server-ip-address manifest-file-name [ all-images-primary | all-images-secondary ]

For example:

device# copy tftp system-manifest 10.70.42.172 stage/FI08040_Manifest.txt primary

You can use the all-images-primary and all-images-secondary options to copy all the images.

6. After all the relevant images have been installed on the device, you are prompted to reboot the device to complete the upgradeprocess.

a) Execute the write memory command.

b) Execute the reload command.

The specified images are loaded to all 802.1br control bridge and port extender units.

FOR BROCADE CONTROLLED RELEASE ONLY

Software upgrade using a manifest file

Brocade FastIron Software Upgrade Guide, 08.0.5032 53-1004461-01

Page 33: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

The following example downloads all boot and application images for FastIron 8.0.40 from the TFTP server to an ICX 7750-26QRouter.

ICX7750-26Q Router# copy tftp system-manifest 10.70.42.172 stage/FI08040_Manifest.txt all-images-secondary

You are about to download boot image and boot signature image as well, ARE YOU SURE?(enter 'y' or 'n'): yICX7750-26Q Router#Flash Memory Write (8192 bytes per dot) DOWNLOADING MANIFEST FILE Done.ICX7750-26Q Router#Flash Memory Write (8192 bytes per dot) Automatic copy to member units: 3

COPY ICX7750 SIGNATURE TFTP to Flash Done ICX7750-26Q Router#Load to buffer (8192 bytes per dot) Automatic copy to member units: 3...SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(8192 bytes per dot)......Copy ICX7750 from TFTP to Flash Done.ICX7750-26Q Router#Flash Memory Write (8192 bytes per dot) Automatic copy to member units: 3...DOWNLOAD OF ICX7750 BOOT SIGNATURE Done.ICX7750-26Q Router#Load to buffer (8192 bytes per dot) Automatic copy to member units: 3...SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(8192 bytes per dot)......ICX7750 Boot IMAGE COPY IS DONE ICX7750-26Q Router#Load to buffer (8192 bytes per dot) Automatic copy to member units: 17 18...PLEASE WAIT. MEMBERS SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT... Done.ICX7750-26Q Router#Load to buffer (8192 bytes per dot) Automatic copy to member units: 17 18...PLEASE WAIT. MEMBERS SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT... Manifest image download is complete, please reload the system

The following example copies the binary image for the FastIron 8.0.40 manifest file to secondary flash from the TFTP server to an ICX7750-26Q Router.

ICX7750-26Q Router# copy tftp system-manifest 10.70.42.172 stage/FI08040_Manifest.txt secondary ICX7750-26Q Router# Flash Memory Write (8192 bytes per dot) .....DOWNLOADING MANIFEST FILE Done.ICX7750-26Q Router#Flash Memory Write (8192 bytes per dot) Automatic copy to member units: 3...COPY ICX7750 SIGNATURE TFTP to Flash Done ICX7750-26Q Router# Load to buffer (8192 bytes per dot) Automatic copy to member units: 3...SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(8192 bytes per dot)......Copy ICX7750 from TFTP to Flash Done.ICX7750-26Q Router#Load to buffer (8192 bytes per dot) Automatic copy to member units: 17 18...PLEASE WAIT. MEMBERS SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT...Copy ICX7450 from TFTP to Flash Done.

Manifest file upgrade done, please reload the system

Example of a manifest file upgradeThe following example downloads all boot and application images for FastIron 08.0.40 from the TFTP server.

device# copy tftp system-manifest 10.70.42.172 stage/FI08040_Manifest.txt all-images-secondary

FOR BROCADE CONTROLLED RELEASE ONLY

Software upgrade using a manifest file

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 33

Page 34: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

You are about to download boot image and boot signature image as well, ARE YOU SURE?(enter 'y' or 'n'): ydevice#Flash Memory Write (8192 bytes per dot) DOWNLOADING MANIFEST FILE Done.device#Flash Memory Write (8192 bytes per dot) Automatic copy to member units: 3

COPY ICX7750 SIGNATURE TFTP to Flash Done device#Load to buffer (8192 bytes per dot) Automatic copy to member units: 3...SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(8192 bytes per dot)......Copy ICX7750 from TFTP to Flash Done.device#Flash Memory Write (8192 bytes per dot) Automatic copy to member units: 3...DOWNLOAD OF ICX7750 BOOT SIGNATURE Done.device#Load to buffer (8192 bytes per dot) Automatic copy to member units: 3...SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT(8192 bytes per dot)......ICX7750 Boot IMAGE COPY IS DONE device#Load to buffer (8192 bytes per dot) Automatic copy to member units: 17 18...PLEASE WAIT. MEMBERS SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT... Done.device#Load to buffer (8192 bytes per dot) Automatic copy to member units: 17 18...PLEASE WAIT. MEMBERS SYNCING IMAGE TO FLASH. DO NOT SWITCH OVER OR POWER DOWN THE UNIT... Manifest image download is complete, please reload the system

Software recoveryIf the software upgrade or downgrade fails, the device may reboot continuously as shown in the following CLI ouput:

bootdelay: ===Booting image from Primary Bad Magic Numbercould not boot from primary, no valid image; trying to boot from secondaryBooting image from Secondary Bad Magic Number## Booting image at 01ffffc0 ...Bad Magic Number## Booting image at 01ffffc0 ...Bad Magic Numbercould not boot from secondary, no valid image; trying to boot from primaryBooting image from Primary Bad Magic Number## Booting image at 01ffffc0 ...Bad Magic Number

This section explains how to recover devices from image installation failure or deleted or corrupted flash images.

NOTESoftware recovery should be performed under the supervision of a Brocade support engineer.

FOR BROCADE CONTROLLED RELEASE ONLY

Software recovery

Brocade FastIron Software Upgrade Guide, 08.0.5034 53-1004461-01

Page 35: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Recovering softwareNOTEIn practice, the TFTP server is also used as the terminal server to see the CLI output.

1. Connect a console cable from the console port to the terminal server.

2. Connect an Ethernet cable from the management port (the port located under the console port on the device) to the TFTPserver.

3. On the TFTP server, assign an IP address to the connected NIC. For example enter:

IP address 10.10.10.21 mask 255.255.255.0

4. Reboot the device.

5. When in boot mode, enter the printenv command to display details of the images available on the device memory. Forexample:

ICX7450-boot> printenvbaudrate=9600uboot=brocade/ICX7450/bootcode/spz10106b002Version:10.1.06T215 (May 15 2015 - 11:28:23)

The path is to the boot image on the TFTP server.

6. Provide the IP address of the TFTP server that hosts a valid software image using the setenv serverip command. For example:

ICX7450-boot> setenv uboot 10.10.10.21

7. Set the IP address, gateway IP address, and netmask for the device management port, and save the configuration using thesetenv ipaddr, setenv gatewayip, setenv netmask, and saveenv commands. For example:

ICX7450-boot> setenv ipaddr 10.10.10.22ICX7450-boot> setenv gatewayip 10.10.10.1ICX7450-boot> setenv netmask 255.255.255.0ICX7450-boot> saveenv

NOTEThe IP address and the gateway IP address set for the device management port should be for the same subnet as theTFTP server NIC.

8. Enter the printenv command to verify the IP addresses that you configured for the device and the TFTP server. For example:

ICX7450-boot> printenvbaudrate=9600ipaddr=10.10.10.22gatewayip=10.10.10.1netmask=255.255.255.0serverip=10.10.10.1uboot=brocade/ICX7450/bootcode/spz10106b002Version:10.1.06T215 (May 15 2015 - 11:28:23)

9. Test the connectivity to the TFTP server from the device using the ping command to ensure a working connection. Forexample:

ICX7450-boot> ping 10.10.10.21ethPortNo = 0Using egiga0 devicehost 10.10.10.21 is alive

FOR BROCADE CONTROLLED RELEASE ONLY

Software recovery

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 35

Page 36: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

10. Provide the file name of the image that you want to copy from the TFTP server using the setenv image_name command. Forexample:

ICX7450-boot> setenv image_name images/ICX/SPR08040.bin

11. Update the primary flash using the update_primary command. For example:

ICX7450-boot> update_primaryethPortNo = 0Using egiga0 deviceTFTP from server 10.10.10.21; our IP address is 10.10.10.22Download Filename 'SPR08040.bin'.Load address: 0x3000000Download to address: 0x3000000Loading: %################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ########################################################doneBytes transferred = 10360844 (9e180c hex)prot off f8100000 f907ffff........................................................................................................................................................................................................................................................Un-Protected 248 sectorserase f8100000 f907ffff........................................................................................................................................................................................................................................................Erased 248 sectorscopying image to flash, it will take sometime...sflash write 3000000 100000 f80000TFTP to Flash Done.

12. Load the image from the primary flash using the boot_primary command; for example:

ICX7450-boot> boot_primaryBooting image from Primary## Booting image at 00007fc0 ... Created: 2015-05-02 20:38:52 UTC Data Size: 10360268 Bytes = 9.9 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OKOKStarting kernel in BE mode ...Uncompressing Image........................................................................................................................................................................................................................................................................................................................................................................................................................................ done, booting the kernel.Config partition mounted.

13. Enter show flash and see the output to check whether the image copy process was successful.

14. Copy the image from the primary to the secondary flash partition using the copy flash flash secondary command.

FOR BROCADE CONTROLLED RELEASE ONLY

Software recovery

Brocade FastIron Software Upgrade Guide, 08.0.5036 53-1004461-01

Page 37: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Downgrade processBefore downgrading the software on the device, refer to Upgrade and Downgrade Considerations on page 11. In general, before adowngrade, keep these points in mind:

• IPv6 static routing - If you downgrade from FastIron 8.0.40 to a release that is covered by a premium license, there is noimpact. If the earlier release is not covered by a premium license, any IPv6 static routing configuration is lost.

• SSHv2 RSA - Host key format may differ among FastIron software versions.

• Pre 8.0.10 releases - If the downgrade is to a version earlier than FastIron 8.0.10, software-based licensing is not supported.

• There are changes in behavior of:

– Flexible authentication– Command line interface

In-service software upgradeAn in-service software upgrade (ISSU) allows stack units to be upgraded with minimal interruptions to multi-unit LAG topologies.

Usually an upgrade involves a simultaneous reload of all the stack members. ISSU provides an incremental method to upgradetraditional stacks. A successful ISSU does not impact uplink or downlink connectivity in a topology with multi-unit LAGs. Only the nodethat is undergoing the upgrade requires a hardware reset that includes the reset of the packet processor. As such, traffic transiting thatnode is disrupted.

ISSU limitations and considerationsWhen using ISSU, consider the following:

• ISSU is available only in FastIron ICX 7250, ICX 7450, and ICX 7750 stackable hardware.

• ISSU is supported only in an homogenous ring stack topology where control bridges are connected in a ring, SPX stack set-upsare not supported.

• ISSU works for stacks of two units to the maximum supported twelve units.

• ISSU is supported for upgrades between minor releases only. As such, you can use ISSU to upgrade between 8.0.50 and8.0.50a but not between 8.0.50 and 8.0.60.

• For the ISSU to occur with minimal disruption, the customer network connected to the stack must have redundant uplink/downlink configurations across multiple units.

• If the secondary partition is upgraded, this partition is set as the default partition for the stack.

• Most CLI commands and SNMP operations are blocked while an ISSU is in progress.

• To make the upgrade seamless, the following administrative operations are blocked while ISSU is in progress:

– Configuration– Image download to flash– Stack commands resulting in topology changes– Initiation of another ISSU

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 37

Page 38: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Recommended stack topologyISSU upgrades traditional stacks without impacting the network.

An ISSU only reduces its network impact if redundant uplink and downlink connections are available from multiple stack units.

A typical topology where ISSU can be used effectively is shown in the following figure.

FIGURE 1 Recommended stack topology

In the figure, redundant links are going to both the uplink network and the downlink network from different units of the stack. At any pointduring the upgrade, the uplink and downlink connectivity is maintained.

The following software features are used to provide link redundancy:

• Link aggregation

• VRRP and VRRPe

• Graceful restart for IP routing features

The node that is being upgraded goes through a hardware reset. This resets the packet processor; as such, traffic flowing through thatspecific node is disrupted.

How ISSU works when upgrading stack unitsThe following describes the prechecks and the upgrade sequence for an 8-unit stack in a typical topology.

1. Use the copy tftp command to copy the image to the primary or secondary partition.

2. Run the show issu status command to check for upgrade readiness, and the show issu sequence command to check theupgrade sequence.

3. Run the issu primary command or the issu secondary command to initiate the process.

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5038 53-1004461-01

Page 39: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

NOTEIf the issu secondary command is used, you first have to configure the boot system from secondary and then issue awrite memory command. The default partition for the stack is set as secondary upon successful completion of theISSU.

4. Unit 4, the standby unit, is reloaded with the new image.

5. Once the standby unit joins the stack, all member units from the standby unit to the active unit (4, 3, 2, 1 in the following figure)reload the new image.

6. All members from standby to active in the other direction (6, 7, 8) reload the new image.

7. Once all member and standby units are reloaded with the new image, the active unit triggers a switchover in which the oldstandby unit (4) becomes the new active unit and the old active unit (1) becomes the new standby unit.

8. The new active unit (4) reloads the old active unit (1) with the new image.

9. Once the old active unit (1) comes up as a member unit and rejoins the stack, standby unit election occurs and the stackbecomes fully functional with the upgraded image.

FIGURE 2 8 Stack Unit

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 39

Page 40: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

NOTEIf the stack configurations have priority settings, a final switchover is done to ensure that the unit with the highest prioritybecomes the active unit.

After the installation steps outlined above, the diagram displays the status of each stack unit.

Pre-ISSU checkAfter the image is downloaded to flash and the ISSU is triggered, but before the actual ISSU processing starts, a pre-ISSU compatibilitycheck is executed.

The compatibility check examines and reports either Yes (the stack is ready in this regard for an upgrade) or No (the stack is not ready foran upgrade). A successful compatibility check displays the following results:

TABLE 6 Pre-ISSU checks

Check Passing result

All units in ready state Yes

Standby present Yes

Standby ready for upgrade Yes

Topology is ring Yes

Flash use in progress No

Secure setup in progress No

ISSU in progress or aborted No

Election pending No

Election in progress No

Reload pending No

CPU utilization high No

Primary image is upgrade compatible Yes

Secondary image is upgrade compatible Yes

Startup configuration and running configuration same Yes

User in configuration mode No

SPX CB Mode enabled No

NOTEAn error condition is indicated by three asterisks (***).

Typical reasons for the failure of a pre-ISSU image compatibility check (primary/secondary) include (in order of occurrence):

1. Redesign of application functionality.

2. Redesign of application sync functionality.

3. Software architecture changes.

4. System-max changes.

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5040 53-1004461-01

Page 41: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

ISSU errorsThere are several sources of errors that may be encountered during an ISSU, and there are two means of error recovery.

Common errors

hot-swap timeout Unit hot-swap does not complete within the expected time.

Version synchronization timeout Version information synchronization does not complete within the expected time.

Standby assignment timeout After upgrading the current standby unit, the standby assignment does not occur within the expected time.

Standby assignment error After upgrading the current standby unit, the expected unit was not elected as the new standby unit.

Image/boot source mismatch After a unit upgrade, the image version and boot source did not match the expected version or boot source.

Unit fails to rejoin The unit fails to rejoin the stack after an upgrade within the specified time.

Unit delete The unit is detached from the stack while the ISSU is in progress.

Ping fail A unit fails to respond to keepalive messages.

Crash and manual abort errors

Unit crash If the on-error command option is specified, the unit that crashes is reloaded from the partition specified in thecommand.The active controller detects this condition as a unit delete and reloads all the existing stack members from thepartition specified in the command option.

Active reload/crash If active reloads unexpectedly, or crashes while the ISSU is in progress, the stack units detect the loss of theactive controller and abort the ISSU.If the on-error option is specified, all units which were part of the stack at the time of the active crash arereloaded from the partition specified in the command. Any unit(s) which were being upgraded at the time of theactive failover, reload from the target partition given in the command.

Once all units have booted and an active controller has been elected, if some units have a running imagedifferent from the active, an image auto copy is executed and units are reloaded to ensure they are all runningthe same image.

Manual abort If the ISSU is aborted through the issu abort command, the ISSU is stopped and the stack is left in the currentstate for manual recovery.This behavior occurs whether the ISSU is started with or without the on-error option.

Error recoveryThere are two means for error recovery, one manual and one automatic:

• If the ISSU is started with the issu primary or issu secondary command:

– If an error occurs, the upgrade is aborted and the stack is left for manual recovery. In this condition, it is likely that therunning image on the stack units are different. After abort, image auto copy is not executed.

– Units continue with their current running image until the system is reloaded. As such, a reload of the entire stack is requiredto bring it back to a functional state.

– To insure system stability the stack is left in the aborted state. You must reload the system manually. If any of the stackunits are reloaded individually, they cannot move to the Ready state. To execute a manual recovery, see the topic Manualerror recovery on page 44.

• If the ISSU is started with any of the commands issu primary/secondary on-error reload-primary/reload-secondary:

– If an error occurs, the upgrade is aborted.– All the units in the stack are automatically reloaded to the partition specified by the on-error option.

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 41

Page 42: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

– After the system reload, any units that were unreachable at the time of the ISSU abort may have an image that is differentfrom the other units. When these units rejoin the stack, an image auto copy is executed to the image mismatched unit(s)and they are then reloaded after the auto copy completes.

Upgrading a stack with ISSUFollow this task to upgrade a stack using ISSU.

By default, switches are booted from the primary partition.

1. Copy the images.

a) Back up the running image to the secondary partition.

device# copy flash flash secondary

b) Copy the new image to the primary partition.

device# copy tftp flash 10.10.10.10 SWR08050.bin primary

The IP address is for the TFTP server. It can be an IPv4 or IPv6 address. The .bin file is the name of the image file.

2. Check the sequence of the upgrade.

device# show issu sequenceStack units will be upgraded in the following orderID Type Role 1 ICX7450-32ZP standby3 ICX7450-32ZP member 4 ICX7450-32ZP active

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5042 53-1004461-01

Page 43: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

3. Initiate the upgrade.

• Initiate the upgrade without error recovery.

device# issu secondaryTopology is Ring YesStandby Present YesStandby ready for upgrade YesFlash use in progress NoSecure Setup in progress NoISSU in progress or aborted NoElection pending NoElection in progress NoReload pending NoCPU utilization high NoAll units in ready state YesPrimary Image is upgrade compatible YesStartup config and Running Config Same YesUser in Config mode NoProceed with upgrade? (enter 'y' or 'n'):

If an error occurs, the error condition is marked by three asterisks.

device# issu primaryTopology is Ring YesStandby Present No ***Standby ready for upgrade No ***Flash use in progress NoSecure Setup in progress NoISSU in progress or aborted NoElection pending NoElection in progress NoReload pending NoCPU utilization high NoAll units in ready state YesPrimary Image is upgrade compatible YesSecondary Image is upgrade compatible YesStartup config and Running Config Same YesUser in Config mode NoSystem not ready for issu. Check error condition highlighted by "***" and rectify.ISSU not in progress

• Initiate the upgrade with error recovery.

device# issu primary on-error reload-primary Topology is Ring YesStandby Present YesStandby ready for upgrade YesFlash use in progress NoSecure Setup in progress NoISSU in progress or aborted NoElection pending NoElection in progress NoReload pending NoCPU utilization high NoAll units in ready state YesPrimary Image is upgrade compatible YesStartup config and Running Config Same YesUser in Config mode NoProceed with upgrade? (enter 'y' or 'n'):

The on-error reload-primary option specifies an automatic reload from the primary partition if there is an upgrade error. Youcan also reload to the secondary partition to bring the stack back up with the original image.

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 43

Page 44: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

4. Check the status of an upgrade.

Status display with an uninterrupted upgrade:

ddevice# show issu statusISSU Status: In ProgressUpgrade State: UNIT JOINUpgrade Option: issu primaryID Type Role State 1 ICX7450-32ZP member UPGRADING 3 ICX7450-32ZP member UPGRADE PENDING 4 ICX7450-32ZP active UPGRADE PENDING

Status display with an aborted upgrade:

device# show issu statusISSU Status: AbortedUpgrade State: UPGRADE ABORTUpgrade Option: issu primaryReason for Abort: UNABLE TO UPGRADEID Type Role State 1 ICX7450-32ZP member UPGRADE ABORT 3 ICX7450-32ZP standby UPGRADE PENDING 4 ICX7450-32ZP active UPGRADE PENDING

If the upgrade has not been initiated, this command displays information about whether the system is ready for the upgrade.

5. Wait for the upgrade to complete.

If a manual abort is done or ISSU detects an abort condition (with ISSU started with no on-error option), the stack is left as it isand a manual recovery is required.

ISSU exampledevice# copy flash flash secondarydevice# copy tftp flash 10.10.10.10 SWR08050.bin primarydevice# show issu sequencedevice# issu primary on-error reload-primary device# show issu status

Manual error recoveryFollow these steps to manually recover from an ISSU error.

If an error is detected during the upgrade, the ISSU is aborted. In this case, the recommended procedure is to reload the stack to the oldor new image, from the primary or secondary partition, and then use the boot system flash command to reload the stack.

1. Reload to the primary partition.

device# boot system flash primary

2. Reload to the secondary partition.

device# boot system flash secondary

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5044 53-1004461-01

Page 45: Brocade FastIron Software Upgrade Guide, 08.0€¦ · Supporting FastIron Software Release 08.0.50 FOR BROCADE CONTROLLED RELEASE ONLY SOFTWARE UPGRADE GUIDE Brocade FastIron Software

Reverting to the old imageFollow these steps to revert the stack back to the older image.

Once the upgrade is completed, the primary partition has the new image and the secondary partition has the older image. To move thestack back to the older image, the following steps can be used.

1. Move the older image from the secondary partition to the primary partition.

device# copy flash flash primary

2. Reboot the system from the primary flash image.

device# boot system flash primary

FOR BROCADE CONTROLLED RELEASE ONLY

In-service software upgrade

Brocade FastIron Software Upgrade Guide, 08.0.5053-1004461-01 45