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

【问题1】(13分)按照网络设计要求,部门B的PC3和PC4属于VLAN10,部门C的PC5属于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
你可能感兴趣的试题
一台主机的IP地址为202.123.25.36,掩码为255.255.254.0。如果该主机需要在该网络进行直接广播,那么它应该使用的目的地址为( )
-
- A.202.123.25.0
- B.202.123.25.255
- C.202.123.24.0
- D.202.123.24.255
- 查看答案
在计算机系统的日常维护工作中,应当注意硬盘工作时不能__(2)__。另外,需要防范病毒,而__(3)__是不会被病毒感觉的。
-
- A.电子邮件
- B.硬盘
- C.U盘
- D.ROM
- 查看答案
有 4 个 IP 地址:201.117.15.254、201.117.17.01、201.117.24.5 和 201.117.29.3,如果子网掩码为 255.255.248.0,则这 4 个地址分别属于3个子网;其中属于同一个子网的是()
-
- A.201.117.15.254 和 201.117.17.01
- B.201.117.17.01 和 201.117.24.5
- C.201.117.15.254 和 201.117.29.3
- D.201.117.24.5 和 201.117.29.3
- 查看答案
在异步通信中,每个字符包含1位起始位、7位数据位、1位奇偶位和1位终止位,每秒钟传送200个字符,采用4相位调制,则码元速率为()。
-
- A.50波特
- B.500波特
- C.550波特
- D.1000波特
- 查看答案
在 Windows 中,运行( )命令得到下图所示结果。以下关于该结果的叙述中,错误的是( )。
Pinging 59.74.111.8 with 32 bytes of data:
Reply from 59.74.111.8: bytes=32 time=3ms TTL=60
Reply from 59.74.111.8: bytes=32 time=5ms TTL=60
Reply from 59.74.111.8: bytes=32 time=3ms TTL=60
Reply from 59.74.111.8: bytes=32 time=5ms TTL=60
Ping statistics for 59.74.111.8:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 5ms, Average = 4ms
-
- A.该命令使得本地主机向目标主机发送了 4 个数据包
- B.本地主机成功收到了目标主机返回的 4 个数据包
- C.本地主机与目标主机连接正常
- D.该命令用于查看目标主机的 IP 地址
- 查看答案