ZXR102900ESeriesCommandReference
Syntax
setdhcpsnoopingbind-entrymac<HH.HH.HH.HH.HH.HH>ip<A.B.C.D>vlan<1-4094>
port<1-28>
ParameterDescription
ParameterDescription
<HH.HH.HH.HH.HH.HH>MACaddressoftheDHCPclientdevice.
<A.B.C.D>IPaddressthattheDHCPserverallocatestotheclient.
<1-4094>VLANIDthattheclientusesforcommunication.
<1-28>
Portnumberthattheclientusesforcommunication.Different
deviceshavedifferentportnumberranges.Inthesyntax,the
2928Edeviceisusedasanexample.
Guidelines
TheDHCPsnoopingfunctioncanlistentheinteractionprocedurebetweentheDHCP
serverandclienttoautomaticallylearndynamicentries.Thedynamicentrieswilldisappear
withtimepassingbyorthechangeofportstatus.Tomaketheentriesstable,addstatic
entriesmanually.
Example
ThefollowingexampleaddsthestaticuserinformationbindingentrywiththeMACaddress
of00.d0.d0.00.00.01,IPaddressof192.168.0.1,VLANIDof1,andportnumberof10:
zte(cfg)#setdhcpsnoopingbind-entrymac00.d0.d0.00.00.01
ip192.168.0.1vlan1port10
4.25.7setdhcpsnoopingbind-entrymode
Purpose
Thiscommandsetsthebindingmodeofports’dynamicuserinformationbindingentries.
CommandMode
Globalcongurationmode
Syntax
setdhcpsnoopingbind-entrymodeport<portlist>{hold|drop}
Parameters
ParameterDescription
<portlist>Portlist.
4-434
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential