ZXR102900ESeriesCongurationGuide
CommandFunction
showdhcprelaybinding[port<1-28>|trunk<1-15>](all
congurationmodes)
DisplaystheDHCPrelaybinding
information.
showdhcprelayoption82port<1-28>(allcongurationmodes)
DisplaystheDHCPrelayoption82
congurationoftheport.
showdhcprelayoption82device(allcongurationmodes)
Displaysdevice-related
information,includingANI
andremote-ID.
zte(cfg-router)#setipport<0-63>dhcprelay{agent|server
<A.B.C.D>}
SetstheDHCPrelayinformation
ofipport.
zte(cfg-router)#clearipport<0-63>dhcprelay{agent|server
<A.B.C.D>}
ClearstheDHCPrelayinformation
ofipport.
zte(cfg-router)#setdhcprelayserver<A.B.C.D>SetsaglobalDHCPserver.
zte(cfg-router)#setdhcprelayglobal-ipport<0-63>
SetsaglobalipportforaDHCP
relay.
zte(cfg)#setdhcprelayvlan{enable|disable}
EnablesordisablestheDHCP
relayfunctionbasedonVLANs.
IftheDHCPfunctionisenabled
globally,thedeviceprovides
therelayfunctionwheneither
thiscommandortherelayagent
commandisused.
showdhcprelayvlan(allcongurationmodes)
DisplaysVLANsforwhichthe
DHCPrelayfunctionisenabled.
DHCPCongurationInstance
lCongurationDescription
SeeFigure5-60,switchport1isconnectedtotheDHCPclient,andswitchport2is
connectedtotheDHCPserveroftheIPnetwork.
Figure5-60DHCPRelayCongurationInstance
5-162
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential