[dhcp]interface g0/0/0
[dhcp-GigabitEthernet0/0/0]ip address 172.16.1.1 24
[dhcp]dhcp enable
[dhcp]ip pool 1
[dhcp-ip-pool-1]network 172.16.1.0 mask 24
[dhcp-ip-pool-1]gateway-list 172.16.1.1
[dhcp-ip-pool-1]dns-list 8.8.8.8 114.114.114.114
[dhcp-ip-pool-1]static-bind ip-address 172.16.1.11 mac-address 5489-98BB-44F1
[dhcp-ip-pool-1]static-bind ip-address 172.16.1.13 mac-address 5489-9880-65E4
[dhcp]interface g0/0/1
[dhcp-GigabitEthernet0/0/1]dhcp select global
[Huawei]sysname dhcp
[dhcp]interface g0/0/2
[dhcp-GigabitEthernet0/0/2]ip address 192.168.1.1 24.
[dhcp-GigabitEthernet0/0/2]quit
[dhcp]ip pool 2
[dhcp-ip-pool-2]network 192.168.1.0 mask 24
[dhcp-ip-pool-2]gateway-list 192.168.1.1
[dhcp-ip-pool-2]dns-list 8.8.8.8 114.114.114.114
[dhcp-ip-pool-2]excluded-ip-address 192.168.1.250 192.168.1.254
[dhcp-ip-pool-2]quit
[dhcp]interface g0/0/2
[dhcp-GigabitEthernet0/0/2]dhcp select global
[dhcp-GigabitEthernet0/0/2]quit
[dhcp]dhcp enable
[dhcp]interface g0/0/2[dhcp-GigabitEthernet0/0/2]dhcp select global
[dhcp]interface g0/0/0
[dhcp-GigabitEthernet0/0/0]ip address 12.1.1.1 24
[dhcp]interface g0/0/1
[dhcp-GigabitEthernet0/0/1]ip address 12.1.1.2 24