Chapter14AccessSecurityConguration
Port:gpon-onu_1/5/1:1vport1
Cid-Format:CHINA-TELECOM-PON
Rid-status:Enable
Rid-name:REMOTE-ID
Rid-Format:
Access-Loop-Tag:REMOTE-ID
–EndofSteps–
14.1.2ConfiguringtheDHCPv4Layer-2RelayAgent(DHCPv4L2RA)
WhenDHCPv4L2RAisenabled,theZXA10C300addsDHCPv4L2RAOption82eldto
theupstreamDHCPpackets.
Context
TheDHCPv4L2RAOption82eldcontainsCIDandRID,whichincludestheshelfnumber,
slotnumber,andportnumber.
lOnlywhenDHCPv4L2RAisenabled,theOption82eldcanbeadded/stripped
to/fromtheDHCPpackets.
lWhenDHCPv4L2RAisdisabled,theZXA10C300transparentlytransmitsordirectly
forwardstheDHCPpacketswithoutanyprocessing.
TheglobalDHCPv4L2RAfunctionandVLANDHCPv4L2RAfunctionaremutually
exclusive.
CongurationData
Table14-2liststhecongurationdataoftheDHCPv4L2RA.
Table14-2CongurationDataofDHCPv4L2RA
ItemData
DHCPv4L2RAglobalEnable
DHCPv4L2RAinterfacelInterface:gpon-onu_1/5/1:1
lVirtualport:1
lDHCPv4L2RAstatus:enable
lPolicy:trustandreplace
Steps
1.EnabletheglobalDHCPv4L2RA.
ZXAN(config)#dhcpv4-l2-relay-agentenable
2.InGPON-ONUinterfacemode,enableDHCPv4L2RAontheinterface.
ZXAN(config)#interfacegpon-onu_1/5/1:1
ZXAN(config-if)#dhcpv4-l2-relay-agentenablevport1
3.ConguretheDHCPv4L2RApolicyontheinterface.
14-3
SJ-20130520164529-007|2013-06-30(R1.0)ZTEProprietaryandCondential