Chapter5ServiceConguration
zte(cfg)#setdhcpsnoopingvlan<vlanlist>port<1-28>quota
<0-8191>
SetsthequotaofaDHCPbinding
tablebasedonaVLANandport.
Thevalue0meansthatthequota
isnotlimited.
showdhcpsnoopingquota[<1-8191>](allcongurationmodes)
Displayscongurationrelatedto
aDHCPquota.
zte(cfg)#setdhcprelayvlan<vlanlist>{enable|disable}
EnablestheDHCPrelayfunction
foraVLAN.
zte(cfg)#setdhcprelayserverip<A.B.C.D>
Setstheaddressoftheglobal
DHCPrelayserver.
zte(cfg)#setdhcprelayservermode{ipport|vc-classid}
Setsthemodeofselectinga
serverfortheDHCPrelay.Ifa
vc-classIDiscongured,vc-class
modeispreferred.
zte(cfg)#setdhcprelayserverretry<5-1000>
Setsthenumberoftimesthat
theDHCPrelayretriestosenda
packet.Default:10.
zte(cfg)#setdhcphop<1-16>
SetsthehoplimitoftheDHCP
relay.
ConguringDHCPsnooping/Option82
lCongurationDescription
ThePCcangetitsIPaddressfromthespeciedDHCPserverandpreventother
illegalDHCPserversfromaffectinghostsinthenetwork.SeeFigure5-31.
Figure5-31DHCPSnooping/Option82CongurationInstanceTopology
lCongurationProcedure
zte(cfg)#setdhcpsnooping-and-option82enable
zte(cfg)#setdhcpsnoopingaddport49,50
zte(cfg)#setdhcpport49client
zte(cfg)#setdhcpport50server
5-99
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential