lLab 10‐2: Connecting to CISCO Equipment - rune-seregina/net-150-sp24 GitHub Wiki

What was this lab's objective?

In this lab, I used my knowledge of Cisco's simulation tool, packet tracer, and applied it to real hardware devices by configuring a CISCO router using Putty. This involved switching between modes, changing and saving configuration settings, and configuring a specific interface.

Troubleshooting:

  • We had several issues with our router, including routers booting in the wrong mode, Putty not recognizing keyboard input, and accidentally booting up a switch. Eventually, we acquired a working router and found our issue to lie in our USB/Serial Console cable, which we switched out to eventually get the lab to work. Some other minor issues involved trying to execute commands in the wrong mode, and to solve this in the future I included a comprehensive explanation of each mode at the bottom of this page.

Screenshot #1 - commands available in EXEC Mode

image

Screenshot #2 of section of config

image

Screenshot #3- section of config showing new hostname

image

Screenshot #4: Output from the show interface command that displays the interface hardware (MAC) address (in xxxx.xxxx.xxxx hex format) and the IP address/mask you set (192.168.3.133)

image

Screenshot # 5: Show that you removed the hostname configuration using "no"

image

Screenshot #6 showing that the Fast Ethernet 0/0 kept it's IP address that you set

image

How to use Putty to connect to a Cisco device

  • Find COM # for USB Serial Port in Device Manager > Open putty.exe > Connection type Serial + COM #

How to enter Privileged mode on a Cisco device

  • "enable", prompt should change to Router#

How to get "help" and prompts for commands on a cisco device

  • "?" to see all available commands in current modes
  • "?" also shows what to input next in a command
  • command hierarchy prompts:
    • Router> User Exec - basic monitoring commands


    • Router# privileged exec - all commands
    • Router(config)# Global configuration commands
      • Router(config-if)# interface level commands within global config
      • Router(config-router)# engine level commands within global config
      • Router(config-line)# line level commands within global config

How to auto-complete commands on a Cisco device

  • tab autocompletes commands once you start typing! (eg. "inter + tab" makes interface)

How to go into Configure Mode

  • "configure terminal" or "config t"
  • "exit" to go back to privileged

How to view the configuration

  • "show running-config" or "show run"

How to remove config items

  • "no [configuration to be removed]" eg. "no hostname"

How to save the config

  • copy running-config startup-config" or "copy run start"

How to restart/reload a cisco device

  • privileged mode > "reload"
  • "do" runs commands in privileged mode
⚠️ **GitHub.com Fallback** ⚠️