Site Tools


marc:cisco

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
marc:cisco [2024/02/24 16:53] marcvmarc:cisco [2024/02/24 18:05] (current) marcv
Line 3: Line 3:
 ====== Cisco configuration ====== ====== Cisco configuration ======
  
-==== Initial switch configuration ====+==== Initial switch and router configuration ==== 
 + 
 +To configure a Cisco switch for the 1st time and set a hostname, you need to do the following:
  
   * Connect PC to switch using **parallel/console connection**   * Connect PC to switch using **parallel/console connection**
Line 11: Line 13:
     * Press connect     * Press connect
   * If the switch has not been configured (or has had a factory reset) you're asked to enter the initial configuration dialog; type **no**!:{{:marc:switch_1st_boot.png?direct&600|}}   * If the switch has not been configured (or has had a factory reset) you're asked to enter the initial configuration dialog; type **no**!:{{:marc:switch_1st_boot.png?direct&600|}}
 +  * Type the following commands:
 +<code>    Switch>en                                    enable gets you into privilege mode (Switch# prompt)
 +    Switch#?                                     shows available commands
 +    Switch#conf t                                configure terminal enters global configuration mode
 +    Switch#hostname switch1                      sets the hostname
 +    Switch#end                                   back to privilege mode
 +    Switch#copy running-config startup-config    writes the config to switch
 +    Switch#disable                               back to usermode</code>
 +
   * Initial mode is __user mode__ (**Switch>** prompt)   * Initial mode is __user mode__ (**Switch>** prompt)
   * Typing **enable** gets you into __privilege mode__ (**Switch#** prompt)   * Typing **enable** gets you into __privilege mode__ (**Switch#** prompt)
   * Typing **?** shows available commands   * Typing **?** shows available commands
   * Tab completion is available but if it's clear that only 1 command is available, finishing it is not necessary.   * Tab completion is available but if it's clear that only 1 command is available, finishing it is not necessary.
-  *  +  * **conf t** (configure terminal) enters __global configuration mode__ (input from terminal) 
 +  
  
-==== Initial router configuration ==== 
  
marc/cisco.1708789999.txt.gz · Last modified: by marcv

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki