Cisco Systems NME-16ES-1G manual Recovering from a Corrupted Software Image Using Xmodem

Page 67

Cisco EtherSwitch Service Modules Feature Guide

Troubleshooting the Cisco EtherSwitch Service Module Software

Recovering from a Corrupted Software Image Using Xmodem

This section describes how to recover from a corrupted software image by using Xmodem.

Note The router should have the switch image in the router flash memory or have network connectivity to the TFTP server.

The Cisco EtherSwitch service module software can be corrupted while upgrading the software, by downloading the wrong file to the Cisco EtherSwitch service module, and by deleting the image file. In all of these cases, the service module does not pass the power-on self-test (POST), and there is

no connectivity.

This procedure uses the Xmodem Protocol to recover from a corrupt or wrong image file. Many software packages support the Xmodem Protocol, and this procedure is largely dependent on the emulation software you are using.

To start the Xmodem protocol process, issue the password reset command. After you issue the password reset command, this message appears:

Password reset process is complete...

The system has been interrupted prior to initializing the flash filesystem. The following commands will initialize the flash filesystem, and finish loading the operating system software:

flash_init load_helper boot

Switch:

Restrictions

This procedure is recommended only for recovery of a corrupted image. To perform this procedure, the Cisco EtherSwitch service module must be at the boot loader prompt, and the console from the router to the Cisco EtherSwitch service module must be disconnected for the Xmodem Protocol to work.

SUMMARY STEPS

1.service-module interface slot/port password-reset

2.flash_init

3.load_helper filesystem:/file-url ... (optional)

4.control+6 x (Use x to get back to the router prompt.)

5.disconnect

6.copy flash: xmodem: (Use this command to download the software image from the router flash memory. Use this command from the router prompt.)

or

copy tftp: xmodem: (Use this command to download the software image from a TFTP server. Use this command only if the image is not on the router flash memory.)

Cisco IOS Release 12.2(25)SEC

67

Image 67
Contents Release Modification GuideContents Hardware Overview Network Modules Hardware Installation GuideSoftware Features and Benefits Performance Features Ease-of-Use and Ease-of-Deployment FeaturesManagement Options Availability Features Manageability FeaturesVlan Features Security Features QoS and CoS Features Monitoring Features Power-over-Ethernet FeaturesCisco StackWise Concepts Overview of Switch StacksSwitch Stack Membership Stack Master Election and Re-Election Stack Member Numbers Switch Stack Bridge ID and Router MAC AddressStack Member Priority Values Stack Protocol Version Compatibility Switch Stack Software Compatibility RecommendationsSwitch Stack Configuration Files Switch Stack Management Connectivity Clustering Concepts Accessing the CLI of a Specific Stack MemberManagement Connectivity to Specific Stack Members Standby Command Device Characteristics Command Device CharacteristicsCluster Compatibility Automatic Discovery of Candidates and Members Candidate and Member CharacteristicsDiscovery of Candidates and Members Through CDP Hops Vlan Discovery of Candidates and Members Through Different VLANs Discovery of Candidates and Members Through Routed Ports SwitchNew out-of-box Discovery of Newly Installed Switches in ClustersHsrp and Standby Cluster Command Switches Other Considerations for Cluster Standby Groups Virtual IP Addresses in ClustersAutomatic Recovery of Cluster Configuration Hostnames in Clusters IP Addresses in ClustersSnmp Community Strings in Clusters Passwords in ClustersSwitch Clusters and Switch Stacks Switch Stack Switch ClusterSwitch Stack Switch Cluster TACACS+ and Radius in Clusters Availability of Switch-Specific Features in Switch ClustersCisco IOS Release 12.225SEC Using Interface Configuration Mode Dir flash Command or Action PurposeBoot flash image-name ExampleService-module interface slot/port session EnableShow running configuration Configure terminalControl+shift+6 Show power inlineOutput of the show service-module status command Show ip interface briefExamples Sample Output for the dir flash Command on the RouterSample Output for the boot flash Command on the Router Router boot flashc2800-adventerprisek9-mzSwitch dir flash Router# show running config interface gigabitethernet2/0Router# configure terminal Router# service-module gigabitethernet2/0 sessionSample Output for Pressing Ctrl+Shift+6 Followed by Switch# show ip interface briefSwitch# ctrl+shift+6 Switch# show power inlineDhcp Feature Default SettingSTP Prerequisites Clustering Concepts section on Return Sample Output for Assigning the IP Address and Subnet Mask Sample Output for Entering an Interface NameCommand or Action Purpose Sample Output for Saving the Configuration to NvramRouter# service-module gigabitethernet1/0 reset Router# service-module gigabitethernet1/0 shutdownRouter# service-module gigabitethernet1/0 reload Cisco IOS Release 12.225SEC Restrictions Default Switch Stack ConfigurationAssigning a Stack Member Number Switchconfig# switch 6 renumber Sample Output for the switch renumber CommandSample Output for the reload slot Command Show switchSample Output for the show switch Command Setting the Stack Member Priority ValueSwitch show switch Verifying Information About the Switch StackSample Output for the switch priority Command Switchconfig# switch 2 prioritySwitch# show platform stack-manager all Show switch stack-ports Switchconfig# show switch neighborsRcommand Using the CLI to Manage Switch ClustersShow version Sample Output for the show cluster members Command Sample Output for the rcommand and show version CommandsChoose View Refresh Choose Cluster Add to Cluster or Cluster member PasswordDetailed Steps from the CLI Creating a Cluster Standby GroupRouting-redundancy Cluster standby-group HSRP-group-nameNo switchport Sample Output for the ping tftpserver Command Switch# copy tftp flash Sample Output for the show flash CommandSample Output for the copy tftp flash Command Switch# show flashService-module interface slot/port password-reset Flashinit Recovering from a Corrupted Software Image Using XmodemControl+6 Service-module interface slot/portPassword-reset FlashinitSample Output for the copy flash xmodem Command TroubleshootingRouter# copy flash xmodem Router# copy tftp xmodem Sample Output for the copy tftp xmodem CommandRouter# service-module gigabitethernet2/0 password-reset Router# service-module gigabitethernet1/0 sessionRecovering from a Lost or Forgotten Password Optional loadhelper filesystem/file-url Copy flash Boot -x -v deviceimagenameEnable secret password RenameReload Copy running-configuration startup-configurationOptional set Boot Service-module password-reset commandExample Sample Output for the set CommandSet Scenario Action Result Current-stack-member-number Renumber new-stack-member-number Network Configuration Examples Network Demands Suggested Design Methods Cost-Effective Wiring Closet Redundant Gigabit Backbone Cisco SoftPhone Software Gigabit servers POP Description Link Related DocumentsTechnical Assistance Related Topic Document Title