🔧

Basic Switch Configuration in Packet Tracer

Aug 1, 2024

Cisco Packet Tracer Lab: Basic Switch Configuration

Introduction

  • Presenter: Amir
  • Topic: Basic switch-related configuration using Cisco Packet Tracer
  • Focus: Hostname configuration, MOTD (Message of the Day) banner, password configuration

Steps to Follow

Opening Cisco Packet Tracer

  • Prerequisite: Cisco Packet Tracer downloaded and installed
  • Video Reference: Separate video available for installation instructions
  • Device Selection: Choose a switch from the options at the bottom (Example: 2960)

Accessing CLI

  • Current State: Switch boots up in user mode with default hostname 'Switch'

Changing Hostname

  1. Enter Privileged Mode: enable
  2. Enter Global Configuration Mode: configure terminal or conf t
  3. Change Hostname:
    • Command: hostname [desired_hostname]
    • Example: hostname sw1
  4. Exit to Privileged Mode: exit
  5. Exit to User Mode: exit

Setting Message of the Day (MOTD) Banner

  1. Re-enter Global Configuration Mode: conf t
  2. Set MOTD Banner:
    • Command: banner motd [delimiting_char] [banner_text] [delimiting_char]
    • Example: banner motd $ Only authorized users are allowed $
  3. Verify: Message appears when logging in

Configuring Passwords

Line Console Password

  1. Re-enter Global Configuration Mode: conf t
  2. Enter Line Console Mode: line console 0
  3. Set Password:
    • Command: password [desired_password]
    • Example: password India@123
  4. Enable Login with Password: login
  5. Exit to Global Configuration Mode: exit

Enable Secret Password

  1. Set Enable Secret Password:
    • Command: enable secret [desired_password]
    • Example: enable secret secure@123
  2. Exit to User Mode: exit

Verifying Configuration

  1. Login Prompt:
    • MOTD Banner displayed
    • Console password required
  2. Privileged Mode Password: Enter the enable secret password

Saving Configuration

  • Importance: Prevent loss of configuration on reboot
  • Command: copy run start

Conclusion

  • Summary: Covered basic switch configuration - hostname, MOTD banner, passwords
  • Next Steps: More advanced configurations in future videos
  • Call to Action: Like, comment, and share the video with friends

End: Thank you and see you in the next video