marc:cisco
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| marc:cisco [2024/02/24 17:07] – [Initial switch configuration] marcv | marc:cisco [2024/02/24 18:05] (current) – marcv | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Cisco configuration ====== | ====== Cisco configuration ====== | ||
| - | ==== Initial switch configuration ==== | + | ==== Initial switch |
| To configure a Cisco switch for the 1st time and set a hostname, you need to do the following: | To configure a Cisco switch for the 1st time and set a hostname, you need to do the following: | ||
| Line 14: | Line 14: | ||
| * If the switch has not been configured (or has had a factory reset) you're asked to enter the initial configuration dialog; type **no**!: | * If the switch has not been configured (or has had a factory reset) you're asked to enter the initial configuration dialog; type **no**!: | ||
| * Type the following commands: | * Type the following commands: | ||
| - | < | + | < |
| - | Switch#? | + | Switch#? |
| - | Switch#conf t | + | Switch#conf t |
| - | Switch# | + | Switch# |
| - | Switch# | + | Switch# |
| - | Switch#copy running-config startup-config</ | + | Switch#copy running-config startup-config |
| + | Switch# | ||
| * Initial mode is __user mode__ (**Switch> | * Initial mode is __user mode__ (**Switch> | ||
| Line 26: | Line 27: | ||
| * 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) | * **conf t** (configure terminal) enters __global configuration mode__ (input from terminal) | ||
| - | | + | |
| - | * **end** back to privilege mode | + | |
| - | * **copy running-config startup-config** writes the config to switch | + | |
| - | |||
| - | ==== Initial router configuration ==== | ||
marc/cisco.1708790825.txt.gz · Last modified: by marcv
