In this post, I will teach you how to do basic switch configurations. Then, we will learn how to do basic connectivity configuring IP addressing on switches and PCs. Once we complete all configurations we will use various commands to verify and use the ping command to verify the connection.
“It has become appallingly obvious that our technology has exceeded our humanity.”
Part 1: Perform a Basic Configuration on a Switch
Part 2: Configure IP addressing on PC
Part 3: Configure the Switch Management Interface
Basic Configuration on a Switch
- Give our switch a name.
- Create a password for the console line.
- Secure privilaged mode access.
- Encrypt passwords
- Configure a MOTD banner.
- Save file to NVRAM
For step by step instructions on how to do basic configuration on a switch read “Basic Configuration of Cisco Switch”
Basic Configuration on a PC
To configure a PC go to “Local Area Connection Properties” and give it an IP address.
Configure Switch with an IP address.
Switches do not need an IP address because they are plug and play devices and use MAC addresses to pass information. However, if you want remote access to the switch a IP address is required.
- S1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
- S1(config)# interface vlan 1
- S1(config-if)# (ip address) 000.000.0.0 (sub net) 255.255.255.0
- S1(config-if)# no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
- S1(config-if)# exit
Test connection to Switch.
- Open command prompt
- Type ping and the IP address of the switch
- PC> ping (ip address)