Chapter5ServiceConguration
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
zte(cfg)#setdhcpip-source-guardaddport49
zte(cfg)#setdhcpoption82addport49,50
lCongurationVerication
zte(cfg)#showdhcpsnooping
DHCPsnoopingisenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
DHCPsnoopingdisabledvlan:none
zte(cfg)#showdhcpoption82
DHCPoption82isenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
5-99
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential