Cisco lab-Configure the switch, route and retrieve information.

拓朴图:

 Configure the switch.(以switch为例,router可以照猫画虎)

a.     Console into the switch and enable privileged EXEC mode. Switch>enable

b.     Enter configuration mode.Switch#config t

c.     Assign a device name to the switch.Switch(config)#hostname S1

d.     Disable DNS lookup to prevent the switch from attempting to translate incorrectly entered commands as though they were host names.S1(config)#no ip domain-lookup

e.     Assign class as the privileged EXEC encrypted password.S1(config)#enable secret class

f.      Assign cisco as the console password and enable login.

S1(config)#line console 0

S1(config-line)#password cisco

S1(config-line)#login

g.     Assign cisco as the VTY password and enable login.

S1(config-line)#line vty 0 4

S1(config-line)#password cisco

S1(config-line)#login

h.     Encrypt the clear text passwords.S1(config)#service password-encryption

i.      Create a banner that warns anyone accessing the device that unauthorized access is prohibited.

S1(config)#banner motd #

Enter TEXT message. End with the character '#'.

accessing the device that unauthorized access is prohibited.#

j.      Set the clock on the switch with the following time and date: 8:00 AM 21 February 2022.

Note: Use the question mark (?) to help with the correct sequence of parameters needed to execute this command.

S1#clock set 08:00:00 21 February 2022

k.     Save the running configuration to the startup configuration file.S1#copy run startup

Step 1:     Retrieve hardware and software information from the network devices.

a.     Use the show version command to answer the following questions about the router.

How much NVRAM memory does the router have? (1 mark)

255K bytes of non-volatile configuration memory.
How much Flash memory does the router have? (1 mark)

249856K bytes of ATA System CompactFlash 0 (Read/Write)
b.     Use the show version command to answer the following questions about the switch.

What is the name of the IOS image that the switch is running? (1 mark)

System image file is "flash:c2960-lanbasek9-mz.150-2.SE4.bin"

How much dynamic random access memory (DRAM) does the switch have? (1 mark)

cisco WS-C2960-24TT-L (PowerPC405) processor (revision B0) with 65536K bytes of memory.

How much nonvolatile random-access memory (NVRAM) does the switch have? (1 mark)

64K bytes of flash-simulated non-volatile configuration memory.

What is the model number of the switch? (1 mark)

WS-C2960-24TT-L

Step 2:     Display the routing table on the router.

a.     Use the show ip route command on the router to answer the following questions.

What interface types are associated to the C coded routes? 

C 192.168.100.0/24 is directly connected, GigabitEthernet0/1

C 192.168.200.0/24 is directly connected, GigabitEthernet0/0

Step 3:     Display interface information on the router.

Use the show interface g0/1 to answer the following questions.

What is the operational status of the G0/1 interface? 

GigabitEthernet0/1 is up, line protocol is up (connected)

What is the Media Access Control (MAC) address of the G0/1 interface? 

0001.6318.7e02

How is the Internet address displayed in this command? 

Internet address is 192.168.100.1/24

Step 4:     Display a summary list of the interfaces on the router and switch.

What command is used to display a summary list of the interfaces on the router? (1 mark)

R1#show ip interface brief
What command is used to display a summary list of the interfaces on the switch? (1 mark)

S1#show interface status
If the G0/1 interface showed administratively down, what interface configuration command would you use to turn the interface up? 

interface GigabitEthernet0/1
 no shutdown

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值