首页
登录
从业资格
….[Router1]interface g0/0/0[Router1-Giga
….[Router1]interface g0/0/0[Router1-Giga
题库
2022-08-02
57
问题
….[Router1]interface g0/0/0[Router1-GigabitEthernet0/0/0] (1)[Router1-GigabitEthernet0/0/0] quit[Router1] (2) //配置名为net1的地址池[Router1-ip-pool-net1] (3)[Router1-ip-pool-net1] gateway-list 192.168.1.1[Router1-ip-pool-net1] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net1] (4) ip-address 192.168.1.10 mac-address 0000-1111-2222 //为固定mac分配固定ip[Router1-ip-pool-net1] quit[Router1][Router1] ip pool net2[Router1-ip-pool-net2] network 192.168.2.0 mask 255.255.255.0 [Router1-ip-pool-net2] gateway-list 192.168.2.1[Router1-ip-pool-net2] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net2] static-bind ip-address 192.168.2.10 mac-address 0001-1111-2222 [Router1-ip-pool-net2] quit…. …[Switch1]vlan 2 创建vlan2、3[Switch1-vlan2]quit[Switch1]vlan 3 [Switch1-vlan3]quit[Switch1][Switch1] (5)[Switch1-Vlanif2] ip address (6)[Switch1-vlanif2] (7) //接口下开启全局DHCP分配功能[Switch1-Vlanif2] (8) //在vlan2中开启dhcp中继功能[Switch1-Vlanif2] quit[Switch1][Switch1] interface vlan 3[Switch1-Vlanif3] ip address (9)[Switch1-vlanif3] dhcp select global [Switch1-Vlanif3] dhcp relay server-ip 192.168.100.2 [Switch1-Vlanif3] quit[Switch1][Switch1]ip route-static (10) //配置能够到达dhcp服务器的默认路由 ….….[Switch2] interface gigabitethernet 0/0/2[Switch2-GigabitEthernet0/0/2] (11)//使能用户端接口的DHCP Snooping功能[Switch2-GigabitEthernet0/0/2] quit[Switch2] interface gigabitethernet 0/0/1[Switch2-GigabitEthernet0/0/1] dhcp snooping (12)//配置信任接口,使得接入交换机只处理从该接口收到的DHCP服务器响应报文 [Switch2-GigabitEthernet0/0/1] quit…
选项
答案
解析
(1)ip,address,192.168.100.2,255.255.255.0, (2)ip,pool,net1(3)network,192.168.1.0,mask,255.255.255.0, (4) static-bind(5) interface,vlanif,2 (6),192.168.1.1,255.255.255.0(7) dhcp,select,global, , (8) dhcp,relay,server-ip,192.168.100.2 (9),192.168.2.1,255.255.255.0,(10) 0.0.0.0,0.0.0.0,192.168.100.2(11) dhcp,snooping,enable (12) dhcp,snooping,trusted
….[Router1]interface g0/0/0[Router1-GigabitEthernet0/0/0] ip address 192.168.100.2 255.255.255.0[Router1-GigabitEthernet0/0/0] quit[Router1] ip pool net1 //配置名为net1的地址池[Router1-ip-pool-net1] network 192.168.1.0 mask 255.255.255.0 [Router1-ip-pool-net1] gateway-list 192.168.1.1[Router1-ip-pool-net1] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net1] static-bind ip-address 192.168.1.10 mac-address 0000-1111-2222 //为固定mac分配固定ip[Router1-ip-pool-net1] quit[Router1][Router1] ip pool net2[Router1-ip-pool-net2] network 192.168.2.0 mask 255.255.255.0 [Router1-ip-pool-net2] gateway-list 192.168.2.1[Router1-ip-pool-net2] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net2] static-bind ip-address 192.168.2.10 mac-address 0001-1111-2222 [Router1-ip-pool-net2] quit…. …[Switch1]vlan 2 创建vlan2、3[Switch1-vlan2]quit[Switch1]vlan 3 [Switch1-vlan3]quit[Switch1][Switch1] interface vlan 2[Switch1-Vlanif2] ip address 192.168.1.1 255.255.255.0[Switch1-vlanif2] dhcp select global //接口下开启全局DHCP分配功能 [Switch1-Vlanif2] dhcp relay server-ip 192.168.100.2 //在vlan2中开启dhcp中继功能 [Switch1-Vlanif2] quit[Switch1][Switch1] interface vlan 3[Switch1-Vlanif3] ip address 192.168.2.1 255.255.255.0[Switch1-vlanif3] dhcp select global //接口下开启全局DHCP分配功能[Switch1-Vlanif3] dhcp relay server-ip 192.168.100.2 //在vlan3中开启dhcp中继功能[Switch1-Vlanif3] quit[Switch1][Switch1]ip route-static 0.0.0.0 0.0.0.0 192.168.100.2 //配置能够到达dhcp服务器的路由 ….….[Switch2] interface gigabitethernet 0/0/2[Switch2-GigabitEthernet0/0/2] dhcp snooping enable //使能用户端接口的DHCP Snooping功能[Switch2-GigabitEthernet0/0/2] quit[Switch2] interface gigabitethernet 0/0/1[Switch2-GigabitEthernet0/0/1] dhcp snooping trusted//配置为信任接口,使得接入交换机只处理从该接口收到的DHCP服务器响应报文 [Switch2-
转载请注明原文地址:https://www.tihaiku.com/congyezige/2405125.html
本试题收录于:
中级 网络工程师题库软件水平考试初中高级分类
中级 网络工程师
软件水平考试初中高级
相关试题推荐
交换机命令showinterfacestype0/port#switc
网络配置如下图所示,为路由器Router1配置访问网络1和网络2的命令是( )
把交换机由特权模式转换到全局配置模式使用的命令是( )。A.interface
….[Router1]interfaceg0/0/0[Router1-Giga
某台华为交换机做了如下配置:[HUAWEI]interfaceetherne
A.[SWITCHA]INTERFACEGIGABITETHERNET1/
某台华为交换机做了如下配置: [HUAWEI]interfaceethern
随机试题
Oneofthebasiccharacteristicsofcapitalismistheprivateownershipoft
Thenumberoftheaudience,______wehadexpected,wasathousand.A、whomB、who
【B1】[br]【B4】A、enhanceB、createC、makeD、produceB本句测试逻辑搭配。意为:“……在大的国际组织机构中创造一种
下列选项中,肌支主要支配大腿内收肌群的运动的脊神经是()。A.股神经 B.腓
新义务教育法规定,国家实行( )年义务教育制度。A.九 B.十 C.十一
A.488nm,525nm,绿色B.488nm,575nm,橙色C.488nm,
与甘草相反的是A.芒硝 B.海藻 C.丁香 D.半夏 E.白芍
风寒闭肺作喘的主要症状是A.喘咳气涌,胸部胀痛,痰黏色黄,脉滑数 B.喘咳气逆
根据反垄断法律制度的规定,在对经营者集中进行反垄断审查并作出是否禁止该集中的决定
砖砌体工程中可设置脚手眼的墙体或部位是()A、120mm厚墙B、砌体门窗洞口两
最新回复
(
0
)