Chapter4ServiceConīæguration
CommandFunction
zte(cfg)#setdhcpspecialudp-light-check{enable|disable}
Enables/DisablesDHCPudp-check
functionglobally.
zte(cfg)#setdhcpsnoopingvlan<vlanlist>{disable|enable}
Enables/Disablessnoopingfunctionof
aVLANglobally.
ConīguringDHCPsnooping/Option82
lConīægurationDescription
AsshowninFigure4-27,PCcangetIPaddressfromspeciīæedDHCPserverand
preventotherillegalDHCPserversfromaffectinghostsinthenetwork.
Figure4-27DHCPSnooping/Option82ConīægurationInstanceTopology
lConīægurationProcedure
zte(cfg)#setdhcpsnooping-and-option82enable
zte(cfg)#setdhcpsnoopingaddport49,50
zte(cfg)#setdhcpport49client
zte(cfg)#setdhcpport50server
zte(cfg)#setdhcpip-source-guardaddport49
zte(cfg)#setdhcpoption82addport49,50
lConīægurationVeriīæcation
zte(cfg)#showdhcpsnooping
DHCPsnoopingisenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
DHCPsnoopingdisabledvlan:none
zte(cfg)#showdhcpoption82
4-85
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential