Chapter5ServiceConguration
DHCPv6CongurationInstance
lCongurationDescription
ThiscongurationexampledescribeshowtocongureDHCPv6snooping/Option82.
SeeFigure5-33,thePCscanobtainIPaddressesfromtheDHCPserver.Option82
isusedtoimprovethesecurityperformance.ItisrequiredtopreventillegalDHCP
serverfromaffectingthePCsonthenetwork.
Figure5-33DHCPv6Snooping/Option82CongurationInstance
lCongurationProcedure
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
lCongurationVerication
zte(cfg)#showdhcpv6snooping
DHCPv6snoopingisenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
zte(cfg)#showdhcpv6option82
DHCPv6option82isenabledonthefollowingport(s):
PortIdPortType
--------------
49Client
50Server
zte(cfg)#showdhcpv6ip-source-guard
Ipsourceguardisconfiguredonthefollowingport(s):49
5-103
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential