华为DHCP全局、端口、中继配置

2019-03-10 21:46

LSW1全局配置DHCP

undo terminal monitor

Info: Current terminal monitor is off. system-view

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 10 11

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done. [Huawei]ip pool 110(创建地址池)

Info:It's successful to create an IP address pool. [Huawei-ip-pool-110]network 192.168.0.0 mask 24 [Huawei-ip-pool-110]gateway-list 192.168.0.1 [Huawei-ip-pool-110]dns-list 8.8.8.8 [Huawei-ip-pool-110]lease day 0 hour 2

[Huawei-ip-pool-110]excluded-ip-address 192.168.0.250 192.168.0.254 [Huawei-ip-pool-110]qui [Huawei]int e0/0/3

[Huawei-Ethernet0/0/3]qui [Huawei]vlan batch 2 3

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei]vlan 10

[Huawei-vlan10]aggregate-vlan [Huawei-vlan10]access-vlan 2 3

[Huawei-vlan10]qui [Huawei]int vlanif 10

[Huawei-Vlanif10]ip address 192.168.0.1 24 [Huawei-Vlanif10]dhcp select global [Huawei-Vlanif10]qui [Huawei]int vlanif 11

[Huawei-Vlanif11]ip add 10.0.0.1 30 [Huawei-Vlanif11]qui [Huawei]int e0/0/3

[Huawei-Ethernet0/0/3]port link-type trunk

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 2 3 [Huawei-Ethernet0/0/3]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port default vlan 11 [Huawei-Ethernet0/0/1]qui

[Huawei]ip route-static 192.168.1.0 24 10.0.0.2 [Huawei]ip route-static 192.168.2.0 24 10.0.0.2 [Huawei]ip route-static 10.0.0.4 30 10.0.0.2 [Huawei]ip route-static 10.0.0.8 30 10.0.0.2 [Huawei]

LSW2

undo terminal monitor

Info: Current terminal monitor is off. system-view

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 2 3

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port default vlan 2 [Huawei-Ethernet0/0/1]int e0/0/2

[Huawei-Ethernet0/0/2]port link-type access [Huawei-Ethernet0/0/2]port default vlan 3 [Huawei-Ethernet0/0/2]int e0/0/3

[Huawei-Ethernet0/0/3]port link-type trunk [Huawei-Ethernet0/0/3]port trunk allow

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 2 3

[Huawei-Ethernet0/0/3] User interface con0 is available

LSW3端口配置DHCP

undo terminal monitor

Info: Current terminal monitor is off. sys

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 11 20 21 5 6

Info: This operation may take a few seconds. Please wait for a moment...done.

[Huawei]int vlanif 11

[Huawei-Vlanif11]ip add 10.0.0.2 30 [Huawei-Vlanif11]int vlanif 21 [Huawei-Vlanif21]ip add 10.0.0.5 30 [Huawei-Vlanif21]qui [Huawei]vlan 20

[Huawei-vlan20]aggregate-vlan [Huawei-vlan20]access-vlan 5 6 [Huawei-vlan20]qui [Huawei]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done. [Huawei]int vlanif 20

[Huawei-Vlanif20]ip add 192.168.1.1 24 [Huawei-Vlanif20]dhcp select interface [Huawei-Vlanif20]dhcp server dns-list 8.8.8.8 [Huawei-Vlanif20]dhcp server lease day 0 hour 3

[Huawei-Vlanif20]dhcp server excluded-ip-address 192.168.1.250 192.168.1.254

[Huawei-Vlanif20]qui [Huawei]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port default vlan 11 [Huawei-Ethernet0/0/1]int e0/0/2

[Huawei-Ethernet0/0/2]port link-type access [Huawei-Ethernet0/0/2]port default vlan 21 [Huawei-Ethernet0/0/2]int e0/0/3

[Huawei-Ethernet0/0/3]port link-type trunk

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 5 6 [Huawei-Ethernet0/0/3]qui

[Huawei]ip route-static 192.168.1.0 24 10.0.0.1 [Huawei]undo ip route-static 192.168.1.0 24 10.0.0.1 [Huawei]ip route-static 192.168.0.0 24 10.0.0.1 [Huawei]ip route-static 192.168.2.0 24 10.0.0.6 [Huawei]ip route-static 10.0.0.8 24 10.0.0.6

Info: The destination address and mask of the configured static route mismatched

, and the static route 10.0.0.0/24 was generated.

[Huawei]ip route-static 10.0.0.8 30 10.0.0.6 [Huawei] User interface con0 is available

LSW4

Huawei>undo terminal monitor

Info: Current terminal monitor is off. sys

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 5 6

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port default vlan 5 [Huawei-Ethernet0/0/1]int e0/0/2

[Huawei-Ethernet0/0/2]port link-type access [Huawei-Ethernet0/0/2]port default vlan 6 [Huawei-Ethernet0/0/2]int e0/0/3

[Huawei-Ethernet0/0/3]port link-type trunk

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 5 6 [Huawei-Ethernet0/0/3] User interface con0 is available

LSW5中继配置DHCP

undo ter m

Info: Current terminal monitor is off. sys

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 21 30

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei]

[Huawei]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done. [Huawei]int vlanif 21

[Huawei-Vlanif21]ip add 10.0.0.6 30 [Huawei-Vlanif21]int vlanif 30 [Huawei-Vlanif30]ip add 10.0.0.9 30 [Huawei-Vlanif30]qui [Huawei]int vlanif 30 [Huawei-Vlanif30]

[Huawei-Vlanif30] dhcp select global [Huawei-Vlanif30]qui

[Huawei]ip pool 300

Info:It's successful to create an IP address pool. [Huawei-ip-pool-300]network 192.168.2.0 mask 24 [Huawei-ip-pool-300]gateway-list 192.168.2.1 [Huawei-ip-pool-300]dns-list 8.8.8.8 [Huawei-ip-pool-300]lease day 0 hour 2 [Huawei-ip-pool-300]qui [Huawei]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port defaul vlan 30 [Huawei-Ethernet0/0/1]int e0/0/2

[Huawei-Ethernet0/0/2]port link-type access [Huawei-Ethernet0/0/2]port defaul vlan 21

[Huawei-Ethernet0/0/2] User interface con0 is available [Huawei]ip route-static 192.168.0.0 24 10.0.0.5 [Huawei]ip route-static 192.168.1.0 24 10.0.0.5 [Huawei]ip route-static 10.0.0.0 30 10.0.0.5 [Huawei]ip route-static 192.168.2.0 24 10.0.0.10

LSW6

undo terminal monitor

Info: Current terminal monitor is off. langu chinese

Change language mode, confirm? [Y/N] y 提示:改变语言模式成功。 sys

进入系统视图,键入Ctrl+Z退回到用户视图。 [Huawei]vlan batch 30 31 8 9

提示:此操作可能耗时较长。请稍等...完成。 [Huawei]dhcp enable

提示:该操作可能耗时较长,请稍等.完成。 [Huawei]dhcp server group 101 提示:创建DHCP服务器组成功

[Huawei-dhcp-server-group-101]dhcp-server 10.0.0.9 [Huawei-dhcp-server-group-101]qui [Huawei]int vlanif 30

[Huawei-Vlanif30]ip add 10.0.0.10 30 [Huawei-Vlanif30]int vlanif 31

[Huawei-Vlanif31]ip add 192.168.2.1 24 [Huawei-Vlanif31]dhcp select global [Huawei-Vlanif31]dhcp select relay

[Huawei-Vlanif31]dhcp relay server-select 101 [Huawei-Vlanif31]qui [Huawei]vlan 31

[Huawei-vlan31]aggregate-vlan [Huawei-vlan31]access-vlan 8 9 [Huawei-vlan31]qui [Huawei]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port default vlan 30 [Huawei-Ethernet0/0/1]int e0/0/3

[Huawei-Ethernet0/0/3]port link-type trunk

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 8 9 [Huawei-Ethernet0/0/3]qui

[Huawei]ip route-static 192.168.0.0 24 10.0.0.9 [Huawei]ip route-static 192.168.1.0 24 10.0.0.9 [Huawei]ip route-static 10.0.0.0 30 10.0.0.9 [Huawei]ip route-static 10.0.0.4 30 10.0.0.9

[Huawei]dis cu

undo terminal monitor sys

LSW7

Info: Current terminal monitor is off.

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 8 9

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei]int e0/0/1

[Huawei-Ethernet0/0/1]port link-type access [Huawei-Ethernet0/0/1]port default vlan 8 [Huawei-Ethernet0/0/1]int e0/0/2

[Huawei-Ethernet0/0/2]port link-type access [Huawei-Ethernet0/0/2]port default vlan 9 [Huawei-Ethernet0/0/2]int e0/0/3

[Huawei-Ethernet0/0/3]port link-type trunk

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 8 9 [Huawei-Ethernet0/0/3]


华为DHCP全局、端口、中继配置.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:如何开发自己的潜能

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: