# Lab 4.1: Console Access Mini-Lab

### Summary

During this lab we got our hands on real CISCO hardware and were able to tinker with the CLI.

### Steps to Setup Computer

1. After connection to the console port open `Device Manager`
   1. Take now of the COM\<Num> is. This will be used later in the PuTTY config
2. You want the setting to be the same as the table below

<table><thead><tr><th width="146">Variable</th><th width="140">Value</th></tr></thead><tbody><tr><td>Bits per sec</td><td>9600</td></tr><tr><td>Data bits</td><td>8</td></tr><tr><td>Parity</td><td>None</td></tr><tr><td>Stop bits</td><td>1</td></tr><tr><td>Flow Control</td><td>None</td></tr></tbody></table>

&#x20; 3\. Now open PuTTY and navigator to `Serial` under `SSH`

<figure><img src="https://1767217326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGG1ypcCqcB1a4JSBwHti%2Fuploads%2FS1xgbUwecGQfTzV2YRLw%2FScreenshot%202022-09-24%20145237.png?alt=media&#x26;token=2af227ba-4456-42ae-bec2-6e176b97e956" alt=""><figcaption><p>Shows the PuTTY config</p></figcaption></figure>

&#x20; 4\. Now under Session Select the COM\<Num> from earlier

<figure><img src="https://1767217326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGG1ypcCqcB1a4JSBwHti%2Fuploads%2FfZEGvpTei6FDjG0lYANA%2FScreenshot%202022-09-24%20145607.png?alt=media&#x26;token=d7f20bb9-79a4-408e-bd2b-46efae237430" alt=""><figcaption><p>Session Config</p></figcaption></figure>

&#x20; 5\. Click `Open` and if everything was setup properly you should be in the CISCO CLI

### CISCO Steps to clear config

1. Say `no` if prompted to run setup wizard
2. Enter privileged mode `enable`
3. Enter the command `write erase`, which erases the NVRAM file system and removes all files.
4. At the prompt, confirm that you want to erase all files.
5. Enter command `reload`, and enter `no` when prompted whether to save the configuration. (Otherwise, the switch will reload the current running configuration.)
6. Confirm that you want to reload the switch, and your switch configuration is almost clean.
7. Upon reboot, say `no` if prompted to run setup wizard
