1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A Q about Cisco router password config?

Discussion in 'Routing & Switching' started by Beany, Sep 6, 2012.

  1. Beany

    Beany Bit Poster

    39
    0
    2
    Afternoon,

    why is it when i set the line console 0 password and reload the router it doesnt save my password? it just goes straight to user mode.

    If i dont reload and just exit all the way out and then try to get into user mode it will ask for a console password. Strange, why is this?

    Am i suppose to copy the running-config to the startup-config?

    thanks
     
  2. Coupe2T

    Coupe2T Megabyte Poster

    590
    43
    67
    You will need to write the config to start config, otherwise you are only making changes in the current environment. Once written to the startup config then it should ask you every time.

    Try it and see! Only way to learn! ;-)
     
    Certifications: ECDL, Does that Count!?!
  3. Beany

    Beany Bit Poster

    39
    0
    2
    thanks for the reply, right what i did was set up a console password then in enable mode i copied the running config to the startup config. It then asked for a file destination which lead me to press the enter key. Done no errors but when i turn off my router it starts with the set up mode which i exit but no prompt for the console password.
     
  4. Simonvm

    Simonvm Kilobyte Poster

    472
    13
    41
    Just typing "wr" should be enough.

    Please copy whatever output you're getting if that doesn't work?
     
    Certifications: MCITP: EST, MCDST, MCTS, A+, N+, CCNP, CCNA Wireless
  5. Beany

    Beany Bit Poster

    39
    0
    2
    still the same with 'wr'

    the output:

    Router>enable
    Router#config t
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#line console 0
    Router(config-line)#login
    % Login disabled on line 0, until 'password' is set
    Router(config-line)#password cisco
    Router(config-line)#exit
    Router(config)#exit
    Router#
    *Jul 22 22:33:43.659: %SYS-5-CONFIG_I: Configured from console by console
    Router#wr
    Building configuration...
    [OK]
    Router#reload
    Proceed with reload? [confirm]y
    *Jul 22 22:34:13.715: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload command.
    System Bootstrap, Version 12.2(11r)YV3, RELEASE SOFTWARE (fc2)
    Technical Support: Support and Documentation - Cisco Systems
    Copyright (c) 2004 by cisco Systems, Inc.
    C800/SOHO series (Board ID: 23-127) platform with 65536 Kbytes of main memory

    program load complete, entry point: 0x80013000, size: 0x948bc0
    Self decompressing the image : ################################################################################################################################################################################## [OK]

    Restricted Rights Legend

    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.

    cisco Systems, Inc.
    170 West Tasman Drive
    San Jose, California 95134-1706



    Cisco IOS Software, C837 Software (C837-K9O3SY6-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
    Technical Support: Support and Documentation - Cisco Systems
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Thu 23-Mar-06 07:39 by pwade
    Image text-base: 0x800131F8, data-base: 0x811CE928

    Port Statistics for unclassified packets is not turned on.

    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.

    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    Export Compliance Product Report Application

    If you require further assistance please contact us by sending email to
    export@cisco.com.

    Cisco C837 (MPC857DSL) processor (revision 0x600) with 62260K/3276K bytes of memory.
    Processor board ID FCZ091243FZ (3546847070), with hardware revision 0000
    CPU rev number 7
    2 Ethernet interfaces
    4 FastEthernet interfaces
    1 ATM interface
    128K bytes of NVRAM.
    12288K bytes of processor board System flash (Read/Write)
    2048K bytes of processor board Web flash (Read/Write)


    --- System Configuration Dialog ---

    Would you like to enter the initial configuration dialog? [yes/no]: no


    Press RETURN to get started!


    *Mar 1 00:00:11.719: %LINK-3-UPDOWN: Interface FastEthernet1, changed state to up
    *Mar 1 00:00:11.719: %LINK-3-UPDOWN: Interface FastEthernet2, changed state to up
    *Mar 1 00:00:11.719: %LINK-3-UPDOWN: Interface FastEthernet3, changed state to up
    *Mar 1 00:00:11.719: %LINK-3-UPDOWN: Interface FastEthernet4, changed state to up
    *Mar 1 00:00:12.839: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1, changed state to up
    *Mar 1 00:00:12.839: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to up
    *Mar 1 00:00:12.839: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3, changed state to up
    *Mar 1 00:00:12.839: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to up
    *Mar 1 00:00:14.131: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed to: Initialized
    *Mar 1 00:00:14.159: %VPN_HW-6-INFO_LOC: Crypto engine: onboard 0 State changed to: Enabled
    *Mar 1 00:00:24.559: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
    *Mar 1 00:00:27.567: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to down
    *Mar 1 00:00:27.567: %LINK-3-UPDOWN: Interface ATM0, changed state to down
    *Mar 1 00:00:28.567: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to down
    *Mar 1 00:00:29.575: %LINK-3-UPDOWN: Interface FastEthernet1, changed state to down
    *Mar 1 00:00:29.579: %LINK-3-UPDOWN: Interface Ethernet0, changed state to down
    *Mar 1 00:00:29.579: %LINK-3-UPDOWN: Interface FastEthernet2, changed state to down
    *Mar 1 00:00:29.579: %LINK-3-UPDOWN: Interface FastEthernet3, changed state to down
    *Mar 1 00:00:29.583: %LINK-3-UPDOWN: Interface FastEthernet4, changed state to down
    *Mar 1 00:00:30.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1, changed state to down
    *Mar 1 00:00:30.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet2, changed state to down
    *Mar 1 00:00:30.579: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet3, changed state to down
    *Mar 1 00:00:30.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4, changed state to down
    *Jul 22 22:34:09.907: %LINK-5-CHANGED: Interface Ethernet0, changed state to administratively down
    *Jul 22 22:34:09.911: %LINK-5-CHANGED: Interface ATM0, changed state to administratively down
    *Jul 22 22:34:10.175: %LINK-5-CHANGED: Interface Ethernet2, changed state to administratively down
    *Jul 22 22:34:10.623: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C837 Software (C837-K9O3SY6-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2)
    Technical Support: Support and Documentation - Cisco Systems
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Compiled Thu 23-Mar-06 07:39 by pwade
    *Jul 22 22:34:10.627: %SNMP-5-COLDSTART: SNMP agent on host Router is undergoing a cold start
    *Jul 22 22:34:13.887: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet2, changed state to down
    Router>
    Router>
     
  6. Simonvm

    Simonvm Kilobyte Poster

    472
    13
    41
    Can you post the output of "show version" please?
     
    Certifications: MCITP: EST, MCDST, MCTS, A+, N+, CCNP, CCNA Wireless
  7. danielno8

    danielno8 Gigabyte Poster

    1,305
    48
    92
    i think you may have the wrong confreg setting......did you change it to reset the config at some point? It should be 0x2102...yours is probably 0x2142 which is what you change it to to make the router bypass the startup configuration file.

    You will need to send a break command during bootup of the router to get to rommon mode then type something like "confreg 0x2102" (no quotation marks)
     
    Last edited: Sep 6, 2012
    Certifications: CCENT, CCNA
    WIP: CCNP
    Beany and Simonvm like this.
  8. Beany

    Beany Bit Poster

    39
    0
    2
    thanks mate, working now. Had the wrong confreg settings. Had 0x2142 instead of 0x2102.
     

Share This Page

Loading...