ZXR102900ESeriesCommandReference
ParameterDescription
defaultDefaultmode,inwhichtheoption82attributeinapacketiskept
unchanged.
dropDropmode,inwhichthepacketcarryingtheoption82attributeis
discarded.
modifyModifymode,inwhichtheoption82attributeinthepacketis
replacedbythelocaloption82attribute.
appendAppendmode,inwhichthelocaloption82attributeisappended
tothepacket.
Guidelines
AftertheportreceivesaDHCPpacketcarryingtheoption82attribute,theportdirectly
forwardsthepackettotheserverifthemodeis"default",ordiscardsthepacketifthe
modeis"drop",orreplacetheoption82attributewiththelocaloption82attributeandthen
forwardsthepackettotheserverifthemodeis"modify",orappendthelocaloption82
attributetothepacketandthenforwardsthepackettotheserverifthemodeis"append".
4.44.6setdhcprelayservermode
Purpose
ThiscommandsetstheDHCPRelaymodebyspecifyingwhethertheDHCPserveris
determinedbyipportorvclass-id.
CommandMode
Globalcongurationmode
Syntax
setdhcprelayservermode{ipport|vclass-id}
ParameterDescription
ParameterDescription
ipportTheaddressoftheDHCPserverisobtainedfromthecommand
lineipport.
vclass-idTheaddressoftheDHCPserverisobtainedfromthecommand
linevclass-id.
4-594
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential