Chapter5DHCPPolicyConīæguration
theDHCPPOOLthatnotbelongstothisinterfacetotheDHCP
POLICY ,itwillbringtoubnormal.
Forexample,therelatedDHCPPOLICYofmultipleinterfacesis
createdinthesameDHCPPOLICYset,andthisDHCPPOLICYis
boundtomultipleinterfacesatthesametime.Inthiscircum-
stance,itwillbringtotheDHCPPOOLirrelevantwiththeinterface
andfailtoassigntheaddress.
Example
Thisexampleshowshowtobindpolicy1tointerfacefei_1/1.
ZXR10(config-if)#ipdhcppolicypolicy1
Related
Commands
showrunning-configinterface
relay-agent
Purpose
Usethiscommandtoconīæguretheaddressofrelayagent.Delete
theconīægurationwiththenocommand.
CommandModes
DHCPpolicyconīægurationmode
Syntax
relay-agent<ip_addr>
norelay-agent
Syntax
Description
<ip_addr>IPaddress
Instructions
ļæ½Theplatformversion4.8.02andupgradeversionssupportthis
command.
ļæ½WhentheuseraccessestotheDHCPserverdirectly,itisnot
requiredtoconīægurethiscommand.Whentheuseraccesses
totheDHCPserverthroughtherelay,itisrequiredtoconīægure
thiscommand.
ļæ½WhentheaddressapplicationisimplementedthroughDHCP
Relay,itisrequiredtoconīægureDHCPRelayagent.Otherwise,
itisnotrequiredtoconīægureDHCPRelayagent.
ļæ½Tosupportcontrollableaccessandsuperaddresspool,the
matchofaddresspoolisimplementedaccordingtothepriority
andiscomparedaccordingVRFandrelayagent.Ifitmatches,
theaddressisappliedfromthematchedpool.
Example
Thisexampleshowshowtoconīæguretherelayagentaddressto
2.2.2.253.
ZXR10(config)#ipdhcppolicypolicy12
ZXR10(config-dhcp-policy)#relay-agent2.2.2.253
Related
Commands
showipdhcppolicy
showipdhcppolicy
Purpose
UsethiscommandtodisplaytheconīægurationinformationofDHCP
policy.
ConīædentialandProprietaryInformationofZTECORPORATION127