cse 304 computer network lab lecture 02 md. mamunur rashid akand lecturer, department of cse, bubt

Post on 12-Jan-2016

213 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

CSE 304COMPUTER NETWORK LABLECTURE 02Md. Mamunur Rashid Akand

Lecturer, Department of CSE, BUBT

Lab Requirements

1. Setting IP address and Default Gateway of a switch

2. Console, Auxiliary, VTY line password

3. Configuration backup4. Configuration restore5. Using CISCO file system6. Configure Telnet remote access

1. Setting IP address of a switch

IP address of a switch is used to telnet a switch from remote device.

SW1>enableSW1#configure terminalSW1(config)#interface vlan1SW1(config-if)#ip address 192.168.72.11 255.255.255.0SW1(config-if)#no shutdownSW1(config-if)#exitSW1(config)#ip default-gateway 192.168.72.1SW1(config)#exitSW1#disable

2. Console, Auxiliary, VTY line password

Console password:SW1>enableSW1#configure terminalSW1(config)#line console 0SW1(config-line)#loginSW1(config-line)#password ciscoSW1(config-line)#exitSW1(config)#exit

2. Console, Auxiliary, VTY line password (continued)

VTY(Virtual Type Terminal) line password:SW1>enableSW1#configure terminalSW1(config)#line vty 0 ?

<0-15>last line numberSW1(config)#line vty 0 15SW1(config-line)#loginSW1(config-line)#password ciscoSW1(config-line)#exit

2. Console, Auxiliary, VTY line password (continued)

Auxiliary password:SW1>enableSW1#configure terminalSW1(config)#line auxiliary 0SW1(config-line)#loginSW1(config-line)#password ciscoSW1(config-line)#exitSW1(config)#exit

*line auxiliary command is not supported by packet tracer.

3. Configuration backup

SW1>enableSW1#copy running-config tftpAddress or name of remote host []?

192.168.75.5Destination filename [SW1-config]?<press

Enter>Writing…SW1#

4. Configuration restore

SW1>enableSW1#copy tftp running-configAddress or name of remote host []?

192.168.75.5Source filename []?SW1-configDestination filename [running-config]?

<press Enter>Accessing tftp://192.168.75.5/SW1-

config…SW1#

5. CISCO file system

SW1#dirDirectory of flash:/

1 –rw- ……….SW1#dir nvramDirectory of nvram:/

6. Configure Telnet remote access

Configuration of router R1:Router>enableRouter#config terminalRouter(config)#hostname R1R1(config)#enable secret ciscoR1(config)#line vty 0 4R1(config-line)#loginR1(config-line)#password ciscoR1(config-line)#exitR1(config)#interface serial 2/0R1(config-if)#ip address 192.168.12.1 255.255.255.0R1(config-if)#clock rate 64000R1(config-if)#no shutdown

6. Configure Telnet remote access (continued) Configuration of router R2:Router>enableRouter#config terminalRouter(config)#hostname R2R2(config)#interface serial 2/0R2(config-if)#ip address 192.168.12.2

255.255.255.0R2(config-if)#no shutdown

6. Configure Telnet remote access (continued)

Commands for telneting from R2 to R1:R2#telnet 192.168.12.1Trying 192.168.12.1 … openUser access verificationPassword:ciscoR1>enablePassword:ciscoR1#

top related