阅读以下说明,回答问题1至问题3,【说明】如图4-1所示,三台交换机都为三层交换

考试题库2022-08-02  27

问题 阅读以下说明,回答问题1至问题3,【说明】如图4-1所示,三台交换机都为三层交换机,根据题目要求回答下面的问题。【问题1】按照网络设计要求,部门B的PC3和PC4属于VLAN10,部门C的PC5属于VLAN20,需对SW3完成基本配置,请将下面的配置代码补充完整。image.pngdisplay(1) //查看交换机型号操作系统版本信息运行时间等image.png(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
转载请注明原文地址:https://tihaiku.com/congyezige/2404641.html

最新回复(0)