Proper startup configuration the Cisco way

boxerboy1168boxerboy1168 Member Posts: 395 ■■■□□□□□□□
Officially what's the proper startup config for a Cisco switch???

#enable
#conf t
#hostname *duh*
#line con 0
#password 1234
#password 7 1234
#exec-timeout 10
#logging synchronous

In the Wendell Odom book I have

#hostname
#line con 0
#password
#interface %
#speed 100
#exit

So what is the initial switch configuration for Cisco it's kind of confusing?

My resources are the WGU CBT Nuggets videos, the Wendell Odom books and Chris Bryants CCNA course on Udemy. Thanks.
Currently enrolling into WGU's IT - Security Program. Working on LPIC (1,2,3) and CCNA (and S) as long term goals and preparing for the Security+ and A+ as short term goals.

Comments

  • Welly_59Welly_59 Member Posts: 431
    Don't think there is an "official"
  • boxerboy1168boxerboy1168 Member Posts: 395 ■■■□□□□□□□
    oh ok, thanks for clearing that up, for some reason I remember reading somewhere that Cisco wants an initial startup config to look a certain especially for the exams.
    Currently enrolling into WGU's IT - Security Program. Working on LPIC (1,2,3) and CCNA (and S) as long term goals and preparing for the Security+ and A+ as short term goals.
  • NissekiNisseki Member Posts: 160
    You can configure a network device what ever you want it to do.

    In most cases there is no set order to input the commands except for things like port security when you have to make the ports as access ports first (if I remember correctly) before you start running port security commands.

    You can set the hostname after you done the console and enable passwords.

    It's up to you.
  • boxerboy1168boxerboy1168 Member Posts: 395 ■■■□□□□□□□
    awesome, I'll just keep doing my usual even though I've pretty much got them down

    thanks!
    Currently enrolling into WGU's IT - Security Program. Working on LPIC (1,2,3) and CCNA (and S) as long term goals and preparing for the Security+ and A+ as short term goals.
  • HondabuffHondabuff Member Posts: 667 ■■■□□□□□□□
    Officially what's the proper startup config for a Cisco switch???

    #enable
    #conf t
    #hostname *duh*
    #line con 0
    #password 1234
    #password 7 1234
    #exec-timeout 10
    #logging synchronous

    In the Wendell Odom book I have

    #hostname
    #line con 0
    #password
    #interface %
    #speed 100
    #exit

    So what is the initial switch configuration for Cisco it's kind of confusing?

    My resources are the WGU CBT Nuggets videos, the Wendell Odom books and Chris Bryants CCNA course on Udemy. Thanks.


    This has been my base goto config for labbing. From there you can do it anyway you want depending if you are on a switch or Router.


    Router>en
    Router#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    Router(config)#hostname CORE-R1
    CORE-R1(config)#line console 0
    CORE-R1(config-line)#logging synchronous
    CORE-R1(config-line)#login
    % Login disabled on line 0, until 'password' is set
    CORE-R1(config-line)#password Cisco123!
    CORE-R1(config-line)#exec-timeout 30 0
    CORE-R1(config-line)#line vty 0 4
    CORE-R1(config-line)#logging synchronous
    CORE-R1(config-line)#exec-timeout 30 0
    CORE-R1(config-line)#login
    % Login disabled on line 388, until 'password' is set
    % Login disabled on line 389, until 'password' is set
    % Login disabled on line 390, until 'password' is set
    % Login disabled on line 391, until 'password' is set
    % Login disabled on line 392, until 'password' is set
    CORE-R1(config-line)#password Cisco123!
    CORE-R1(config)#enable secret Cisco123#
    CORE-R1(config)#username Admin privilege 15 secret Cisco123!#
    CORE-R1(config)#ip domain-name Cisco.com
    CORE-R1(config)#aaa new-model
    CORE-R1(config)#cry key generate rsa mod 1024
    The name for the keys will be: CORE-R1.Cisco.com
    Choose the size of the key modulus in the range of 360 to 2048 for your
    General Purpose Keys. Choosing a key modulus greater than 512 may take
    a few minutes.
    CORE-R1(config)#ip ssh version 2

    Enter TEXT message. End with the character '@'.
    #############################################################
    ENTER YOUR BANNER TEXT HERE!!!!!!!!!!!!!
    #############################################################

    CORE-R1#WR
    Building configuration...
    [OK]
    CORE-R1#
    “The problem with quotes on the Internet is that you can’t always be sure of their authenticity.” ~Abraham Lincoln
Sign In or Register to comment.