# Run the display ip pool command on Router C. You can view the configuration about
the IP address pool of Router C.
[RouterB] display ip pool
-----------------------------------------------------------------------
Pool-name : pool1
Pool-No : 0
Position : Local Status : Unlocked
Gateway-0 : 10.1.1.126
Mask : 255.255.255.0
Vpn instance : --
IP address Statistic
Total :250
Used :1 Idle :248
Expired :0 Conflict :0 Disable :2
----End
Example
Configuration file of Router A
#
sysname RouterA
#
dhcp enable
#
interface Ethernet 1/0/0
ip address dhcp-alloc
#
return
Configuration file of Router B
#
sysname RouterB
#
dhcp enable
#
interface Ethernet 1/0/0
ip address bootp-alloc
#
return
Configuration file of Router C
#
sysname RouterC
#
dhcp enable
#
ip pool pool1
network 10.1.1.0 mask 24
gateway-list 10.1.1.126
static-bind ip-address 10.1.1.3 mac-address a234-e211-a256
dns-list 10.1.1.2
#
interface Ethernet 1/0/0
ip address 10.1.1.1 24
dhcp select global
#
return
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 6 DHCP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
171