Purpose
Command Mode
Syntax
Syntax
Description
Instructions
Example
Related Command
5
C h a p t e r
DHCP Policy
Configuration
Table of Contents
dhcp-pool ....................................................................... 125
ip dhcp policy.................................................................. 126
ip dhcp policy.................................................................. 126
relay-agent..................................................................... 127
vrf-instance .................................................................... 128
dhcp-pool
Use this command to bind a policy to a DHCP pool. Remove the
binding relationship with no command.
DHCP policy configuration mode
dhcp-pool < pool_name>
no dhcp-pool
< pool_name>
The platform version 4.8.02 or later supports this command. This
is the required configuration of the DHCP function. It is to bind
a DHCP pool with a policy. The configuration of the DHCP policy
must be consistent with the configuration in the network structure.
The DHCP pool bound to the policy must match the interface on
which the policy is bound. If the address pool of another interface
is bound to the policy by mistake, address allocation will fail.
This example describes how to bind a DHCP pool named dpool1.
ZXR10(config)#ip dhcp policy policy1 2
ZXR10(config-dhcp-policy)#dhcp-pool dpool1
ZXR10(config-dhcp-policy)#exit
show ip dhcp policy
Confidential and Proprietary Information of ZTE CORPORATION
It is the name of a DHCP pool.
125