2021 上半年 网络工程师 模拟冲刺卷 下午之十二
摘要:对于【网络工程师】软考考试而言,试题无疑是最重要的学习资料之一。在软考备考过程中,吃透试题、掌握试题所考知识点、熟悉试题的出题思路,对我们提升分数的效果是最明显的,通过对试题的反复练习,还可以查漏补缺。今天,给大家带来【2021 上半年 网络工程师 模拟冲刺卷 下午】部分试题的详解,一起来看看吧~1、【问题2】(13分)按照网络设计要求,部门B的PC3和PC4属于VLA
1、【问题2】(13分)按照网络设计要求,部门B的PC3和PC4属于VLAN10,部门C的PC5属于VLAN20,需对SW3完成基本配置,请将下面的配置代码补充完整。<Huawei>display (2) //查看交换机型号操作系统版本信息运行时间等<Huawei>(3)Enter system view, return user view with Ctrl+Z.[Huawei]sysname SW3[SW3]vlan (4) 10 20 //批量创建VLAN 10和VLAN 20[SW3]vlan 10[SW3-vlan10](5) department_B[SW3-vlan10]quit[SW3]port-group (6) GigabitEthernet 0/0/2 GigabitEthernet 0/0/3[SW3-port-group]port link-type (7)[SW3-port-group]port default vlan (8)[SW3-port-group]quit[SW3]interface GigabitEthernet 0/0/4[SW3-GigabitEthernet0/0/4]port link-type access [SW3-GigabitEthernet0/0/4]port default vlan 20 [SW3-GigabitEthernet0/0/4]quit[SW3]interface Vlanif 10[SW3-Vlanif10]description department_B[SW3-Vlanif10]ip address 10.10.10.1 24 [SW3-Vlanif10]dhcp select interface Error: Please enable DHCP in the global view first. //请填写产生该错误的原因(9)[SW3-Vlanif10]quit[SW3]dhcp enable Info: The operation may take a few seconds. Please wait for a moment.done.[SW3]interface Vlanif 10[SW3-Vlanif10]dhcp select (10) [SW3-Vlanif10]dhcp server dns-list 10.2.3.4 10.2.3.5[SW3-Vlanif10]dhcp server domain-name test.com[SW3-Vlanif10]dhcp server excluded-ip-address 10.10.10.2 10.10.10.30[SW3-Vlanif10]dhcp server lease day 0 hour 8[SW3-Vlanif10]dhcp server static-bind ip-address 10.10.10.3 mac-address 0012-3333-3333Error:The IP address's status is error. //请填写产生该错误的原因(11)[SW3-Vlanif10]dhcp server static-bind ip-address 10.10.10.35 mac-address 0012-3333-4444[SW3-Vlanif10]display (12)#interface Vlanif10 ip address 10.10.10.1 255.255.255.0 dhcp select interface dhcp server excluded-ip-address 10.10.10.2 10.10.10.30 dhcp server static-bind ip-address 10.10.10.35 mac-address 0012-3333-4444 dhcp server lease day 0 hour 8 minute 0 dhcp server dns-list 10.2.3.4 10.2.3.5 dhcp server domain-name ruankao.com#return[SW3-Vlanif10]quit[SW3]interface vlanif 20[SW3-Vlanif20]description department_C[SW3-Vlanif20]ip address 10.10.20.1 24 [SW3-Vlanif20]dhcp select global[SW3-Vlanif20]quit[SW3]ip pool vlan20[SW3-ip-pool-vlan20]network 10.10.20.0 (13) 24[SW3-ip-pool-vlan20](14) 10.10.20.1[SW3-ip-pool-vlan20]dns-list 10.2.3.4 10.2.3.5[SW3-ip-pool-vlan20]domain-name test.com[SW3-ip-pool-vlan20]excluded-ip-address 10.10.20.2 10.10.20.30[SW3-ip-pool-vlan20]lease day 1[SW3-ip-pool-vlan20]display this#ip pool vlan20 gateway-list 10.10.20.1 network 10.10.20.0 mask 255.255.255.0 excluded-ip-address 10.10.20.2 10.10.20.30 dns-list 10.2.3.4 10.2.3.5 domain-name test.com#
答案:
【问题2】(14分)
(2)version (3) system-view (4) batch (5) description (6) group-member
(7) access (8) 10 (9)必须先全局启用dhcp enable。(10)interface
(11)在DHCP地址池中,主机绑定不能绑定已经被DHCP地址池排除在外的IP地址。
(12) this (13)mask (14)gateway-list
答题解析:
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname SW3
[SW3]vlan batch 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW3]vlan 10
[SW3-vlan10]description department_B
[SW3-vlan10]quit
[SW3]port-group group-member GigabitEthernet 0/0/2 GigabitEthernet 0/0/3
[SW3-port-group]port link-type access
[SW3-port-group]port default vlan 10
[SW3-port-group]quit
[SW3]interface GigabitEthernet 0/0/4
[SW3-GigabitEthernet0/0/4]port link-type access
[SW3-GigabitEthernet0/0/4]port default vlan 20
[SW3-GigabitEthernet0/0/4]quit
[SW3]interface Vlanif 10
[SW3-Vlanif10]description department_B
[SW3-Vlanif10]ip address 10.10.10.1 24
[SW3-Vlanif10]dhcp select interface
Error: Please enable DHCP in the global view first.
[SW3-Vlanif10]quit
[SW3]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[SW3]interface Vlanif 10
[SW3-Vlanif10]dhcp select interface
[SW3-Vlanif10]dhcp server dns-list 10.2.3.4 10.2.3.5
[SW3-Vlanif10]dhcp server domain-name test.com
[SW3-Vlanif10]dhcp server excluded-ip-address 10.10.10.2 10.10.10.30
[SW3-Vlanif10]dhcp server lease day 0 hour 8
[SW3-Vlanif10]dhcp server nbns-list 10.2.3.6
[SW3-Vlanif10]dhcp server static-bind ip-address 10.10.10.3 mac-address 0012-3333-3333
Error:The IP address's status is error.
[SW3-Vlanif10]dhcp server static-bind ip-address 10.10.10.35 mac-address 0012-3333-4444
[SW3-Vlanif10]display this
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 10.10.10.2 10.10.10.30
dhcp server static-bind ip-address 10.10.10.35 mac-address 0012-3333-4444
dhcp server lease day 0 hour 8 minute 0
dhcp server dns-list 10.2.3.4 10.2.3.5
dhcp server domain-name test.com
#
return
[SW3-Vlanif10]quit
[SW3]interface vlanif 20
[SW3-Vlanif20]description department_C
[SW3-Vlanif20]ip address 10.10.20.1 24
[SW3-Vlanif20]dhcp select global
[SW3-Vlanif20]quit
[SW3]ip pool vlan20
[SW3-ip-pool-vlan20]network 10.10.20.0 mask 24
[SW3-ip-pool-vlan20]gateway-list 10.10.20.1
[SW3-ip-pool-vlan20]dns-list 10.2.3.4 10.2.3.5
[SW3-ip-pool-vlan20]domain-name test.com
[SW3-ip-pool-vlan20]excluded-ip-address 10.10.20.2 10.10.20.30
[SW3-ip-pool-vlan20]lease day 1
[SW3-ip-pool-vlan20]display this
#
ip pool vlan20
gateway-list 10.10.20.1
network 10.10.20.0 mask 255.255.255.0
excluded-ip-address 10.10.20.2 10.10.20.30
dns-list 10.2.3.4 10.2.3.5
domain-name test.com
#
return
[SW3-ip-pool-vlan20]quit
[SW3]user-interface vty 0 4
[SW3-ui-vty0-4]set authentication password cipher huawei
[SW3-ui-vty0-4]protocol inbound telnet
[SW3-ui-vty0-4]display this
#
user-interface con 0
user-interface vty 0 4
set authentication password cipher KjLEUUM[0'Wq<}.DH-])hPD#
#
return
[SW3-ui-vty0-4]quit
[SW3]super password level 3 cipher huawei@123
[SW3]quit
<SW3>telnet 127.0.0.1
Trying 127.0.0.1 ...
Press CTRL+K to abort
Connected to 127.0.0.1 ...
Login authentication
Password:
Info: The max number of VTY users is 5, and the number
of current VTY users on line is 1.
The current login time is 2018-10-04 01:13:13.
<SW3>super
Password:
Oct 4 2018 01:13:24-08:00 SW3 CMD/2/SUPER_CHANGE_SUCCESS:OID 1.3.6.1.4.1.2011.5
.25.37.2.136 Super change successful.
Now user privilege is 3 level, and only those commands whose level is equal to o
r less than this level can be used.
Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE
Oct 4 2018 01:13:24-08:00 SW3 %%01CMD/4/SUPERLOGIN(l)[0]:User changed level. (U
ser=VTY0, IpAddress=127.0.0.1, Level=3, LoginResult=Successful)
<SW3>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Oct 4 2018 01:19:49-08:00 SW3 %%01CFM/4/SAVE(l)[1]:The user chose Y when decidi
ng whether to save the configuration to the device.
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<SW3>
查看完整试题>>>
软考资料: 2024年软考论文范文> 软考考试核心重点难点汇总> 查看更多>
备考刷题:章节练习+每日一练> 软考历年试题+模拟题>查看更多>