Chapter24DHCPv6Conguration
Figure24-3DHCPv6ServerCongurationExample
ThecongurationrequirementsofZXR10aredescribedbelow.
lInglobalcongurationmode,congureanIPv6address,anIPv6pool,aDHCPv6
pool,andaDHCPv6policy.EnableDHCPv6function.
lIninterfacecongurationmode,congureanIPaddressandDHCPservermode.
BindtheDHCPv6policy.
CongurationFlow
1.EnableIPv6ontheinterface,andcongureanIPv6address.
2.CongureanIPv6addresspool,andcongurerelatedparameterssuchastherange
oftheaddresspool.Therangeoftheaddressesinthepoolshouldbeonthesame
networksegment.
3.EnableDHCPv6globally.
4.CongureDHCPv6pool.TheDHCPv6poolneedstobeboundedtoanIPpool.
CongureDNS,leasetimeandotherparameters.
5.CongureaDHCPv6policy.TheDHCPv6policyisapolicyoption.Manyprioritiesare
supportedbyanameforpolicymanagement.
6.CongureaDHCPv6server.ConguretheservermodeinDHCPv6interface
congurationmode.Bindthepolicy.
CongurationCommands
CongurationonZXR10:
ZXR10(config)#interfacegei-0/1
ZXR10(config-if-gei-0/1)#ipv6enable
ZXR10(config-if-gei-0/1)#ipv6address86::1:1/96
ZXR10(config-if-gei-0/1)#noshutdown
ZXR10(config-if-gei-0/1)#exit
/*ConfigureanIPv6addresspool*/
ZXR10(config)#ipv6addr-poolzte
ZXR10(config-ipv6-addr-pool)#addr-range86::1:286::1:10
ZXR10(config-ipv6-addr-pool)#exit
/*EnableDHCPv6*/
ZXR10(config)#dhcpipv6
ZXR10(config-dhcpv6)#enable
/*BindtheIPv6addresspooltotheDHCPv6pool*/
ZXR10(config-dhcpv6)#poolzte
24-11
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential