Chapter4ServiceConguration
4.40.5setdhcprelayoption82modeport
Purpose
Thiscommandsetsthemodeofbindingdynamicuserinformationonaport.
CommandMode
Globalcongurationmode
Syntax
setdhcprelayoption82modeport<1-52>{default|drop|modify|append}
ParameterDescription
ParameterDescription
<1-52>Portnumber.Differentdeviceshavedifferentportnumberranges.
Inthesyntax,the5250-52TCdeviceisusedasanexample.
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.40.6setdhcprelayservermode
Purpose
ThiscommandsetstheDHCPRelaymodebyspecifyingwhethertheDHCPserveris
determinedbyipportorvclass-id.
CommandMode
Globalcongurationmode
4-555
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential