Lab 1 (Networking)
Lab 1 (Networking)
Topology
Addressing Table
Device Interface IP Address / Prefix
Objectives
Part 1: Cable the Network and Verify the Default Switch Configuration
Part 2: Configure Basic Network Device Settings
Part 3: Verify and Test Network Connectivity
Background / Scenario
Cisco switches can be configured with a special IP address known as the switch virtual interface (SVI). The
SVI, or management address, can be used for remote access to the switch to display or configure settings. If
the VLAN 1 SVI is assigned an IP address, by default, all ports on VLAN 1 have access to the SVI IP
address.
In this activity, you will build a simple topology using Ethernet LAN cabling to access a Cisco switch using the
console and remote access methods. You will examine default switch configurations before configuring basic
switch settings. These basic switch settings include device name, interface description, local passwords,
message of the day (MOTD) banner, IP addressing, and static MAC address. You will also use a
management IP address for remote switch management. The topology consists of one switch and two hosts
using only Ethernet and console ports. You will verify network connectivity and manage a MAC address table
using two end devices.
Instructions
Part 1: Cable the Network and Verify the Default Switch Configuration
In Part 1, you will set up the network topology and verify default switch settings.
Step 1: Cable the network as shown in the topology.
a. From the shelf, click and drag switch S1 and place it on the left side of the table.
b. From the shelf, click and drag the device PC-A and place it on the right side of the table. Power on PC-A.
c. Connect a console cable from device PC-A to switch S1, as shown in the topology. Do not connect the
device PC-A Ethernet cable at this time.
d. From the Desktop tab of PC-A, use Terminal to connect to the switch.
Why must you use a console connection to initially configure the switch? Why is it not possible to connect
to the switch via Telnet or SSH?
ANS: Switch does not have Gigabit Ethernet. It has 24 Fast Ethernets.
f. Connect an Ethernet cable from PC-A to GigabitEthernet1/0/6 on the switch. Allow time for the switch and
PC to negotiate duplex and speed parameters. Examine the IP properties of the SVI VLAN 1.
What output do you see?
ANS: No IP Assign.
c. Issue the show vlan brief command to verify that all ports are in VLAN 1.
d. Console port access should also be restricted with a password. Use cisco as the console login
password in this activity. The default configuration is to allow all console connections with no password
needed.
S1(config)# line con 0
S1(config-line)# login
S1(config-line)# password cisco
e. Configure the virtual terminal (vty) lines for the switch to allow Telnet access. If you do not configure a vty
password, you will not be able to use Telnet to access the switch.
S1(config)# Line vty 0 4
Login
Password telnetaccess
Reflection Questions
1. Why should you configure the vty password for the switch?
ANS: Configuring the vty password for a switch is important for security reasons. The vty lines on a
switch are used to manage and configure the switch through Telnet. Without a vty password, anyone
who knows the IP address of the switch could gain access to the switch and make unauthorized
changes to its configuration.