ZXR102900ESeriesCongurationGuide
CommandFunction
zte(cfg)#setdhcpsnooping-and-option82{enable|disable}EnablesordisablesDHCP
snoopingandOption82globally.
zte(cfg)#setdhcpsnooping{add|delete}{port<portlist>|trunk
<trunklist>}
EnablesordisablestheDHCP
Snoopingfunctionbasedonthe
port/trunk.
zte(cfg)#setdhcpport<portlist>{server|cascade|client}SetsDHCPattributeoftheport.
zte(cfg)#setdhcptrunk<trunklist>{server|default}SetstrunkattributeinDHCP
snooping.
zte(cfg)#setdhcpip-source-guard{{add|delete}port<portlist>|
quota<0-400>}
Enablesordisablesport
ip-source-guardfunction.
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>|manual
<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
dynamicuserbindingentryonthe
port.
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.
5-96
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential