Chapter 24 DHCPv6 Configuration
Figure 24-5 DHCPv6 Client Configuration Example
Configuration Flow
1.
Configure R2 as the DHCPv6 server.
2.
Enable the DHCPv6 Client function on R1.
Configuration Commands
Run the following commands on R2:
R2(config)#interface gei-1/2
R2(config-if-gei-1/2)#no shutdown
R2(config-if-gei-1/2)#ipv6 enable
R2(config-if-gei-1/2)#ipv6 address 11:11::1:1/112
R2(config-if-gei-1/2)#exit
R2(config)#ipv6 addr-pool zte
R2(config-ipv6-addr-pool)#addr-range 11:12::1:1 11:12::1:100
R2(config-ipv6-addr-pool)#exit
R2(config)#ipv6 prefix-pool zte1
R2(config-ipv6-prefix-pool)#prefix-delegation 11:11::12:0/112 112
R2(config-ipv6-prefix-pool)#exit
R2(config)#dhcp ipv6
R2(config-dhcpv6)#enable
R2(config-dhcpv6)#pool zte
R2(config-dhcpv6-pool)#address-pool zte
R2(config-dhcpv6-pool)#address-lifetime 60 60
R2(config-dhcpv6-pool)#prefix-lifetime 60 60
R2(config-dhcpv6-pool)#prefix-pool zte1
R2(config-dhcpv6-pool)#exit
R2(config-dhcpv6)#policy zte 1
R2(config-dhcpv6-policy)#dhcpv6-pool zte
R2(config-dhcpv6-policy)#exit
R2(config-dhcpv6)#interface gei-1/2
R2(config-dhcpv6-if-gei-1/2)#mode server
R2(config-dhcpv6-if-gei-1/2)#server policy zte
Run the following commands on R1:
R1(config)#interface gei-1/2
R1(config-if-gei-1/2)#no shutdown
R1(config-if-gei-1/2)#ipv6 enable
24-17
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 ZSR
Страница 12: ...This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 306: ...Figures This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 308: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...