Changes between Version 1 and Version 2 of Realisations/2006-2007/Projet/PasswordRecovery


Ignore:
Timestamp:
Mar 22, 2007, 12:40:10 PM (18 years ago)
Author:
ashtari
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Realisations/2006-2007/Projet/PasswordRecovery

    v1 v2  
    1111Ensuite:
    1212
    13 Step 1   Initialize the Flash file system:
    14 
    15 switch: flash_init
    16 
    17 Step 2   If you had set the console port speed to anything other than 9600, it has been reset to that particular speed. Change the emulation software line speed to match that of the switch console port.
    18 
    19 Step 3   Load any helper files:
    20 switch: load_helper
    21 
    22 Step 4   Display the contents of Flash memory:
    23 switch: dir flash:
    24 
    25 The switch file system appears:
     13  * Step 1   Initialize the Flash file system:
     14
     15switch: '''flash_init'''
     16
     17   * Step 2   If you had set the console port speed to anything other than 9600, it has been reset to that particular speed. Change the emulation software line speed to match that of the switch console port.
     18
     19   * Step 3   Load any helper files:
     20switch: '''load_helper'''
     21
     22   * Step 4   Display the contents of Flash memory:
     23switch: '''dir flash:'''
     24
     25The switch file system appears:{{{
    2626Directory of flash:[[BR]]
    2727
     
    3333
    3434
    35 16128000 bytes total (10003456 bytes free)
    36 
    37 Step 5   Rename the configuration file to config.text.old.
     3516128000 bytes total (10003456 bytes free) }}}
     36
     37   * Step 5   Rename the configuration file to config.text.old.
    3838
    3939This file contains the password definition.
    40 switch: rename flash:config.text flash:config.text.old
    41 
    42 Step 6   Boot the system:
    43 switch: boot
     40switch: '''rename flash:config.text flash:config.text.old'''
     41
     42   * Step 6   Boot the system:
     43switch: '''boot'''
    4444
    4545You are prompted to start the setup program. Enter N at the prompt:
    4646Continue with the configuration dialog? [yes/no]: N
    4747
    48 Step 7   At the switch prompt, enter privileged EXEC mode:
    49 Switch> enable
    50 
    51 Step 8   Rename the configuration file to its original name:
    52 Switch# rename flash:config.text.old flash:config.text
    53 
    54 Step 9   Copy the configuration file into memory:
    55 Switch# copy flash:config.text system:running-config
    56 Source filename [config.text]?
    57 Destination filename [running-config]?
     48   * Step 7   At the switch prompt, enter privileged EXEC mode:
     49Switch> '''enable'''
     50
     51   * Step 8   Rename the configuration file to its original name:
     52Switch# '''rename flash:config.text.old flash:config.text '''
     53
     54   * Step 9   Copy the configuration file into memory:
     55Switch# '''copy flash:config.text system:running-config'''
     56{{{Source filename [config.text]?
     57Destination filename [running-config]?}}}
    5858
    5959Press Return in response to the confirmation prompts.
     
    6161The configuration file is now reloaded, and you can change the password.
    6262
    63 Step 10   Enter global configuration mode:
    64 Switch# configure terminal
    65 
    66 Step 11   Change the password:
    67 Switch (config)# enable secret password
     63   * Step 10   Enter global configuration mode:
     64Switch# '''configure terminal'''
     65
     66   * Step 11   Change the password:
     67Switch (config)# '''enable secret password'''
    6868
    6969The secret password can be from 1 to 25 alphanumeric characters, can start with a number, is case sensitive, and allows spaces but ignores leading spaces.
    7070
    71 Step 12   Return to privileged EXEC mode:
    72 Switch (config)# exit[[BR]]
     71   * Step 12   Return to privileged EXEC mode:
     72Switch (config)# '''exit'''[[BR]]
    7373
    7474Switch#
    7575
    76 Step 13   Write the running configuration to the startup configuration file:
    77 Switch# copy running-config startup-config
     76   * Step 13   Write the running configuration to the startup configuration file:
     77Switch# '''copy running-config startup-config'''
    7878
    7979The new password is now in the startup configuration.