0% found this document useful (0 votes)
8 views14 pages

Asslab 7

The document outlines the process of configuring network devices, including IP assignment for routers and PCs, and connectivity testing. It details commands for copying configurations from DRAM to NVRAM and TFTP server, as well as deleting data from both. Finally, it describes retrieving configuration data from the TFTP server to the router.

Uploaded by

za241967
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views14 pages

Asslab 7

The document outlines the process of configuring network devices, including IP assignment for routers and PCs, and connectivity testing. It details commands for copying configurations from DRAM to NVRAM and TFTP server, as well as deleting data from both. Finally, it describes retrieving configuration data from the TFTP server to the router.

Uploaded by

za241967
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Q1: Retrieve configurations from NVRAM and TFTP server

Tasks:

Introduction (devices Connectivity, IP Assigning)


IP assigning on router fastEthernet 0/0:
IP assigning on router fastEthernet 0/1:
Router0 — O X

Physical Config CLI Attributes

OS Command Line
Interface
Bouter#configure terminal
Bnter configuration commands, one per line. Bnd nith
CNTL/Z. Bouterlconfig)#interface fastBthernet 0/0
Bouterlconfig-if)#no shutdown

Bouterlconfig-if)#
&LINK-S-CHANGBD. Interface FastBtherneto/0, changed state to up

8LINBPBOTO-S-UPDOHN: Line protocol on Interface FastBthernet0ZO,


CharrgRd StAtR tO mp

Bouterlconfig-if)#ip address 152.lf8.l.l 255.255.255.0


Bouterlconfig-if)#exit
Bouterlconfig)#interface fastBthernet
0/1 Bouterlconfig-if)#no shutdown

Bouterlconfig-if)#
BLINK-S-CHANGBD: Interface FastBthernet0/l, changed state to up

%LINBPBOTO-S-UPDOHN: Line protocol on Interface FastBthernet0/l,


Ch ged Stdte tO up

Bouterlconfig-if)#ip address 152.lf8.S.l


255.255.255.0 Bouterlconfig-if)#
Bouterlconfig-if)#

Ctrl+F6 to exit CLI focus Paste


IP assigning on left side of the network:
IP assigning on PC0:

Similary, with PC1,PC2 with same default gate and IPs PC1(192.168.1.3), PC2(192.168.1.4).
IP assigning on right side of the network:
IP assigning on PC3:

Similary, with PC4,PC5,Server-PT with same default gate and IPs PC4(192.168.5.3), PC5(192.168.5.4),
Server-PT(192.168.5.5)
Connection Testing
Testing the connection from PC1 to PC4:
Packet Simulation
This is a packet simulation for PC1 to PC2 with PC1 being the source and PC2 being the destination.

Copy Data from DRAM to NVRAM


To copy data from DRAM To NVRAM we use the command copy running-config startup-config.
Lets see that is NVRAM empty or not.
It seems that NVRAM is empty now lets copy data from DRAM and then use show startup-
config.
Acuter#shcw startup-ccnlig
startup-config is not present
Rcuter4ccpy running-ccnsig startup-
ccnsig
Destinaticn filename [startup-ccnsig]?
Building ccnliguraticn...

Rcuter4shcw startup-
ccnsig Using Uo bytes

version lo.2
nc service timestamps lcg datetime msec
nc service timestamps debug datetime msec
nc service passwcrd-encxypticn

ip ces
nc ipvf ces

interface Fast=tLernet'J./'3
ip address lS=.l£8.l'J.l =ñE'.%ññ.=ññ J
dmQlez. amtc
s)pee9 aotc

interface Fast=tñernet'J./l
i;z address lS=.l£8.l'Jñ.l
=ññ.2ññ.=E'ñ.'J dwQlez. aotc
speed aotc

i;z classless
--Ncre--
Now as you can see data has been copied from DRAM to NVRAM now lets move to copy data
from DRAM to TFTP server.

Copy Data from DRAM to TFTP Server


To Copy data from DRAM to TFTP server we use copy running-config tftp: command.

As you can see we have successfully copied data to TFTP server.


Delete Data from DRAM and NVRAM
To delete NVRAM data we use erase startup-config.

To delete DRAM data, we use reload command.


Acuter#relcad
Proceed with *elcaf? [ccnfi*m]
System Bootst*ap, ’Version lI.l\3r)II, ]=L=hS= SOFIWL]= \Scl)
Copyright c) 1330 by cisco Systems, Inc.
Initializing memcry *c* ICC

(]%*J3 processor with B24s88 Hbytes cS main memcry


Nain semcry is ccnsigured tc c4 bit mcde with ICC enabled

]eadcnly ñJNllJN initialized

Self deccmpressing lhe image

Restricted Rights Legend

Use, duplication, c* disclosure by the Gcvernment is


subject tc restrictions as set Scrth in subparagraph
{c) cd the Ccmee*cial Computer Scdcware - Aesc*ictef
Rights clause at FOR sec. 5=.==z-lS and subparagraph
c) 1) ii) c2 the Rights in technical 3ata an::l Computer
Sc fi Kwa z e c I aus e a t DFARS s e c . ñ .

ciscc Systems, Inc.


lz'3 West Drive

Cisco Inlernelwork Operating System Sodlware


US tm) (] 3'3 ScStware (]:l 3'3-I-N), ’Jersien 10.2 28), ?iLiASi SOFIWL7i Sci)
technical Support: http:?/www.ciscc.ccc/techsuppcrt
Ccpyrighl {c) lS8f-0'3'3o by ciscc Systems, Inc.
Ccmpilef Wed -hpr-'34 lS:'31 by miwang

Processor boari 13 Ji'J9lS'JNTZ 4aSa8Sl4S9 l


N8•- '0 px c c es s c x : pa x t nuvhe x '0 , mas k 4 S
Bridging sodlware.
X.=o soStwa*e, ’Version 3 J 3.
a Fastithernet/Icii 8'3a.3 interface s)
3oK bytes cd ncn-volatile ccn*igu*aticn memc*y.
fO488K bytes c2 hIA CcmpactFlash {head/Write)

- -- S ys I ext Cc rtfii buz a Ci c n 3i a I c g - - -

Wculd ycu like tc enter the initial ccnsiguraticn dialcg? [yes/nc]: nc


Now let’s move to retrieve the data from TFTP server.
Retrieve configuration from TPTP server
To retrieve configuration data from TFTP server we simply use copy TFTP: running-
config.
Bouter#shox running-
config Building
configuration...

Current configuration : S3S bytes

version 13.3
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption

hostname Bouter

ip cef
no ipvf cef

interface FastBthernet0/0
ip address lsb.lf8.10.1 RSS.RSS.355.0
duplex auto
speed auto

interface FastBthernet0/l
ip address lsb.lf8.lOS.l bss.bSS.bSS.0
duplex auto
speed auto
--More--

You might also like