You are on page 1of 10

LAB EXPERIMENT # 4

Open a HT Session & Switch basic IOS


OBJECTIVE:-

 This lab demonstrates how to open a Hyper Terminal session

EQUIPMENT:-

1. Console cable
2. One Switch
3. One Router
4. One PC

NETWORK TOPOLOGY:-

PROCEDURE AND OBSERVATION:-

Step 1: Open the Hyper Terminal Session From RUN by giving the command‘hypertrm’ or
from START Button -> Programs -> Accessories ->Communications -> Hyper Terminal.
Step 2: Give the Session name

Step 3: Define the Connection Type i-e., COM1


Step 4: Define the Port Settings of COM Port (Note: Press Restore Defaults Button)

Step 5: Start the Hyper Terminal Session.


Step 6(a): After connecting your PC to the Console Port.
Switch con0 is now available
Press RETURN to get started.
00:46:48: %SYS-5-CONFIG_I: Configured from console by console
Switch>
Switch> (User Mode)

Step 6(b): To Enter Into Privilege mode/Executive Mode from User Mode & Vice-Versa.
Switch>enable
Switch#
Switch#disable

Step 6(c): To Enter Into Global Configuration Mode.


Switch#config t
Switch(config)#

Step 7: To change the Host Name of Switch.


Switch(config)#hostname 2950-SWA
2950-SWA(config)#

Step 8(a): Set the Line Console Password on the switch.


2950-SWA(config)#line console 0
2950-SWA(config-line)#password cisco
2950-SWA(config-line)#login

Step 8(b): Verification Line Console Password on the switch.


2950-SWA con0 is now available
Press RETURN to get started.
User Access Verification
Password:
2950-SWA>enable

Step 9(a): Set the privileged mode password in clear text.


2950-SWA(config)#enable password cisco

Step 9(b): Verifying the privileged mode password in clear text.


2950-SWA#disable
2950-SWA>enable
Password:
2950-SWA#

Step 10(a): Set the Privileged Mode password in encrypted form.


2950-SWA(config)#enable secret cisco
The enable secret you have chosen is the same as your enable
password.
This is not recommended. Re-enter the enable secret.
2950-SWA(config)#enable secret cisco123

Step 10(b): Verifying the Privileged Mode password in encrypted form.


2950-SWA>enable
Password:

Step 11: Set the Line VTY Password on the switch.


2950-SWA(config)#line vty 0 15
2950-SWA(config-line)#password cisco
2950-SWA(config-line)#login

Step 12: To give the IP Address of Management Domain Interface OF 2950.


2950-SWA(config)#interface vlan 1
2950-SWA(config-if)#ip address 10.0.0.10 255.0.0.0
2950-SWA(config-if)#no shutdown

Step 13: Display the information of All Interfaces on the switch.


2950-SWA#show ip int brief

Interface IP-Address OK Method Status Protocol


Vlan1 10.0.0.10 YES manual up down
FastEthernet0/1 unassigned YES unset down down
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/23 unassigned YES unset down down
<Output Omitted>
FastEthernet0/24 unassigned YES unset down down
GigabitEthernet0/1 unassigned YES unset down down
GigabitEthernet0/2 unassigned YES unset down down

Step 14: Display the Detailed Information of Interfaces.


2950-SWA#show interfaces fastEthernet 0/1

FastEthernet0/1 is up, line protocol is up (connect)


Hardware is Fast Ethernet, address is 000f.2468.0501 (bia
000f.2468.0501)
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
<Output Omitted>

Step 15: Shown the MAC Address Table Information.


2950-SWA#show mac address-table

Mac Address Table


-------------------------------------------
Vlan Mac Address Type Ports
----- ------------------- -------------- -----
1 0001.0262.fcc4 DYNAMIC Fa0/1
Total Mac Addresses for this criterion: 1

Step 26: Copy the Current Configuration into Startup Configuration.


2950-SWA#copy running-config startup-config

Destination filename [startup-config]?


Building configuration...
[OK]

Step 27: Configuring the Multiple Interfaces.


2950-SWA(config)#int range fastEthernet 0/1 - 5
2950-SWA(config-if-range)#switchport mode access

QUESTIONS:-
1. Take five switches connect in ring topology, now connect two PC’s to each individual
switch. Perform and show the following for each switch in your lab task.

a. Change the Host Name of Switch (give it your name)


b. Set Line Console Password (your name)
c. Set Privileged mode password in clear text (your
registration number)
d. Privileged Mode password in encrypted form (your surname)
e. Copy the Current Configuration into Startup
Configuration.

1)
2)
2. Write functions for the following command line utility:

a. Cls
 clear screen

b. Tracert
 trace routes similar to patchping

c. Ipconfig
 display IP network settings

d. Ipconfig/all
 provides all network connection information for the computer.

e. Ping 127.0.0.1
 Ping the loopback address (by using the ping 127.0. 0.1 command) to find out if
the TCP/IP
is installed and working correctly on the local computer
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
f. Ping –n 2 10.0.0.1
g. Ping –l 64 10.0.0.1

You might also like