Cisco Systems NME-16ES-1G manual Recovering from a Lost or Forgotten Password, Prerequisites

Page 72

Cisco EtherSwitch Service Modules Feature Guide

Troubleshooting the Cisco EtherSwitch Service Module Software

the flash filesystem, and finish loading the operating system software:

flash_init load_helper boot

Router:

Sample Output for the flash_init Command on the Cisco EtherSwitch Service Module

The following example shows what appears when you enter the flash_init command:

Switch: flash_init Initializing Flash...

flashfs[0]:7 files, 1 directories

flashfs[0]:0 orphaned files, 0 orphaned directories flashfs[0]:Total bytes:32514048 flashfs[0]:Bytes used:13400576 flashfs[0]:Bytes available:19113472 flashfs[0]:flashfs fsck took 18 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs) installed, fsid:3 Setting console baud rate to 9600...

Recovering from a Lost or Forgotten Password

This section shows how to recover from a lost or forgotten password.

The default configuration for the Cisco EtherSwitch service module allows an end user to recover from a lost password by entering a new password.

Note To enable or disable password recovery, use the service-modulepassword-recoveryglobal configuration command from the Cisco EtherSwitch service module. When you enter the service-modulepassword-recoverycommand from the Cisco EtherSwitch service module or the no service-modulepassword-recoverycommand from the stack master, password recovery is propagated throughout the stack and applied to all modules in the stack.

During auto boot loader operation, you are not presented with the boot loader command-line prompt. You gain access to the boot loader command line if the switch is set to manually boot or, if an error occurs, the operating system (a corrupted Cisco IOS image) is loaded. You can also access the boot loader if you have lost or forgotten the switch password.

Note The default configuration for Cisco EtherSwitch service modules allows an end user to recover from a lost password. The password recovery disable feature allows the system administrator to protect access to the switch password by disabling part of this functionality and allowing the user to interrupt the boot process only by agreeing to set the system back to the default configuration. With password recovery disabled, the user can still interrupt the boot process and change the password, but the configuration file (config.text) and the VLAN database file (vlan.dat) are deleted.

Prerequisites

This recovery procedure requires that you have physical access to the Cisco EtherSwitch service module.

Cisco IOS Release 12.2(25)SEC

72

Image 72
Contents Guide Release ModificationContents Network Modules Hardware Installation Guide Hardware OverviewSoftware Features and Benefits Ease-of-Use and Ease-of-Deployment Features Performance FeaturesManagement Options Manageability Features Availability FeaturesVlan Features Security Features QoS and CoS Features Power-over-Ethernet Features Monitoring FeaturesOverview of Switch Stacks Cisco StackWise ConceptsSwitch Stack Membership Stack Master Election and Re-Election Switch Stack Bridge ID and Router MAC Address Stack Member NumbersStack Member Priority Values Switch Stack Software Compatibility Recommendations Stack Protocol Version CompatibilitySwitch Stack Configuration Files Switch Stack Management Connectivity Accessing the CLI of a Specific Stack Member Clustering ConceptsManagement Connectivity to Specific Stack Members Command Device Characteristics Standby Command Device CharacteristicsCluster Compatibility Candidate and Member Characteristics Automatic Discovery of Candidates and MembersDiscovery of Candidates and Members Through CDP Hops Vlan Discovery of Candidates and Members Through Different VLANs Switch Discovery of Candidates and Members Through Routed PortsDiscovery of Newly Installed Switches in Clusters New out-of-boxHsrp and Standby Cluster Command Switches Virtual IP Addresses in Clusters Other Considerations for Cluster Standby GroupsAutomatic Recovery of Cluster Configuration IP Addresses in Clusters Hostnames in ClustersPasswords in Clusters Switch Clusters and Switch StacksSwitch Stack Switch Cluster Snmp Community Strings in ClustersSwitch Stack Switch Cluster Availability of Switch-Specific Features in Switch Clusters TACACS+ and Radius in ClustersCisco IOS Release 12.225SEC Using Interface Configuration Mode Command or Action Purpose Boot flash image-nameExample Dir flashEnable Show running configurationConfigure terminal Service-module interface slot/port sessionShow power inline Output of the show service-module status commandShow ip interface brief Control+shift+6Sample Output for the dir flash Command on the Router Sample Output for the boot flash Command on the RouterRouter boot flashc2800-adventerprisek9-mz ExamplesRouter# show running config interface gigabitethernet2/0 Router# configure terminalRouter# service-module gigabitethernet2/0 session Switch dir flashSwitch# show ip interface brief Switch# ctrl+shift+6Switch# show power inline Sample Output for Pressing Ctrl+Shift+6 Followed byFeature Default Setting DhcpSTP Prerequisites Clustering Concepts section on Return Sample Output for Entering an Interface Name Sample Output for Assigning the IP Address and Subnet MaskSample Output for Saving the Configuration to Nvram Command or Action PurposeRouter# service-module gigabitethernet1/0 shutdown Router# service-module gigabitethernet1/0 resetRouter# service-module gigabitethernet1/0 reload Cisco IOS Release 12.225SEC Default Switch Stack Configuration RestrictionsAssigning a Stack Member Number Sample Output for the switch renumber Command Sample Output for the reload slot CommandShow switch Switchconfig# switch 6 renumberSetting the Stack Member Priority Value Sample Output for the show switch CommandVerifying Information About the Switch Stack Sample Output for the switch priority CommandSwitchconfig# switch 2 priority Switch show switchSwitch# show platform stack-manager all Switchconfig# show switch neighbors Show switch stack-portsUsing the CLI to Manage Switch Clusters RcommandShow version Sample Output for the rcommand and show version Commands Sample Output for the show cluster members CommandChoose View Refresh Choose Cluster Add to Cluster or Password Cluster memberCreating a Cluster Standby Group Detailed Steps from the CLICluster standby-group HSRP-group-name Routing-redundancyNo switchport Sample Output for the ping tftpserver Command Sample Output for the show flash Command Sample Output for the copy tftp flash CommandSwitch# show flash Switch# copy tftp flashRecovering from a Corrupted Software Image Using Xmodem Service-module interface slot/port password-reset FlashinitService-module interface slot/port Password-resetFlashinit Control+6Troubleshooting Sample Output for the copy flash xmodem CommandRouter# copy flash xmodem Sample Output for the copy tftp xmodem Command Router# copy tftp xmodemRouter# service-module gigabitethernet1/0 session Router# service-module gigabitethernet2/0 password-resetRecovering from a Lost or Forgotten Password Optional loadhelper filesystem/file-url Boot -x -v deviceimagename Enable secret passwordRename Copy flashCopy running-configuration startup-configuration ReloadOptional set Service-module password-reset command BootSample Output for the set Command ExampleSet 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 Related Documents Technical AssistanceRelated Topic Document Title Description Link