Chapter5ServiceConguration
CommandFunction
zte(cfg)#setdhcpclientbroadcast-flag{enable|disable}Setswhetherthepacketthat
DHCPserverreturnsisa
broadcastpacket.
showdhcpclient(allcongurationmodes)DisplaysDHCPclientconguration
information.
zte(cfg-router)#setipport<0-63>ipaddressdhcpSetstheIPaddressoflayer-3
interfaceacquiredbyDHCP
protocol.
zte(cfg-router)#setipport<0-63>ipaddressdhcp{release|
renew}
Releasesorrenewslayer-3
interfaceIPaddress.
zte(cfg-router)#setipport<0-63>dhcpclient{class-id
{characters<string>|hex-numbers<hex-string>}|client-idmac|
hostname<string>|lease{<0-365><0-23><0-59>|infinite}}
Setsavailablemessageswhen
theDHCPclientinteractswiththe
server.
zte(cfg-router)#setipport<0-63>dhcpclientrequest
{dns-server|domain-name|route|static-route|tftp-server-name}
Setsmessagetypesentbythe
serverwhentheDHCPclient
interactswiththeserver.
zte(cfg-router)#setipport<0-63>dhcprelayagentSetsalayer-3IPportasaDHCP
relayagent.Iftheportisaninside
port,theaddressoftheportis
usedasthesourceaddressesof
DHCPpacketssenttotheserver.
zte(cfg-router)#setipport<0-63>dhcprelayserver
<A.B.C.D>
SetstheaddressoftheDHCP
relayserverontheIPport.When
DHCPpacketsareforwardedtoa
server,thisserverispreferred.
zte(cfg)#setdhcprelayglobal-ipport<0-63>{enable|disable}EnablestheDHCPrelayfunction
onanIPportglobally.When
theDHCPrelayselectsasource
IPaddress,ifnoIPaddressis
conguredfortheVLAN,theIP
addressoftheIPportisusedas
thesourceaddress.
zte(cfg-router)#clearipport<0-63>dhcpclient{class-id|
client-id|hostname|lease}
ClearsDHCPclientoptional
sendinginformationconguration.
zte(cfg-router)#clearipport<0-63>dhcpclientrequest
{dns-server|domain-name|route|static-route|tftp-server-name}
Clearsthecongurationrequesting
DHCPservertoreturnvarious
information.
zte(cfg)#setdhcpsnoopingbind-entrydatabasereadReadsDHCPbindingentryfrom
theFlashmemory.
5-97
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential