《(2020年)年企业形象实验》由会员分享,可在线阅读,更多相关《(2020年)年企业形象实验(39页珍藏版)》请在金锄头文库上搜索。
1、难度110分1、2、3、4、5难度315分6、6、8、9、10难度515分11、12、13、14、15一、请按要求完成静态、默认路由的相关配置(难度等级1)。根据下图所示(以下的设备均为CISCO设备),完成静态路由的相关配置。实验要求:1、配置路由器R1、R2和R3的网络接口地址,地址分配如下表所示:设备接口IP 地址子网掩码网关备注R1Fa0/0172.16.3.1255.255.255.0不适用R1S1/0172.16.2.1255.255.255.0不适用R2Fa0/0172.16.1.1255.255.255.0不适用R2S1/0172.16.2.2255.255.255.0不适用R
2、2S1/1192.168.1.2255.255.255.0不适用R3Fa0/0192.168.2.1255.255.255.0不适用R3S1/1192.168.1.1255.255.255.0不适用PC1网卡172.16.3.11255.255.255.0172.16.3.1已完成配置PC2网卡172.16.1.11255.255.255.0172.16.1.1已完成配置PC3网卡192.168.2.11255.255.255.0192.168.2.1已完成配置2、配置静态路由及默认路由。3、实现全网互通,并保存配置。得分点:操作内容分数10关键字配置各接口地址3ip add 静态路由配置3i
3、p route 172.16.3.0 255.255.255.0 172.16.2.1ip route 192.168.2.0 255.255.255.0 192.168.1.1默认路由配置3ip route 0.0.0.0 255.255.255.0 192.168.1.2答案:R1配置:RouterenRouterenableRouter#confRouter#configure tRouter#configure terminalRouter(config)#hostRouter(config)#hostname R1Router(config)#hostname R1 命名R1(con
4、fig)#no ip domain-lookup 容错R1(config)#line con 0 进入consolR1(config-line)#logging syn 日志同步R1(config-line)#exec-timeout 0 延时为0R1(config)#interface s1/0 进入串口R1(config-line)#description linkto R2-s1/0 说明路径R1(config-if)#no shutdown 打开端口!interface fa0/0ip address 172.16.3.1 255.255.255.0no shutdown!interf
5、ace s1/0ip address 172.16.2.1 255.255.255.0clock rate 64000 no shutdown!ip route 0.0.0.0 255.255.255.0 172.16.2.2!R2配置:!interface fa0/0ip address 172.16.1.1 255.255.255.0no shutdown!interface s1/0ip address 172.16.2.2 255.255.255.0clock rate 64000no shutdown!interface s1/1ip address 192.168.1.2 255.
6、255.255.0clock rate 64000 no shutdown!ip route 172.16.3.0 255.255.255.0 172.16.2.1ip route 192.168.2.0 255.255.255.0 192.168.1.1!R3配置:!interface fa0/0ip address 192.168.2.1 255.255.255.0no shutdown!interface s1/1ip address 192.168.1.1 255.255.255.0no shutdown!ip route 0.0.0.0 255.255.255.0 192.168.1
7、.2!二、EthernetChannel基本配置(难度1)根据下图所示(以下所有设备均为CISCO设备),完成EthernetChannel基础配置。要求:1、将两台交换机的F0/2,F0/3绑定一个EthernetChannel,mode为on 状态;2、验证EthernetChannel配置的正确性。操作内容分数10关键字接口配置3switchport mode trunk接口配置3channel-group 1 mode onPort-channel配置4interface port-channel 1switchport mode trunk答案:SW1的配置:!interface p
8、ort-channel 1 switchport mode trunk no shutinterface FastEthernet 0/2 channel-group 1 mode on switchport mode trunk no shutint FastEthernet 0/3 channel-group 1 mode on switchport mode trunk no shut!SW2的配置:!interface port-channel 1 switchport mode trunk no shut!interface FastEthernet 0/2 channel-grou
9、p 1 mode on switchport mode trunk no shut!int FastEthernet 0/3 channel-group 1 mode on switchport mode trunk no shut!三、Trunk基本配置(难度1)根据下图所示(以下所有设备均为CISCO设备),完成Trunk基础配置。要求:1、SW1上分别有VLan10、20,SW2上有VLAN10,PC1/PC3属于VLAN10,PC2属于VLAN20;2、SW1、SW2之间配置Trunk,实现不同的VlAN相互通信。操作内容分数10关键字VLAN 配置3vlan 10,vlan 20 ;
10、int vlan ip addressVLAN划分3switchport mode accessswitchport access vlan 10Trunk启用、并保证不同VLAN将的PC互通4interface Fastethernet0/1switchport trunk encapsulation dot1qswitchport mode trunk互ping答案:SW1的配置:!ip routing!vlan 10name jiguan!vlan 20name shengchan!int vlan 10ip address 192.168.10.1 255.255.255.0no sh
11、ut!nt vlan 20ip address 192.168.20.1 255.255.255.0no shut!interface Fastethernet0/1switchport trunk encapsulation dot1q 启用1q模式封装switchport mode trunk 选择路由为trunk模式no shutswitchport trunk allowed vlan10,20 连通vlan10 20!interface Fastethernet0/2switchport mode access 连接模式switchport access vlan 10no shut
12、!interface Fasetethernet0/3switchport mode accessswitchport mode accessswitchport access vlan 20no shut!SW2配置:!ip routing!vlan 10vlan 20!interface vlan 10ip address 192.168.10.2 255.255.255.0no shut!interface Fastethernet0/1switchport trunk encapsulation dot1qswtichport mode trunkno shut!interface F
13、astethernet0/2switchport mode accessswitchport access vlan 10no shut!四、CHAP 认证基本配置(难度1)要求:1、使用“username 用户名 password 密码” 命令为对方配置用户名和密码,注意:两方的密码要相同。2、在路由器R1、R2串口上配置PPP封装,并配置 CHAP身份验证。3、验证否配置成功。操作内容分数10关键字接口 配置3ip address 使用用户名密码3username XX password cisco在两台设备启用PPP封装,并配置CHAP身份验证4interface s0/0encapsu
14、lation pppppp authentication chap答案:R1的配置!sh run 查看配置interface s1/0ip address 192.168.12.1 255.255.255.252no shut!username R1 password ciscousername cisco password cisco (可不用这句)no ip domain-lookup!interface s1/0 description linkto R2-s1/0ip address 192.168.12.1 255.255.255.252no shutencapsulation ppp 启用PPP协议ppp authentication chap 验证PPP命令!Line con 0