ZXR10 5900E Series Configuration Guide (IPv6)
S1(config)#interface vlan20
S1(config-if)#ipv6 enable
S1(config-if)#ipv6 add 87::1:1/96
S1(config-if)#exit
/*Enable DHCPv6 function*/
S1(config)#dhcp ipv6
S1(config-dhcpv6)#enable
/*Specify a server*/
S1(config-dhcpv6)#relay server group 1
S1(config-dhcpr-server-group)#server 1 87::1:2
S1(config-dhcpr-server-group)#exit
/*Configure a relay policy*/
S1(config-dhcpv6)#relay policy 1
S1(config-dhcpv6r-policy-group)#default server-group 1
S1(config-dhcpv6r-policy-group)#exit
/*Configure interface DHCP mode and other attributes*/
S1(config-dhcpv6)#interface vlan10
S1(config-dhcpv6-if)#mode relay
S1(config-dhcpv6-if)#relay agent 86::1:1
S1(config-dhcpv6-if)#relay policy 1
S1(config-dhcpv6-if)#exit
S1(config-dhcpv6)#exit
Configuration on S2:
/*Configure an interface*/
S2(config-swvlan)#interface gei-0/1/1/2
S2(config-swvlan-if-gei-0/1/1/2)#switchport access vlan 20
S2(config-swvlan-if-gei-0/1/1/2)#exit
S2(config-swvlan)#exit
S2(config)#interface vlan20
S2(config-if)#ipv6 enable
S2(config-if)#ipv6 address 87::1:2/96
S2(config-if)#exit
/*Configure an IPv6 address pool*/
S2(config)#ipv6 addr-pool zte1
S2(config-ipv6-addr-pool)#addr-range 86::1:10 86::1:50
S2(config-ipv6-addr-pool)#exit
/*Enable DHCPv6*/
S2(config)#dhcp ipv6
20-14
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential