1下发固定ip
[r1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r1]ip pool r1
Info: It's successful to create an IP address pool.
[r1-ip-pool-r1]network 172.16.1.0 ma
[r1-ip-pool-r1]network 172.16.1.0 mask 255.255.255.0
[r1-ip-pool-r1]gateway-list 172.16.1.1
[r1-ip-pool-r1]dns
[r1-ip-pool-r1]dns-list 8.8.8.8
[r1-ip-pool-r1]dns-list 8.8.8.8 114.114.114.114
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]dh
[r1-GigabitEthernet0/0/0]dhcp select global
[r1-GigabitEthernet0/0/0]qu
[r1-GigabitEthernet0/0/0]quit
[r1-ip-pool-r1]static-bind ip-address 172.16.1.11 mac-address 5489-98FB-27D2
[r1-ip-pool-r1]static-bind ip-address 172.16.1.13 mac-address 5489-98EF-133E
2排除
[Huawei]sysname r5
[r5]ip
[r5]ip po
[r5]ip pool r5
Info: It's successful to create an IP address pool.
[r5-ip-pool-r5]ne
[r5-ip-pool-r5]netw
[r5-ip-pool-r5]network 192.168.1.0 m
[r5-ip-pool-r5]network 192.168.1.0 mask
^
Error:Incomplete command found at '^' position.
[r5-ip-pool-r5]netw
[r5-ip-pool-r5]network 192.168.1.0 m
[r5-ip-pool-r5]network 192.168.1.0 mask 255.255.255.0
[r5-ip-pool-r5]gatew
[r5-ip-pool-r5]gateway-list 192.168.1.1
[r5-ip-pool-r5]dn
[r5-ip-pool-r5]dns-list 8.8.8.8 114.114.114.114
[r5-ip-pool-r5]ex
[r5-ip-pool-r5]excluded-ip-address 192.168.1.250 192.168.1.254
[r5-ip-pool-r5]qu
[r5]in
[r5]int
[r5]interface g0/0/0
[r5-GigabitEthernet0/0/0]dh
[r5-GigabitEthernet0/0/0]dhcp s
[r5-GigabitEthernet0/0/0]dhcp select g
[r5-GigabitEthernet0/0/0]dhcp select global
[r5-GigabitEthernet0/0/0]qu
[r5-GigabitEthernet0/0/0]quit
[r5]hd
[r5]dh
[r5]dhcp en
[r5]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[r5]in
[r5]int
[r5]interface g0/0
[r5]interface g0/0/0
[r5-GigabitEthernet0/0/0]dh
[r5-GigabitEthernet0/0/0]dhcp se
[r5-GigabitEthernet0/0/0]dhcp select g
[r5-GigabitEthernet0/0/0]dhcp select global