LSW1全局配置DHCP
Info: Current terminal monitor is off.
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
Info: Current terminal monitor is off.
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
Info: Current terminal monitor is off.
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.
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
Info: Current terminal monitor is off.
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
Info: Current terminal monitor is off.
Change language mode, confirm? [Y/N] y 提示:改变语言模式成功。
进入系统视图,键入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
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]
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库华为DHCP全局、端口、中继配置在线全文阅读。
相关推荐: