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
- Enter Privileged Mode:
enable
- Enter Global Configuration Mode:
configure terminal or conf t
- Change Hostname:
- Command:
hostname [desired_hostname]
- Example:
hostname sw1
- Exit to Privileged Mode:
exit
- Exit to User Mode:
exit
Setting Message of the Day (MOTD) Banner
- Re-enter Global Configuration Mode:
conf t
- Set MOTD Banner:
- Command:
banner motd [delimiting_char] [banner_text] [delimiting_char]
- Example:
banner motd $ Only authorized users are allowed $
- Verify: Message appears when logging in
Configuring Passwords
Line Console Password
- Re-enter Global Configuration Mode:
conf t
- Enter Line Console Mode:
line console 0
- Set Password:
- Command:
password [desired_password]
- Example:
password India@123
- Enable Login with Password:
login
- Exit to Global Configuration Mode:
exit
Enable Secret Password
- Set Enable Secret Password:
- Command:
enable secret [desired_password]
- Example:
enable secret secure@123
- Exit to User Mode:
exit
Verifying Configuration
- Login Prompt:
- MOTD Banner displayed
- Console password required
- 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