ZXR102900ESeriesCongurationGuide
CommandFunction
showdhcprelayoption82port<1-28>(allcongurationmodes)
DisplaystheDHCPrelayoption82
congurationoftheport.
showdhcprelayoption82device(allcongurationmodes)
Displaysdevice-relatedinformation,
includingANIandremote-ID.
zte(cfg-router)#setipport<0-63>dhcprelay{agent|server<A.B.C.D>}
SetstheDHCPrelayinformationof
ipport.
zte(cfg-router)#clearipport<0-63>dhcprelay{agent|server<A.B.C.D>}
ClearstheDHCPrelayinformationof
ipport.
DHCPCongurationInstance
lCongurationDescription
AsshowninFigure4-63,switchport1isconnectedtotheDHCPclient,andswitch
port2isconnectedtotheDHCPserveroftheIPnetwork.
Figure4-63DHCPRelayCongurationInstance
Note:
TheDHCPclientandtheDHCPserverareindifferentnetworksegments.
lCongurationProcedure
1.AssignaspeciedVLANtotheport:
setvlan1000addport2tag
setvlan1000enable
2.ConguretheDHCPrelaybyusingthefollowingcommands:
zte(cfg)#setdhcprelayenable
4-152
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandCondential