下载此文档

路由器交换机配置实作题-答案.pdf


文档分类:资格/认证考试 | 页数:约19页 举报非法文档有奖
1/19
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/19 下载此文档
文档列表 文档介绍
该【路由器交换机配置实作题-答案 】是由【青山代下】上传分享,文档一共【19】页,该文档可以免费在线阅读,需要了解更多关于【路由器交换机配置实作题-答案 】的内容,可以使用淘豆网的站内搜索功能,选择自己适合的文档,以下文字是截取该文章内的部分文字,如需要获得完整电子版,请下载此文档到您的设备,方便您编辑和打印。:..技术培训实验手册(路由器28-31,交换机3900(3层),3026(2层)):[RouterA]superpasswordsimpleh3c//设置SUPER密码以明文格式[RouterA]superpasswordcipherh3c1//设置SUPER密码以密文格式2.[RouterA]user-interfacevty04[RouterA-ui-vty0-4]authentication-modepassword//认证方式为密码认证[RouterA-ui-vty0-4]setauthenticationpasswordcipherh3c//设置登陆得密码[RouterA-ui-vty0-4]userprivilegelevel1//登陆后得权限3.[RouterA]user-interfacevty04[RouterA-ui-vty0-4]authentication-modepassword//认证方式为密码认证[RouterA-ui-vty0-4]setauthenticationpasswordcipherh3c//设置登陆得密码[RouterA-ui-vty0-4]userprivilegelevel2//登陆后得权限4.[RouterA]user-interfacevty04[RouterA-ui-vty0-4]authentication-modepassword//认证方式为密码认证[RouterA-ui-vty0-4]setauthenticationpasswordcipherh3c//设置登陆得密码[RouterA-ui-vty0-4]userprivilegelevel3//登陆后得权限5.:..[Router]displaycurrent-configuration查看当前设备配置信息[Router]sysnamecqdl修改设备名称为cqdl<RouterA>save保存配置文档[RouterA]displaysaved-configuration查看Flash中的配置[RouterA]resetsaved-configuration删除FLASH中的配置信息(重置设备配置):[Quidway]mac-addressstatic0003-47b7-0/:[Quidway]mac-addressstatic0003-5757-0/:[Quidway]mac-addressstatic0003-FFFF-0/:[Quidway]mac-addressstatic0003-47b7-0/:[Quidway]mac-addressstatic0003-4EE7-0/:[SwitchA]0/1[SwitchA-0/1]portlink-typetrunk[SwitchA-0/1]porttrunkpermetvlanall:..:[H3C]vlan10[H3C-vlan10]porte0/1[H3C]vlan20[H3C-vlan20]porte0/2[H3C]interfacevlan-interface10[H3C-interface-vlan10][H3C]interfacevlan-interface20[H3C-interface-vlan20].[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1][Router1]iproute-[Router2]iproute-:[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1:..[Router2-e1/1][Router1]iproute-[Router2]iproute-:[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1][Router1]iproute-[Router2]iproute-:[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1][Router1]iproute-[Router2]iproute-::..[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1][Router1]iproute-[Router2]iproute-.[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1][Router1]iproute-[Router2]iproute-.[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1]:..[Router1]ospf1router-[Router1-ospf1]area0[Router1-ospf1-[Router1-ospf1-[Router2]ospf1router-[Router2-ospf1]area0[Router2-ospf1-[Router2-ospf1-.[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0][Router2]interfacee1/1[Router2-e1/1][Router1]ospf1router-[Router1-ospf1]area0[Router1-ospf1-[Router1-ospf1-[Router2]ospf1router-[Router2-ospf1]area0[Router2-ospf1-[Router2-ospf1-.[Router]interfacee1/0[Router-e1/0][Router]interfacee1/1[Router-e1/1][Router2]interfacee1/0[Router2-e1/0]:..[Router2]interfacee1/1[Router2-e1/1][Router1]ospf1router-[Router1-ospf1]area0[Router1-ospf1-[Router1-ospf1-[Router2]ospf1router-[Router2-ospf1]area0[Router2-ospf1-[Router2-ospf1-:[RouterA]user-interfaceaux04[RouterA-ui-aux0-4]authentication-modepassword[RouterA-ui-aux0-4]setauthenticationpasswordsimpleh3c[RouterA-ui-aux0-4]userprivilegelevel323答案:[H3C]vlan10[H3C-vlan10]porte0/1toe0/5[H3C]vlan20[H3C-vlan20]porte0/6toe0/7[H3C]vlan30[H3C-vlan30]porte0/8<H3C>save24[H3C]vlan101[H3C-vlan10]porte0/1toe0/5[H3C]vlan102[H3C-vlan20]porte0/6toe0/7[H3C]vlan103[H3C-vlan30]porte0/8:..<H3C>save25[H3C]vlan1000[H3C-vlan10]porte0/1toe0/5[H3C]vlan2000[H3C-vlan20]porte0/6toe0/7[H3C]vlan3000[H3C-vlan30]porte0/8<H3C>save26[H3C]vlan10[H3C-vlan10]porte0/1toe0/15[H3C]vlan20[H3C-vlan20]porte0/16toe0/17[H3C]vlan30[H3C-vlan30]porte0/24<H3C>save27[H3C]vlan10[H3C-vlan10]porte0/1toe0/12[H3C]vlan20[H3C-vlan20]porte0/13toe0/17[H3C]vlan30[H3C-vlan30]porte0/18toe0/24<H3C>save28[H3C]vlan2[H3C-vlan10]porte0/1toe0/10[H3C]vlan3[H3C-vlan20]porte0/11toe0/12[H3C]vlan4:..[H3C-vlan30]porte0/13<H3C>save29[H3C]vlan100[H3C-vlan10]porte0/1toe0/6[H3C]vlan200[H3C-vlan20]porte0/7toe0/10[H3C]vlan300[H3C-vlan30]porte0/11<H3C>save30[H3C]vlan2[H3C-vlan10]porte0/1toe0/12[H3C]vlan3[H3C-vlan20]porte0/13toe0/24<H3C>save31[H3C]vlan100[H3C-vlan100]porte0/1toe0/10[H3C]vlan200[H3C-vlan200]porte0/11toe0/24<H3C>save32.[H3C]vlan1[H3C]vlan2[H3C-vlan2]porte0/2toe0/10[H3C]interfacevlan-interface1[H3C-interface-vlan1][H3C]interfacevlan-interface2[H3C-interface-vlan2].:..[H3C]vlan1[H3C]vlan2[H3C-vlan2]porte0/2toe0/10[H3C]interfacevlan-interface1[H3C-interface-vlan1][H3C]interfacevlan-interface2[H3C-interface-vlan2][H3C]vlan1[H3C]vlan2[H3C-vlan2]porte0/2toe0/24[H3C]interfacevlan-interface1[H3C-interface-vlan1][H3C]interfacevlan-interface2[H3C-interface-vlan2][H3C]vlan1[H3C]vlan2[H3C-vlan2]porte0/2toe0/10[H3C]interfacevlan-interface1[H3C-interface-vlan1][H3C]interfacevlan-interface2[H3C-interface-vlan2]:[SwitchA]vlan100配置管理vlan100[SwitchA-vlan100]0/0/20[SwitchA]interfaceVlan-interface100[SwitchA-Vlan-interface100]:..[SwitchA-vlan10]0/1#配置与SwitchB互连的vlan[SwitchA]interfaceVlan-interface1010[SwitchA-Vlan-interface10][SwitchA]user-interfacevty04[SwitchA-ui-vty0-4][SwitchA-ui-vty0-4]authentication-modepassword#登录为密码验证[SwitchA-ui-vty0-4]setauthenticationpasswordsimple方式。登录缺省为密码Huawei验证方式#登录为密码验证方式或使用缺省验证方式,[SwitchA-ui-vty0-4]userprivilegelevel3必须配置登录密码,如果不配置密码,系统不允许登录。#系统默认VTY登录方式用户[SwitchA-ui-vty0-4]acl1inbound级别为0,设置为3才能进入系[SwitchA]aclnumber1统视图[SwitchA-acl-basic-1][SwitchA-acl-basic-1]#[SwitchA]vlan100[SwitchA-vlan100]0/24[SwitchB]interfaceVlan-interface100[SwitchB-Vlan-interface100][SwitchB]user-interfacevty04[SwitchB-ui-vty0-4][SwitchB-ui-vty0-4]authentication-modepassword[SwitchB-ui-vty0-4]setauthenticationpasswordsimpleHuawei[SwitchB-ui-vty0-4]userprivilegelevel3[SwitchB]iproute-:..#访问交换机需要启动路由协议或者加一条静态默认路由37答案:配置过程注释SwitchA交换机配置:[SwitchA]vlan10#创建VLAN10[SwitchA-vlan10]0/1#端口e0/1加入VLAN10[SwitchA]vlan20#创建VLAN20[SwitchA-vlan20]0/2#端口e0/2加入VLAN20[SwitchA-0/3]portlink-typetrunk#配置端口e0/3trunk端[SwitchA-0/3]porttrunkpermitvlan口,允许所有VLAN通过allSwitchB交换机配置:[SwitchB]vlan10#创建VLAN10[SwitchB-vlan10]0/1#端口e0/1加入VLAN10[SwitchB]vlan20#创建VLAN20[SwitchB-vlan20]0/2#端口e0/2加入VLAN20[SwitchB-0/3]portlink-typetrunk#配置端口e0/3trunk端[SwitchB-0/3]porttrunkpermitvlan口,允许所有VLAN通过all38答案:SwitchA交换机配置:[SwitchA]0/1[SwitchA-0/1]duplexfull[SwitchA-0/1]speed100[SwitchA-0/1]portlink-aggregationgroup1[SwitchA]0/2[SwitchA-0/2]duplexfull[SwitchA-0/2]speed100:..[SwitchA]link-aggregationgroup1maunl[SwitchB]0/1[SwitchB-0/1]duplexfull[SwitchB-0/1]speed100[SwitchB-0/1]portlink-aggregationgroup1[SwitchB]0/2[SwitchB-0/2]duplexfull[SwitchB-0/2]speed100[SwitchB-0/2]portlink-aggregationgroup1[SwitchB]link-:配置过程注释LANSWITCHA:[SwitchA]VLAN10#配置相关VLAN信息[SwitchA-vlan10]PORT(VLAN10的端口)[SwitchA-vlan10]Intvlan10[SwitchA-Vlan-interface10][SwitchA]Vlan20[SwitchA-vlan10]Port(vlan20的端口)[SwitchA-vlan10]Intvlan20[SwitchA-Vlan-interface10][SwitchA-Vlan-interface10]quit[SwitchA]rip[SwitchA-[SwitchA-#启动RIP协议#:和接收RIP路由信息[SwitchB]VLAN20[SwitchB-vlan20]PORT(VLAN20的端口)[SwitchB-vlan20]Intvlan20[SwitchB-Vlan-interface20][SwitchB-Vlan-interface20]Vlan30[SwitchB-vlan30]Port(vlan30的端口)[SwitchB-vlan30]Intvlan30[SwitchB-Vlan-interface30]:..[SwitchB]rip[SwitchB-[SwitchB-[SwitchC]VLAN30[SwitchC-vlan30]PORT(VLAN30的端口)[SwitchC-vlan30]Intvlan30[SwitchC-Vlan-interface30][SwitchC-Vlan-interface30]Vlan40[SwitchC-vlan40]Port(vlan40的端口)[SwitchC-vlan40]Intvlan40[SwitchC-Vlan-interface40][SwitchC-Vlan-interface40]quit[SwitchC]rip[SwitchC-[SwitchC-:配置过程注释LANSWITCHA:[SwitchA]VLAN10#配置相关VLAN信息[SwitchA-vlan10]PORT(VLAN10的端口)[SwitchA-vlan10]Intvlan10[SwitchA-Vlan-interface10][SwitchA-Vlan-interface10]Vlan20[SwitchA-vlan20]Port(vlan20的端口)[SwitchA-vlan20]Intvlan20[SwitchA-Vlan-interface20][SwitchA-Vlan-interface10]quit[SwitchA]Ospf[SwitchA-ospf]Area0[SwitchA-ospf-area-[SwitchA-ospf-area-#启动OSPF路由协议#指定区域号LANSWTICHB:#从该网段的接口接收和发布:..路由信息[SwitchB-vlan20]PORTVLAN20的端口)[SwitchB-vlan20]Intvlan20[SwitchB-Vlan-interface20][SwitchB-Vlan-interface20]Vlan30[SwitchB-vlan30]Port(vlan30的端口)[SwitchB-vlan30]Intvlan30[SwitchB-Vlan-interface30][SwitchB-Vlan-interface30]quit[SwitchB]Ospf[SwitchB-ospf]Area0[SwitchB-ospf-area-[SwitchB-ospf-area-:[SwitchC]VLAN30[SwitchC-vlan30]PORT(VLAN30的端口)[SwitchC-vlan30]Intvlan30[SwitchC-Vlan-interface30][SwitchC-Vlan-interface30]Vlan40[SwitchC-vlan40]Port(vlan40的端口)[SwitchC-Vlan40]Intvlan40[SwitchC-Vlan-interface40][SwitchC-Vlan-interface30]quit[SwitchC]Ospf[SwitchC-ospf]Area0[SwitchC-ospf-area-[SwitchC-ospf-area-:SwitchA交换机配置:[SwitchA]0/3[SwitchA-0/3]duplexfull[SwitchA-0/3]speed100[SwitchA-0/3]portlink-aggregationgroup1[SwitchA]0/4[SwitchA-0/4]duplexfull[SwitchA-0/4]speed100[SwitchA-0/4]portlink-aggregationgroup1:..[SwitchA]link-aggregationgroup1maunlSwitchB交换机配置:[SwitchB]0/3[SwitchB-0/3]duplexfull[SwitchB-0/3]speed100[SwitchB-0/3]portl

路由器交换机配置实作题-答案 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数19
  • 收藏数0 收藏
  • 顶次数0
  • 上传人青山代下
  • 文件大小1.20 MB
  • 时间2024-04-09