首页 华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration)

华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration)

举报
开通vip

华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration)华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration) 华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration) Here is the HUAWEI three layer switch, 5700 DHC configuration command, which you can configure according to your comm...

华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration)
华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration) 华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration) Here is the HUAWEI three layer switch, 5700 DHC configuration command, which you can configure according to your command. The switch is configured with DHCP configuration 1, switches for DHCP Server Configure the environment parameter 1., PC1, PC2 network cards are dynamic access to IP addresses 2. PC1 connects to the Ethernet port of the switch, 0/1, which belongs to the VLAN10; PC2 connects to the Ethernet port of the switch, 0/2, belonging to VLAN20 3., three layer switch, SwitchA VLAN interface, 10 address for 10.1.1.1/24, VLAN interface, 20 address for 10.1.2.1/24 Networking requirements 1. PC1 can dynamically obtain the 10.1.1.0/24 segment address, and the gateway address is 10.1.1.1; PC2 can dynamically obtain the 10.1.2.0/24 segment address, and the gateway address is 10.1.2.1 "DHCP Server configuration process flow" The IP address can be assigned to the PC machine directly connected to the three layer switch, and the IP address can also be assigned to the PC machine connected to the three layer switch via the DHCP relay device. The address allocation can be either an interface or a global address pool. [SwitchA uses interfaces to allocate address related configurations] 1. create (enter) VLAN10 [SwitchA]vlan 10 2. add E0/1 to VLAN10 [SwitchA-vlan10]port Ethernet 0/1 3. create (enter) VLAN interface 10 [SwitchA]interface Vlan-interface 10 4. configure the IP address for the VLAN interface 10 [SwitchA-Vlan-interface10]ip address 10.1.1.1 255.255.255.0 5. select the interface mode to assign the IP address on the VLAN interface 10 [SwitchA-Vlan-interface10]dhcp select interface 6., the gateway address of the PC machine is forbidden to be assigned to the user [SwitchA]dhcp server forbidden-ip 10.1.1.1 [SwitchA uses global address pool to assign address related configuration] 1. create (enter) VLAN10 [SwitchA]vlan 10 2. add E0/1 to VLAN10 [SwitchA-vlan10]port Ethernet 0/1 3. create (enter) VLAN interface 10 [SwitchA]interface Vlan-interface 10 4. configure the IP address for the VLAN interface 10 [SwitchA-Vlan-interface10]ip address 10.1.1.1 255.255.255.0 5. select the global address pool on the VLAN interface 10 to assign the IP address [SwitchA-Vlan-interface10]dhcp select Global 6. create the global address pool and name it "vlan10"" [SwitchA]dhcp server ip-pool vlan10 7. configure the address pool of the vlan10 address pool, the user's assigned address range, and the user's gateway address [SwitchA-dhcp-vlan10]network 10.1.1.0 mask 255.255.255.0 [SwitchA-dhcp-vlan10]gateway-list 10.1.1.1 8., the gateway address of the PC machine is forbidden to be assigned to the user [SwitchA]dhcp server forbidden-ip 10.1.1.1 [supplementary instructions] The above configuration takes VLAN10 as an example, and the configuration of VLAN20 refers to the configuration of VLAN10. When you use the global address pool, you need to create a global address pool that does not have the same name as "vlan10". After the above configuration, you can complete the assigned IP address for 10.1.1.0/24, and the PC1 gateway address is 10.1.1.1; the IP address assigned to PC2 is 10.1.2.0/24, and the gateway address of PC2 is 10.1.2.1 at the same time as PC1. Address allocation to the global address pool VLAN interface by default, so when the VLAN interface configuration of the assigned address in the global address pool, view the current configuration of switch, not seen in the corresponding VLAN interface under the DHCP configuration. Using the global address pool method, the IP address of the network segment of the VLAN interface address of the three layer switch itself can be assigned to the user. 2, DHCP Relay configuration Configure the environment parameter The IP address of 1. DHCP Server is 192.168.0.10/24 The 2. DHCP Server is connected to the G1/1 port of the switch, which belongs to the vlan100, and the gateway is the address 192.168.0.1/24 of the VLAN interface 100 of the switch 3. E0/1-E0/10 belongs to vlan10, segment address 10.10.1.1/24 4. E0/11-E0/20 belongs to vlan20, segment address 10.10.2.1/24 Networking requirements 1. configure DHCP Relay on SwitchA to enable the following user to dynamically retrieve the IP address of the specified corresponding segment 2., PC1, PC2 can ping through their own gateway, at the same time, PC1, PC2 can exchange visits "Switch DHCP Relay configuration process" DHCP Relay's role is to adapt to the client and the server is not in the same segment, through the Relay, different sub network users can go to the same DHCP Server for the IP address, so it is easy to address pool management and maintenance. [SwitchA related configuration] 1. global enable DHCP function (by default, the DHCP function is in a enabled state) [SwitchA]dhcp enable 2. create (enter) VLAN100 [SwitchA]vlan 100 3. add G1/1 to VLAN100 [SwitchA-vlan100]port GigabitEthernet 1/1 4. create (enter) VLAN interface 100 [SwitchA]interface Vlan-interface 100 5. configure the IP address for the VLAN interface 100 [SwitchA-Vlan-interface100]ip address 192.168.0.1 255.255.255.0 6. create (enter) VLAN10 [SwitchA]vlan 10 7. add E0/1-E0/10 to VLAN10 [SwitchA-vlan10]port, Ethernet, 0/1, to, Ethernet, 0/10 8. create (enter) VLAN interface 10 [SwitchA]interface Vlan-interface 10 9. configure the IP address for the VLAN interface 10 [SwitchA-Vlan-interface10]ip address 10.10.1.1 255.255.255.0 10. enables the DHCP relay function of the VLAN interface 10 [SwitchA-Vlan-interface10]dhcp select relay 11. configure the address of the DHCP server for the VLAN interface 10 [SwitchA-Vlan-interface10]ip relay address 192.168.0.10 12. create (enter) VLAN20 [SwitchA-vlan10]vlan 20 13. add E0/11-E0/20 to VLAN20 [SwitchA-vlan20]port, Ethernet, 0/11, to, Ethernet, 0/20 14. create (enter) VLAN interface 20 [SwitchA]interface Vlan-interface 20 15. configure the IP address for the VLAN interface 20 [SwitchA-Vlan-interface20]ip address 10.10.2.1 255.255.255.0 16. enables the DHCP relay function of the VLAN interface 20 [SwitchA-Vlan-interface20]dhcp select relay 17. configure the address of the DHCP server for the VLAN interface 20 [SwitchA-Vlan-interface20]ip relay address 192.168.0.10 [supplementary instructions] You can also enable DHCP relay functions on one or some VLAN interfaces in global configuration mode, such as: [SwitchA]dhcp, select, relay, interface, Vlan-interface, 10 3, DHCP Snooping Configure the environment parameter The 1. DHCP Server is connected to the G1/1 port of the switch SwitchA, which belongs to vlan10, and the IP address is 10.10.1.253/24 2. ports, E0/1 and E0/2, belong to vlan10 Networking requirements 1., PC1, PC2 can be obtained from the specified DHCP Server to the IP address 2. prevent other illegal DHCP Server from affecting hosts in the network "Switch DHCP-Snooping configuration process" When the switch opens the DHCP-Snooping, it listens to the DHCP message, The IP address and MAC address information can be extracted and recorded from the received DHCP, Request, or DHCP Ack packets. In addition, DHCP-Snooping allows you to set a physical port to a trusted port or a non trusted port. The trusted port can receive and forward the DHCP Offer message normally, while the trusted port will discard the received DHCP Offer message. This will enable the switch to screen the counterfeit DHCP Server and ensure that the client gets the IP address from the legitimate DHCP Server. [SwitchA related configuration] 1. create (enter) VLAN10 [SwitchA]vlan 10 2. add port E0/1, E0/2, and G1/1 to VLAN10 [SwitchA-vlan10]port, Ethernet, 0/1, Ethernet, 0/2, GigabitEthernet, 1/1 3. global enable dhcp-snooping function [SwitchA]dhcp-snooping 4. configure port G1/1 as trust port, [SwitchA-GigabitEthernet1/1]dhcp-snooping trust [supplementary instructions] The DHCP server provides to the user contains the server assigned to the message, the user's IP address: "DHCP offer" message, by entering the SwitchA G1/1 port and G1/1 port forwarding, it needs to be configured as a "trust" port. If the SwitchA uplink interface is configured as a Trunk port and connected to the DHCP relay device, the upstream port should also be configured as the "trust" port.
本文档为【华为交换机自动获取ip配置(HUAWEI switches automatically acquire IP configuration)】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_751406
暂无简介~
格式:doc
大小:29KB
软件:Word
页数:8
分类:生活休闲
上传时间:2017-10-07
浏览量:338