阅读以下说明,回答问题1至问题3,将解答填入答题纸对应解答栏内。
【说明】
如图4-1所示,三台交换机都为三层交换机,根据题目要求回答下面问题。

【问题1】(13分)按照网络设计要求,部门BPC3和PC4属于VLAN10,部门CPC5属于VLAN20,需对SW3完成基本配置,请将下面配置代码补充完整。
<Huawei>display(1) //查看交换机型号操作系统版本信息运行时间等<Huawei>(2)Entersystem view, return user view with Ctrl+Z.[Huawei]sysnameSW3[SW3]vlan(3) 10 20 //批量创建VLAN 10和VLAN 20[SW3]vlan10[SW3-vlan10](4)department_B[SW3-vlan10]quit[SW3]port-group(5) GigabitEthernet 0/0/2 GigabitEthernet 0/0/3[SW3-port-group]portlink-type (6)[SW3-port-group]portdefault vlan (7)[SW3-port-group]quit[SW3]interfaceGigabitEthernet 0/0/4[SW3-GigabitEthernet0/0/4]portlink-type access [SW3-GigabitEthernet0/0/4]portdefault vlan 20 [SW3-GigabitEthernet0/0/4]quit[SW3]interfaceVlanif 10[SW3-Vlanif10]descriptiondepartment_B[SW3-Vlanif10]ipaddress 10.10.10.1 24 [SW3-Vlanif10]dhcpselect interface Error:Please enable DHCP in the global view first. //请填写产生该错误原因(8)[SW3-Vlanif10]quit[SW3]dhcpenable Info:The operation may take a few seconds. Please wait for a moment.done.[SW3]interfaceVlanif 10[SW3-Vlanif10]dhcpselect (9) [SW3-Vlanif10]dhcpserver dns-list 10.2.3.4 10.2.3.5[SW3-Vlanif10]dhcpserver domain-name test.com[SW3-Vlanif10]dhcpserver excluded-ip-address 10.10.10.2 10.10.10.30[SW3-Vlanif10]dhcpserver lease day 0 hour 8[SW3-Vlanif10]dhcpserver static-bind ip-address 10.10.10.3 mac-address 0012-3333-3333Error:TheIP address's status is error. //请填写产生该错误原因(10)[SW3-Vlanif10]dhcpserver static-bind ip-address 10.10.10.35 mac-address 0012-3333-4444[SW3-Vlanif10]display(11)#interfaceVlanif10 ip address 10.10.10.1 255.255.255.0 dhcp select interface dhcp server excluded-ip-address 10.10.10.210.10.10.30 dhcp server static-bind ip-address 10.10.10.35mac-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]interfacevlanif 20[SW3-Vlanif20]descriptiondepartment_C[SW3-Vlanif20]ipaddress 10.10.20.1 24 [SW3-Vlanif20]dhcpselect global[SW3-Vlanif20]quit[SW3]ippool vlan20[SW3-ip-pool-vlan20]network10.10.20.0 (12) 24[SW3-ip-pool-vlan20](13) 10.10.20.1[SW3-ip-pool-vlan20]dns-list10.2.3.4 10.2.3.5[SW3-ip-pool-vlan20]domain-nametest.com[SW3-ip-pool-vlan20]excluded-ip-address10.10.20.2 10.10.20.30[SW3-ip-pool-vlan20]leaseday 1[SW3-ip-pool-vlan20]displaythis#ip poolvlan20 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#
(1)version (2) system-view (3) batch (4) description (5) group-member
(6) access (7) 10 (8)必须先全局启用dhcp enable。(9)interface
(10)在DHCP地址池中,主机绑定不能绑定已经被DHCP地址池排除在外IP地址。
(11) this (12)mask (13)gateway-list









