Chapter7ServiceConguration
Port:1ChNum:1
Mac:00.00.02.00.00.11Ip:25.1.1.1
ChannelUserTypeMultiAddressElapsedTime
-----------------------------------------------
1preview225.1.1.10:0:0:12
DHCPCLIENT
Configuration
DHCPCLIENTOverview
ZXR102920/2928/2952/2936-FInotonlysupportsthestaticIP
addressconguredonlayer3interfacebutalsosupportsgetting
dynamicIPaddressfromDHCPserver ,whichimplementsthenor-
malcommunicationbasedonlayer3.
Atthistime,switchtakesasDHCPclient,thevalidusetimeofthe
applyingdynamicaddressiscalledleasedtime.Beforetheleased
timeexpires,thehostshouldrequestcontinuousleasingfromthe
server ,andtheaddresscanbeusedcontinuouslyonlyafterthe
serveracceptstherequest.
Theprocessofapplicationandleaseneedn’tmanualintervention,
thenecessarycongurationcanbedonebeforeuse.
BasicConfigurationofDHCPCLIENT
1.GlobalConguration
CommandFunction
zte(cfg)#setdhcpclient{enable|disa
ble}
Thisenables/disables
DHCPCLIENTatglobal
congurationmode.
zte(cfg)#setdhcpclientbroadcast-flag
{enable|disable}
ThissetsDHCPCLIENT
broadcast-ag.
2.Layer3InterfaceConguration
Enterlayer3congurationmodebyusingthecommandcong
routerbeforeconguringDHCPCLIENTonlayer3interface
mode.
CondentialandProprietaryInformationofZTECORPORATION131