刷题刷出新高度,偷偷领先!偷偷领先!偷偷领先! 关注我们,悄悄成为最优秀的自己!

简答题

按照网络设计要求,部门B的PC3和PC4属于VLAN10,部门C的PC5属于VLAN20,需对SW3完成基本配置,请补充完整的配置代码。

使用微信搜索喵呜刷题,轻松应对考试!

答案:

(3)~(10)备选答案
EGABHCFD
(11)配置DHCP Server功能之前,必须先在系统视图下开启DHCP功能。
(12)interface
(13)在华为设备的DHCP地址池中,主机绑定不能绑定已经被DHCP地址池排除在外的IP地址。
(14)~(16)备选答案
BAC

解析:

【问题2】(14分)
按照网络设计要求,部门B的PC3和PC4属于VLAN10,部门C的PC5属于VLAN20,需对SW3完成基本配置,请将下面的配置代码补充完整。

<Huawei>display version
<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 ruankao.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 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 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 ruankao.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 ruankao.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:
Oct4 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
Oct4 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
Oct4 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>

创作类型:
原创

本文链接:按照网络设计要求,部门B的PC3和PC4属于VLAN10,部门C的PC5属于VLAN20,需对SW3

版权声明:本站点所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明文章出处。

让学习像火箭一样快速,微信扫码,获取考试解析、体验刷题服务,开启你的学习加速器!

分享考题
share