Chapter4ServiceConguration
CommandMode
Layer-3congurationmode
Syntax
setipport<0-63>dhcprelay{agent|server<A.B.C.D>}
ParameterDescription
ParameterDescription
<0-63>Layer-3interfaceID.
agentAgentoftheDHCPRelay.
serverServerIPaddress.
<A.B.C.D>DHCPserveraddress.
Example
ThefollowingexamplesetsDHCPrelayinformationonport3:
zte(cfg-router)#setipport3dhcprelayagent
zte(cfg-router)#setipport3dhcprelayserver168.1.23.18
4.40.17setdhcprelayserverip
Purpose
ThiscommandsetsaglobalDHCPRelayserverIPaddress.
CommandMode
Globalcongurationmode
Syntax
setdhcprelayserverip<A.B.C.D>}
ParameterDescription
ParameterDescription
<A.B.C.D>IPaddressofaDHCPserver.AmaximumofeightIPaddresses
canbeset.
Example
ThefollowingexamplesetstheDHCPRelayserveraddressto168.1.23.180:
zte(cfg)#setdhcprelayserverip168.1.23.180
4-561
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential