ZXR102900SeriesUserManual
niquetoprovidemoreadditionalinformation,andthenstrengthen
thenetworksafetyability.
BasicConfigurationofDHCP
Snooping/Option82
CongurethefollowingcommandstosupportSnoopingandOp-
tion82functions.
CommandFunction
zte(cfg)#cleardhcpsnp-bind-entry
{all|port<portname>|mac
<HH.HH.HH.HH.HH.HH>}
ThisclearsDHCP
Snoopingdynamic
bindingtable.
zte(cfg)#cleardhcpoption82aniThisclearstheswitch
accessingnode
identier .
zte(cfg)#setdhcpsnooping-and-optio
n82{enable|disable}
Thisenables/disables
DHCP ,thedefaultis
disable.
zte(cfg)#setdhcpport<portname>{ser
ver|cascade|client}
ThisconguresDHCP
attributeofport.
Therearethreekindsof
attributesoftheport:
serverport,cascade
portandclientport.
Onlyserverportisthe
trustedport.
Iftheswitchis
connectedwithDHCP
relaydeviceandthe
uplinkportissettingas
trunk,thentheuplink
portattributemustbe
trusted.
Thetrustedport
receivesandtransmits
DHCPOffernormally,
buttheuntrustedport
discardsDHCPOffer
packet.Thisensures
thattheclientterminal
canobtainIPaddress
fromthelegalDHCP
server .
zte(cfg)#setdhcpsnooping{add|
delete}{port<portlist>|trunk<trunklist>}
Thisenables/disables
DHCPSnooping
functionbasedon
port.
zte(cfg)#setdhcpoption82{add|
delete}{port<portlist>|trunk<trunklist>}
Thisenables/disables
DHCPOption82function
basedonport.
134CondentialandProprietaryInformationofZTECORPORATION