Chapter4ServiceConīæguration
DHCPv6ConīgurationInstance
lConīægurationDescription
ThisconīægurationexampledescribeshowtoconīægureDHCPv6snooping/Option82.
AsshowninFigure4-29,thePCscanobtainIPaddressesfromtheDHCPserver.
Option82isusedtoimprovethesecurityperformance.Itisrequiredtopreventillegal
DHCPserverfromaffectingthePCsonthenetwork.
Figure4-29DHCPv6Snooping/Option82ConīægurationInstance
lConīægurationProcedure
zte(cfg)#setdhcpv6snoopingenable
zte(cfg)#setdhcpv6snoopingaddport49,50
zte(cfg)#setdhcpv6port49client
zte(cfg)#setdhcpv6port50server
zte(cfg)#setdhcpv6ip-source-guardaddport49
zte(cfg)#setdhcpv6option82enable
zte(cfg)#setdhcpv6option82addport49,50
lConīægurationVeriīæcation
zte(cfg)#showdhcpv6snooping
DHCPv6snoopingisenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
zte(cfg)#showdhcpv6option82
DHCPv6option82isenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
zte(cfg)#showdhcpv6ip-source-guard
4-89
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential