labReport3_1611042
labReport3_1611042
ID: 1721250
Course ID: CSC430L
Section: 2
Subject: CSC430 LAB REPORT 3
Instructions:
Connect Router1 and Router2 using cable and access router CLI
from the Workstation terminal emulator software:
Loading "flash:/2960-lanbase-mz.122-25.FX.bin"...
####################################################
###################### [OK]
Restricted Rights Legend
Switch>enable
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int vlan 1
Switch(config-if)#ip address 192.168.1.2 255.255.255.0
Switch(config-if)#no shutdown
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
SW1(config)#line vty 0 15
*Mar 1 0:52:31.101: %SSH-5-ENABLED: SSH 1.99 has been
enabled
SW1(config-line)#login local
SW1(config-line)#transport input ssh
SW1(config-line)#exec-timeout 5
SW1(config-line)#exit
SW1(config)#ip ssh version 2
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state
to up
Router(config-if)#
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#do ping 192.168.1.2
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#crypto key generate rsa
The name for the keys will be: R1.cisco.com
Choose the size of the key modulus in the range of 360 to 2048
for your
General Purpose Keys. Choosing a key modulus greater than
512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...
[OK]
R1(config)#line vty 0 15
*Mar 1 0:55:49.136: %SSH-5-ENABLED: SSH 1.99 has been
enabled
R1(config-line)#login local
R1(config-line)#transport input rsh
^
% Invalid input detected at '^' marker.
R1(config-line)#transport input ssh
R1(config-line)#exec-timeout 5
R1(config-line)#
R1(config-line)#exit
R1(config)#ip ssh version 2
R1(config)#
PC command promt
Packet Tracer PC Command Line 1.0
C:\>192.168.1.2
Invalid Command.
C:\>ping 192.168.1.2
C:\>ping 192.168.1.1
C:\>telnet 192.168.1.2
Trying 192.168.1.2 ...Open
Username: afsa
Password:
% Login invalid
Username: afsa
Password:
Switch>enable
% No password set.
Switch>exit
[Connection to 192.168.1.2 closed by foreign host]
C:\>telnet 192.168.1.1
Trying 192.168.1.1 ...Open
Username: afsa
Password:
Router>
Password:
SW1>exit
Password:
R1>