Chapter24DHCPv6Conguration
/*BindtheIPv6addresspooltotheDHCPv6pool*/
R2(config-dhcpv6)#poolzte1
R2(config-dhcpv6-pool)#address-poolzte1
R2(config-dhcpv6-pool)#exit
/*BindtheDHCPv6pooltotheDHCPv6policy*/
R2(config-dhcpv6)#policyzte11
R2(config-dhcpv6-policy)#dhcpv6-poolzte1
R2(config-dhcpv6-policy)#link-address86::1:1
R2(config-dhcpv6-policy)#exit
/*ConfigureDHCPmodeoftheinterface*/
R2(config-dhcpv6)#interfacegei-0/2
R2(config-dhcpv6-if-gei-0/2)#modeserver
R2(config-dhcpv6-if-gei-0/2)#serverpolicyzte1
R2(config-dhcpv6-if-gei-0/2)#exit
/*Configureastaticroute*/
R2(config)#ipv6route86::/9687::1:1
CongurationVerication
ChecktheDHCPv6congurationonR1,asshownbelow.
R1#showrunning-configdhcpv6
!<DHCPV6>
dhcpipv6
relaypolicy1
defaultserver-group1
$
relayservergroup1
server187::1:2
$
interfacegei-0/1
moderelay
relayagent86::1:1
relaypolicy1
$
enable
!</DHCPV6>
CheckthecongurationoftheIPv6addresspoolonR2,asshownbelow.
R2#showipv6addr-poolconfigurezte1
PoolNameLockBeginEndVrfUsedFree
zte1no86::1:1086::1:50065
RangeTotal:1
24-15
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential