ZXR105250SeriesCongurationGuide
CommandFunction
zte(cfg)#setdhcpsnoopingbind-entrymac<HH.HH.HH.HH.HH
.HH>ip<A.B.C.D>vlan<1-4094>port<1-28>
Addsstaticuserinformation
bindingentry.
zte(cfg)#setdhcpsnoopingbind-entrymodeport<portlist>{hold
|drop}
Setsthebindingmodeofthe
dynamicuserinformationbinding
entryontheport.
zte(cfg)#setdhcpoption82{add|delete}{port<portlist>|trunk
<trunklist>}
EnablesordisablesDHCP
Option82functionbasedonthe
port/trunk.
zte(cfg)#setdhcpoption82sub-optiondevice{ani<string>|
remote-ID{cisco|key<string>|manual<string>}}
Conguresthedeviceinformation
ofSwitch.
zte(cfg)#setdhcpoption82sub-optionport<portlist>{circuit-ID
{on{cisco|china-tel|dsl-forum|henan-rtf|key<string>}|off}|
subscriber-ID{on<string>|off}|reserve{ontag<1-255>value
<string>|off}}
Setsoption82sub-option.
zte(cfg)#setdhcpoption82modeport<portlist>{default|drop|
modify|append}
Setsthebindingmodeofthe
dynamicuserinformationbinding
entryontheport.
zte(cfg)#cleardhcpsnp-bind-entry{mac<HH.HH.HH.HH.HH.
HH>|port<1-28>|all}
ClearsDHCPbindingentry.
zte(cfg)#cleardhcpoption82sub-optiondeviceaniDeletesdeviceidentier
information.
showdhcp(allcongurationmodes)Displaysthecongurationof
DHCPsnooping-and-option82and
DHCPclient.
showdhcpsnooping(allcongurationmodes)DisplaysDHCPsnoopingglobal
congurationinformation.
showdhcpsnoopingbinding[port<1-28>](allconguration
modes)
DisplaysDHCPsnoopingentry
information.
showdhcpip-source-guard(allcongurationmodes)Displaysportip-source-guard
conguration.
showdhcpoption82(allcongurationmodes)DisplaysDHCPoption82
congurationinformation.
showdhcpoption82port(allcongurationmodes)Displaystheconguration
informationofDHCPoption82.
showdhcpoption82device(allcongurationmodes)Displaystheconguration
informationofthedevice.
zte(cfg)#setdhcpclient{enable|disable}EnablesordisablesDHCPclient
function.
5-96
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential