阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。【说明】某公司

题库2022-08-02  66

问题 阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。【说明】某公司的网络拓扑如图1-1所示,网络规划如表1-1所示。部门A和部门B均使用DHCP自动获取IP地址,DHCP地址池配置在SW1上。【问题1】(10分,每空1分)表1-1中R1的GE0/0/0接口的IP地址是( 1 )。(1)备选项:A.由管理员手工设定的             B.通过ISP自动分配的R1的配置如下:<Huawei>(2) Enter system view, return user view with Ctrl+Z.[Huawei]sysname R1[R1]interface (3)[R1-Dialer1]dialer user user01[R1-Dialer1]dialer bundle 1[R1-Dialer1]ppp chap user user01[R1-Dialer1]ppp ( 4 ) password cipher huawei@123[R1-Dialer1]ip address ppp-negotiate[R1-Dialer1]quit[R1]interface GigabitEthernet 0/0/0[R1-GigabitEthernet0/0/0]pppoe-client dial-bundle-number 1[R1-GigabitEthernet0/0/0]quit[R1]acl number (5)[R1-acl-basic-2000]rule permit source 192.168.200.0 0.0.0.255[R1-acl-basic-2000]rule permit source 192.168.201.0 0.0.0.255[R1-acl-basic-2000]quit[R1]interface Dialer 1[R1-Dialer1]nat outbound 2000[R1-Dialer1]quit[R1]ip route-static 0.0.0.0 0 Dialer 1[R1]interface GigabitEthernet 0/0/1[R1-GigabitEthernet0/0/1]ip address 172.16.0.1 30 …… SW1的配置如下:…[SW1]vlan 100[SW1-vlan100]vlan 200[SW1-vlan200]vlan 201[SW1-vlan201]vlan 500[SW1-vlan500]quit[SW1]interface Vlanif 100[SW1-Vlanif100]ip address ( 6 )[SW1-Vlanif100]quit[SW1]interface Vlanif 200[SW1-Vlanif200]ip address 192.168.200.1 24[SW1-Vlanif200]quit[SW1]interface Vlanif 201[SW1-Vlanif201]ip address 192.168.201.1 24[SW1-Vlanif201]quit[SW1]interface(7)[SW1-Vlanif500]ip address 192.168.10.1 24[SW1-Vlanif500]quit[SW1]interface GigabitEthernet 0/0/1[SW1-GigabitEthernet0/0/1]port link-type access[SW1-GigabitEthernet0/0/1]port default vlan 100[SW1-GigabitEthernet0/0/1]quit[SW1]interface GigabitEthernet 0/0/2[SW1-GigabitEthernet0/0/2]port link-type trunk[SW1-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 200 201 500[SW1-GigabitEthernet0/0/2]port trunk pvid vlan 200[SW1-GigabitEthernet0/0/2]quit[SW1]dhcp enableInfo: The operation may take a few seconds. Please wait for a moment.done.[SW1]interface Vlanif 200[SW1-Vlanif200]dhcp select (8 )[SW1-Vlanif200]dhcp server dns-list 114.114.114.114 8.8.8.8[SW1-Vlanif200]quit[SW1]interface Vlanif 201[SW1-Vlanif201]dhcp select ( 9 )[SW1-Vlanif201]quit[SW1]ip pool vlan201[SW1-ip-pool-vlan201]network 192.168.201.0 mask 24[SW1-ip-pool-vlan201]gateway-list ( 10 )[SW1-ip-pool-vlan201]dns-list 114.114.114.114 8.8.8.8[SW1-ip-pool-vlan201]quit[SW1] …… (2)~(9)备选项:A.global       B. interface  C. Dialer 1  D. system-view  E.2000  F.chapG.vlanif 400   H.192.168.201.1   I. 172.16.0.2 30   【问题 2】(6分,每空2分)上述配置做完之后,发现部门A的主机全部获取不到IP地址,而部门B能正常获取到IP地址,其原因是上述三台设备中的( 11 )缺少了一条配置信息,该配置信息是( 12 ),该配置的作用是( 13)。(11)备选答案A .R1  B.SW1  C.SW2【问题 3】(4分,每空2分)当部门A和部门B都能正常获取到IP地址时,管理员发现部门A和部门B的主机都无法ping通SW2的管理地址,其原因是( 14 ),解决方案是( 15 )。(10).(11).

选项

答案

解析 【问题1】(10分,每空1分)(1)B(2) D (3)C (4) F (5) E(6)I (7)G (8)B (9)A (10)H【问题 2】(6分,每空2分)(11)C(12)在GE0/0/24接口下缺少了port trunk pvid vlan 200这条命令(13)使携带VLAN 200的数据帧在通过GE0/0/24接口时不打上VLAN标签。【问题 3】(4分,每空2分)(14)SW2上的管理地址没有配置默认路由。(15)在SW2上配置默认路由:ip route-static 0.0.0.0 0 192.168.10.1
【解析】

【问题1】解析:华为交换机的基本配置命令,需要记住常考的如vlan trunk,stp,dhcp等的配置。另外注意从表中找到对应的地址即可。【问题 2】解析:因为SW1的GE0/0/2接口PVID为200与之对应SW2上的GE0/0/24接口的PVID也需要为200,否则VLAN 200的业务数据通不过中继口。【问题 3】解析:R1的配置如下:<Huawei>system-view Enter system view, return user view with Ctrl+Z.[Huawei]sysname R1[R1]interface Dialer 1[R1-Dialer1]dialer user user01[R1-Dialer1]dialer bundle 1[R1-Dialer1]ppp chap user user01[R1-Dialer1]ppp chap password cipher huawei@123[R1-Dialer1]ip address ppp-negotiate[R1-Dialer1]quit[R1]interface GigabitEthernet 0/0/0[R1-GigabitEthernet0/0/0]pppoe-client dial-bundle-number 1[R1-GigabitEthernet0/0/0]quit[R1]acl number 2000[R1-acl-basic-2000]rule permit source 192.168.200.0 0.0.0.255 [R1-acl-basic-2000]rule permit source 192.168.201.0 0.0.0.255[R1-acl-basic-2000]quit[R1]interface Dialer 1[R1-Dialer1]nat outbound 2000[R1-Dialer1]quit[R1]ip route-static 0.0.0.0 0 Dialer 1[R1]interface GigabitEthernet 0/0/1[R1-GigabitEthernet0/0/1]ip address 172.16.0.1 30
……
SW1的配置如下:<Huawei>system-view Enter system view, return user view with Ctrl+Z.[Huawei]sysname SW1[SW1]vlan 100[SW1-vlan100]vlan 200[SW1-vlan200]vlan 201[SW1-vlan201]vlan 500[SW1-vlan500]quit[SW1]interface Vlanif 100[SW1-Vlanif100]ip address 172.16.0.2 30[SW1-Vlanif100]quit[SW1]interface Vlanif 200[SW1-Vlanif200]ip address 192.168.200.1 24[SW1-Vlanif200]quit [SW1]interface Vlanif 201[SW1-Vlanif201]ip address 192.168.201.1 24[SW1-Vlanif201]quit[SW1]interface Vlanif 500[SW1-Vlanif500]ip address 192.168.10.1 24[SW1-Vlanif500]quit[SW1]interface GigabitEthernet 0/0/1[SW1-GigabitEthernet0/0/1]port link-type access[SW1-GigabitEthernet0/0/1]port default vlan 100[SW1-GigabitEthernet0/0/1]quit[SW1]interface GigabitEthernet 0/0/2[SW1-GigabitEthernet0/0/2]port link-type trunk[SW1-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 200 201 500[SW1-GigabitEthernet0/0/2]port trunk pvid vlan 200[SW1-GigabitEthernet0/0/2]quit[SW1]dhcp enable Info: The operation may take a few seconds. Please wait for a moment.done.[SW1]interface Vlanif 200[SW1-Vlanif200]dhcp select interface[SW1-Vlanif200]dhcp server dns-list 114.114.114.114 8.8.8.8[SW1-Vlanif200]quit[SW1]ip pool vlan201[SW1-ip-pool-vlan201]network 192.168.201.0 mask 24[SW1-ip-pool-vlan201]gateway-list 192.168.201.1[SW1-ip-pool-vlan201]dns-list 114.114.114.114 8.8.8.8[SW1-ip-pool-vlan201]quit[SW1]interface Vlanif 201[SW1-Vlanif201]dhcp select global[SW1-Vlanif201]quit[SW1]
……
转载请注明原文地址:https://tihaiku.com/congyezige/2429806.html

最新回复(0)