还剩10页未读,继续阅读
本资源只提供10页预览,全部文档请下载后查看!喜欢就下载吧,查找使用更方便
文本内容:
华为上机基础试题及详细答案汇总
一、单选题(每题1分,共10分)
1.在华为设备上配置接口IP地址,以下哪个命令是正确的?A.ipaddress
192.
168.
1.
1255.
255.
255.0B.interfaceGigabitEthernet0/0ipaddress
192.
168.
1.
1255.
255.
255.0C.ipaddr
192.
168.
1.1/24D.setipaddress
192.
168.
1.1mask
255.
255.
255.0【答案】B【解析】在华为设备上配置接口IP地址需要先进入接口视图,然后使用ipaddress命令
2.以下哪个是华为交换机的默认管理IP地址?A.
192.
168.
1.1B.
10.
0.
0.1C.
172.
16.
0.1D.
127.
0.
0.1【答案】A【解析】华为交换机的默认管理IP地址通常是
192.
168.
1.
13.在华为路由器上配置静态路由,以下哪个命令是正确的?A.iproute-static
192.
168.
2.
0255.
255.
255.
0192.
168.
1.2B.staticroute
192.
168.
2.
0255.
255.
255.
0192.
168.
1.2C.iproute
192.
168.
2.
0255.
255.
255.
0192.
168.
1.2D.route-static
192.
168.
2.
0255.
255.
255.
0192.
168.
1.2【答案】A【解析】在华为路由器上配置静态路由使用iproute-static命令
4.以下哪个命令可以查看华为交换机的端口状态?A.displayinterfacebriefB.showinterfacesC.displayipinterfacebriefD.showipinterfacebrief【答案】C【解析】在华为交换机上查看端口状态使用displayipinterfacebrief命令
5.在华为设备上配置VLAN,以下哪个命令是正确的?A.vlan10portGigabitEthernet0/0/1B.interfaceVlanif10ipaddress
192.
168.
10.
1255.
255.
255.0C.vlan10interfaceGigabitEthernet0/0/1portaccessD.vlan10interfaceVlanif10portGigabitEthernet0/0/1【答案】C【解析】在华为设备上配置VLAN需要先创建VLAN,然后配置端口为access模式
6.以下哪个是华为设备的系统视图?A.user-interfaceB.system-viewC.interfaceD.ip【答案】B【解析】华为设备的系统视图是system-view
7.在华为设备上配置密码,以下哪个命令是正确的?A.passwordlevel3secret123456B.enablesecret123456C.password123456D.enablepassword123456【答案】B【解析】在华为设备上配置enable密码使用enablesecret命令
8.以下哪个命令可以查看华为设备的运行配置?A.displaycurrent-configurationB.showrunning-configC.displayconfigureD.showconfigure【答案】A【解析】在华为设备上查看运行配置使用displaycurrent-configuration命令
9.在华为设备上配置端口安全,以下哪个命令是正确的?A.port-securitymaximum1B.port-securitymac-addressstickyC.port-securityviolationrestrictD.allabove【答案】D【解析】华为设备上配置端口安全可以使用以上多个命令
10.以下哪个是华为设备的默认登录密码?A.adminB.userC.rootD.enable【答案】A【解析】华为设备的默认登录密码通常是admin
二、多选题(每题4分,共20分)
1.以下哪些命令可以在华为设备上查看路由表?A.displayiprouting-tableB.showiprouteC.displayrouting-tableD.showrouting-table【答案】A、B、C、D【解析】在华为设备上查看路由表可以使用以上多个命令
2.以下哪些命令可以在华为设备上配置接口描述?A.descriptionB.interfacedescriptionC.nameD.interfacename【答案】A、B【解析】在华为设备上配置接口描述可以使用description或interfacedescription命令
3.以下哪些命令可以在华为设备上配置访问控制列表(ACL)?A.aclnumberB.aclnameC.access-listD.firewall【答案】A、B【解析】在华为设备上配置访问控制列表(ACL)可以使用aclnumber或aclname命令
4.以下哪些命令可以在华为设备上配置动态路由协议?A.ospfB.bgpC.ripD.eigrp【答案】A、B、C、D【解析】在华为设备上配置动态路由协议可以使用ospf、bgp、rip或eigrp命令
5.以下哪些命令可以在华为设备上配置链路聚合?A.link-aggregationB.port-channelC.etherchannelD.bundle【答案】A、B、C【解析】在华为设备上配置链路聚合可以使用link-aggregation、port-channel或etherchannel命令
三、填空题(每题2分,共16分)
1.华为设备的系统视图命令是______【答案】system-view
2.华为交换机的默认管理IP地址是______【答案】
192.
168.
1.
13.华为路由器上配置静态路由的命令是______【答案】iproute-static
4.华为设备上查看端口状态的命令是______【答案】displayipinterfacebrief
5.华为设备上配置VLAN的命令是______【答案】vlan
6.华为设备上配置enable密码的命令是______【答案】enablesecret
7.华为设备上查看运行配置的命令是______【答案】displaycurrent-configuration
8.华为设备上配置端口安全的命令是______【答案】port-security
四、判断题(每题2分,共10分)
1.两个正数相加,和一定比其中一个数大()【答案】(√)
2.华为设备的默认登录密码是admin()【答案】(√)
3.华为交换机的默认管理IP地址是
10.
0.
0.1()【答案】(×)
4.华为设备上配置静态路由的命令是iproute()【答案】(×)
5.华为设备上配置端口安全的命令是port-security()【答案】(√)
五、简答题(每题5分,共15分)
1.简述华为设备上配置静态路由的步骤【答案】
(1)进入系统视图system-view
(2)配置静态路由iproute-static目的地址网段掩码下一跳地址
(3)退出系统视图quit
2.简述华为设备上配置VLAN的步骤【答案】
(1)创建VLAN vlanvlan-id
(2)配置接口为VLAN模式interfaceVlanifvlan-id
(3)配置接口IP地址ipaddressip-addressmask
(4)将端口加入VLAN portVLANvlan-id
3.简述华为设备上配置端口安全的步骤【答案】
(1)进入接口视图interfaceinterface-typeinterface-number
(2)启用端口安全port-security
(3)配置最大MAC地址数maximummac-address数
(4)配置MAC地址学习方式mac-addresssticky
六、分析题(每题15分,共30分)
1.分析华为设备上配置动态路由协议的步骤,并举例说明【答案】
(1)进入系统视图system-view
(2)创建路由协议ospfprocess-id或bgpas-number
(3)配置网络areaarea-id或networknetwork-address
(4)退出系统视图quit例如,配置OSPF动态路由协议system-viewospf100area
0.
0.
0.0network
192.
168.
1.
00.
0.
0.255quit
2.分析华为设备上配置链路聚合的步骤,并举例说明【答案】
(1)创建Eth-Trunk接口interfaceport-channelchannel-number
(2)添加物理接口到Eth-Trunk portlink-typetrunkportdefault
(3)配置Eth-Trunk属性port-aggregationpvidvlan-id例如,配置链路聚合interfaceport-channel1portlink-typetrunkportdefaultport-aggregationpvidvlan10
七、综合应用题(每题25分,共50分)
1.某华为交换机网络拓扑如下```VLAN10+-------+|SW1|+-------+||||+--+-------+--+|||SW2SW3SW4VLAN20VLAN30VLAN40```SW
1、SW
2、SW
3、SW4均为华为交换机,请给出配置步骤,使得VLAN
10、VLAN
20、VLAN
30、VLAN40分别正常通信【答案】
(1)在SW1上配置VLAN system-viewvlan10vlan20vlan30vlan40quit
(2)配置接口为VLAN模式interfaceGigabitEthernet0/0/1portVLAN10interfaceGigabitEthernet0/0/2portVLAN20interfaceGigabitEthernet0/0/3portVLAN30interfaceGigabitEthernet0/0/4portVLAN40quit
(3)配置接口IP地址(可选)interfaceVlanif10ipaddress
192.
168.
10.
1255.
255.
255.0interfaceVlanif20ipaddress
192.
168.
20.
1255.
255.
255.0interfaceVlanif30ipaddress
192.
168.
30.
1255.
255.
255.0interfaceVlanif40ipaddress
192.
168.
40.
1255.
255.
255.0quit
2.某华为路由器网络拓扑如下```Router1+-------+||||+--+-------+--+|||Router2Router3```Router
1、Router
2、Router3均为华为路由器,请给出配置步骤,使得三台路由器之间能够正常通信【答案】
(1)配置接口IP地址Router1:system-viewinterfaceGigabitEthernet0/0/1ipaddress
192.
168.
1.
1255.
255.
255.0interfaceGigabitEthernet0/0/2ipaddress
192.
168.
2.
1255.
255.
255.0quitRouter2:system-viewinterfaceGigabitEthernet0/0/1ipaddress
192.
168.
1.
2255.
255.
255.0interfaceGigabitEthernet0/0/2ipaddress
192.
168.
2.
2255.
255.
255.0quitRouter3:system-viewinterfaceGigabitEthernet0/0/1ipaddress
192.
168.
1.
3255.
255.
255.0interfaceGigabitEthernet0/0/2ipaddress
192.
168.
2.
3255.
255.
255.0quit
(2)配置静态路由Router1:system-viewiproute-static
192.
168.
2.
0255.
255.
255.
0192.
168.
1.2iproute-static
192.
168.
3.
0255.
255.
255.
0192.
168.
1.3quitRouter2:system-viewiproute-static
192.
168.
1.
0255.
255.
255.
0192.
168.
2.1iproute-static
192.
168.
3.
0255.
255.
255.
0192.
168.
2.2quitRouter3:system-viewiproute-static
192.
168.
1.
0255.
255.
255.
0192.
168.
3.1iproute-static
192.
168.
2.
0255.
255.
255.
0192.
168.
3.2quit。
个人认证
优秀文档
获得点赞 0