ZXR105900/5200SeriesUserManual(BasicCongurationVolume)
ConfiguringDHCPRelay
1.ToconguretheDHCPagentipaddressontheinterfaceor
deletetheipaddress,usethefollowingcommand.
Step
CommandFunction
1
ZXR10(config-if-vlanX)#ipdhcprelayagent
<ip-address>
ThiscongurestheDHCP
agentipaddressonthe
interface.
<ip-address>DHCPagentIP
addressontheinterface,in
dotteddecimalnotation.
2
ZXR10(config-if-vlanX)#noipdhcprelayagentThisdeletestheDHCPagent
ipaddressontheinterface.
BeforeenablingDHCPRelaytoforwarduserDHCPrequestto
externalDHCPServer ,itisneededtocongureIPaddressof
DHCPAgent,whichisoneoftheIPaddressesofinterfaces
whereDHCPClientlocates.
ExternalDHCPServerwillassignIPaddressaccordingtoIP
addressofDHCPAgenttomaketheminthesamesubnet.
DHCPreplypacketreturnedtoDHCPclientbyDHCPserveris
forwardedbyDHCPAgent.Therefore,aroutepointingtothe
subnetwhereDHCPAgentlocatesneedstobeconguredon
externalDHCPServer .
2.ToconguretheoutsideDHCPserveripaddressontheinter-
faceordeleteoutsideDHCPServeraddressontheinterface,
usethefollowingcommand.
Step
CommandFunction
1
ZXR10(config-if-vlanX)#ipdhcprelayserver
<ip-address>{standard|security}
<ip-address>outsideDHCP
Serveripaddress,indotted
decimalnotation
standard:complywithDHCP
standardprotocolforwarding
mode
security:ZTEsecurity
forwardingmode,Thedefault
isstandard.
2
ZXR10(config-if-vlanX)#noipdhcprelayserver
<ip-address>
<ip-address>outsideDHCP
Serveripaddress,indotted
decimalnotation
StandardforwardingmodeconformstoDHCPstandardproto-
col.AfteruserobtainscorrespondingIPaddress,DHCPprocess
willnotprocesssubsequentunicastinteractionanymore,such
assecurityinspection.Atthesametime,writingARPtable
functionisinvalidforstandardmode.Standardforwarding
modeperformancewillbebetterforbigconsumernumberbe-
causeitdoesnotdealwiththesubsequentunicastinteraction.
94CondentialandProprietaryInformationofZTECORPORATION