Download presentation
Presentation is loading. Please wait.
1
CSE 304 Computer network lab lecture 02
Md. Mamunur Rashid Akand Lecturer, Department of CSE, BUBT
2
Lab Requirements Setting IP address and Default Gateway of a switch
Console, Auxiliary, VTY line password Configuration backup Configuration restore Using CISCO file system Configure Telnet remote access
3
1. Setting IP address of a switch
IP address of a switch is used to telnet a switch from remote device. SW1>enable SW1#configure terminal SW1(config)#interface vlan1 SW1(config-if)#ip address SW1(config-if)#no shutdown SW1(config-if)#exit SW1(config)#ip default-gateway SW1(config)#exit SW1#disable
4
2. Console, Auxiliary, VTY line password
Console password: SW1>enable SW1#configure terminal SW1(config)#line console 0 SW1(config-line)#login SW1(config-line)#password cisco SW1(config-line)#exit SW1(config)#exit
5
2. Console, Auxiliary, VTY line password (continued)
VTY(Virtual Type Terminal) line password: SW1>enable SW1#configure terminal SW1(config)#line vty 0 ? <0-15>last line number SW1(config)#line vty 0 15 SW1(config-line)#login SW1(config-line)#password cisco SW1(config-line)#exit
6
2. Console, Auxiliary, VTY line password (continued)
Auxiliary password: SW1>enable SW1#configure terminal SW1(config)#line auxiliary 0 SW1(config-line)#login SW1(config-line)#password cisco SW1(config-line)#exit SW1(config)#exit *line auxiliary command is not supported by packet tracer.
7
3. Configuration backup SW1>enable SW1#copy running-config tftp Address or name of remote host []? Destination filename [SW1-config]?<press Enter> Writing… SW1#
8
4. Configuration restore
SW1>enable SW1#copy tftp running-config Address or name of remote host []? Source filename []?SW1-config Destination filename [running-config]?<press Enter> Accessing tftp:// /SW1-config… SW1#
9
5. CISCO file system SW1#dir Directory of flash:/ 1 –rw- ………. SW1#dir nvram Directory of nvram:/
10
6. Configure Telnet remote access
Configuration of router R1: Router>enable Router#config terminal Router(config)#hostname R1 R1(config)#enable secret cisco R1(config)#line vty 0 4 R1(config-line)#login R1(config-line)#password cisco R1(config-line)#exit R1(config)#interface serial 2/0 R1(config-if)#ip address R1(config-if)#clock rate R1(config-if)#no shutdown
11
6. Configure Telnet remote access (continued)
Configuration of router R2: Router>enable Router#config terminal Router(config)#hostname R2 R2(config)#interface serial 2/0 R2(config-if)#ip address R2(config-if)#no shutdown
12
6. Configure Telnet remote access (continued)
Commands for telneting from R2 to R1: R2#telnet Trying … open User access verification Password:cisco R1>enable R1#
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.