Chapter9DHCPConguration
Step
CommandFunction
1
ZXR10(config)#ipdhcpsnoopinginformationpolicy
{keep|replace}
Thisconguresthepolicyof
forwardingDHCPdatapacket
82option.
keep:keeptheoriginal82
optionandtransparently
transmit.
replace:replacetheoriginal
82option.
Thedefaultistokeep
theoriginal82optionand
transparentlytransmit.
2
ZXR10(config)#noipdhcpsnoopinginformation
policy
Thiscancelscongured82
optionpolicytorestore
defaultformat.
7.TocongureDHCPSNOOPINGramblefunctionandallowuser
toswitchondifferentports,usethefollowingcommand.
Step
CommandFunction
1
ZXR10(config)#ipdhcpsnoopingramble
ThisconguresDHCP
SNOOPINGramblefunction.
2
ZXR10(config)#noipdhcpsnoopingrambleThisdisablesDHCP
SNOOPINGramblefunction.
8.ToconguretheinterfaceconnectstoDHCPSERVERastrust
interface,usethefollowingcommand.
Step
CommandFunction
1
ZXR10(config)#ipdhcpsnoopingtrust
<interface-number>
ThisconguresDHCPSERVER
interfaceastrustinterface.
<interface-number>physical
interfacenumbersuchasfei,
geiandsmartgroup.
2
ZXR10(config)#noipdhcpsnoopingtrust
<interface-numbe>
ThiscancelsDHCPSERVER
interfaceastrustinterface.
9.ToenableDHCPSNOOPINGonthespecicVLAN,usethefol-
lowingcommand.
Step
CommandFunction
1
ZXR10(config)#ipdhcpsnoopingvlan<vlan>ThisenablesDHCPSNOOPING
onthespecicVLAN.
<vlan>theVLANuserbelongs
to,1~4094inputtherange.
2
ZXR10(config)#noipdhcpsnoopingvlan<vlan>ThiscancelsDHCPSNOOPING
onthespecicVLAN.
CondentialandProprietaryInformationofZTECORPORATION93