Sei sulla pagina 1di 6

Lab # 04

QUESTION NO 01:

ASIF #exit
ASIF >en
Password:
ASIF #

d) Privileged Mode password


in encrypted form (your
surname)
ASIF (config)#enable secret shafqat
ASIF (config)#en
ASIF #
ASIF >
ASIF >en
Password:
ASIF #

e) Copy the Current


Configuration into Startup
Configuration.

1. Coding for Switch #


01:
a) Change the Host Name of
Switch (give it your name)
Switch(config)#hostname ASIF
ASIF (config)#
ASIF I#

b) Set Line Console Password


(your name)

ASIF #copy running-config startup-config


Destination filename [startup-config]?
Building configuration...
[OK]

2. Coding for Switch #


02:
f) Change the Host Name of
Switch (give it your name)
Switch(config)#hostname ASIF
ASIF (config)#
ASIF I#

ASIF (config-line)#password asif


ASIF (config-line)#login
ASIF (config-line)#exit
User Access Verification
Password:
ASIF >

c) Set Privileged mode password


in clear text(your
registration number)
ASIF (config)#enable password 28362
ASIF (config)#exit

g) Set Line Console Password


(your name)
ASIF (config-line)#password asif
ASIF (config-line)#login
ASIF (config-line)#exit
User Access Verification
Password:
ASIF >

h) Set Privileged mode password


in clear text(your
registration number)

BY: AIS

Lab # 04
ASIF (config)#enable password 28362
ASIF (config)#exit
ASIF #exit
ASIF >en
Password:
ASIF #

i) Privileged Mode password


in encrypted form (your
surname)
ASIF (config)#enable secret shafqat
ASIF (config)#en
ASIF #
ASIF >
ASIF >en
Password:
ASIF #

j) Copy the Current


Configuration into Startup
Configuration.
ASIF #copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

3. Coding for Switch #


03:
k) Change the Host Name of
Switch (give it your name)

m) Set Privileged mode password


in clear text(your
registration number)
ASIF (config)#enable password 28362
ASIF (config)#exit
ASIF #exit
ASIF >en
Password:
ASIF #

n) Privileged Mode password


in encrypted form (your
surname)
ASIF (config)#enable secret shafqat
ASIF (config)#en
ASIF #
ASIF >
ASIF >en
Password:
ASIF #

o) Copy the Current


Configuration into Startup
Configuration.
ASIF #copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

4. Coding for Switch #


04:

Switch(config)#hostname ASIF
ASIF (config)#
ASIF I#

l) Set Line Console Password


(your name)
ASIF (config-line)#password asif
ASIF (config-line)#login

p) Change the Host Name of


Switch (give it your name)
Switch(config)#hostname ASIF
ASIF (config)#
ASIF I#

q) Set Line Console Password


(your name)

ASIF (config-line)#exit

ASIF (config-line)#password asif

User Access Verification

ASIF (config-line)#login

Password:

ASIF (config-line)#exit

ASIF >

User Access Verification


Password:

BY: AIS

Lab # 04
ASIF >

r) Set Privileged mode password


in clear text(your
registration number)
ASIF (config)#enable password 28362
ASIF (config)#exit
ASIF #exit
ASIF >en
Password:
ASIF #

s) Privileged Mode password


in encrypted form (your
surname)
ASIF (config)#enable secret shafqat
ASIF (config)#en
ASIF #
ASIF >
ASIF >en
Password:
ASIF #

t) Copy the Current


Configuration into Startup
Configuration.
ASIF #copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

QUESTION NO 02:
1- CLS:
In computing, CLS (for clear screen) is a command used by the command line interpreters COMMAND.COM to
clear the screen or console window of commands and any output generated by them.
2- Tracert:
Traceroute is a command which can show you the path a packet of information takes from your computer to one
you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded.
In addition to this, it will tell you how long each 'hop' from router to router takes.

BY: AIS

Lab # 04

3- Ipconfig
The ip config command is used for numerous purposes but the most famous combination
of the Ipconfig command line is ipconfig /all which displays the IP address, Subnet
Mask, Mac Address, Default Gateway, DHServer IP, DNS and other details regarding a
computer and the network.

4- Ipconfig/all
Displays the full TCP/IP configuration for all adapters. Without this
parameter, ipconfig displays only the IP address, subnet mask, and default gateway values
for each adapter. Adapters can represent physical interfaces, such as installed network
adapters, or logical interfaces, such as dial-up connections.

5- Ping 192.168.255.10

BY: AIS

Lab # 04

6- Ping-n 2 192.168.255.10

7- Ping-1 64 192.168.255.10

Option

Use

-n Count

Determines the number of echo


requests to send. The default is
4 requests.

-w Timeo
ut

Enables you to adjust the timeout (in


milliseconds). The default is 4,000 (a
4-second timeout).

-l Size

Enables you to adjust the size of the


ping packet. The default size is
32 bytes.

BY: AIS

Lab # 04

-f

Sets the Do Not Fragment bit on the


ping packet. By default, the ping
packet allows fragmentation.

/?

Provides command Help.

BY: AIS

Potrebbero piacerti anche