Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 197

182
1::1:0:0:0/96 is 172800 seconds (two days), the valid time is 345600 seconds (four days), the domain
name suffix is aabbcc.com, and the DNS server address is 1::1:0:0:2/96. The lease duration of the
addresses on subnet 1::2:0:0:0/96 is 432000 seconds (five days), the valid time is 864000 seconds
(ten days), the domain name is aabbcc.com, and the DNS server address is 1::2:0:0:2/96.
Figure 71 Network diagram
Configuration procedure
1.
Configure the interfaces on the DHCPv6 server:
# Specify an IPv6 address for VLAN-interface 10.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ipv6 address 1::1:0:0:1/96
# Disable RA message suppression on VLAN-interface 10.
[SwitchA-Vlan-interface10] undo ipv6 nd ra halt
# Set the M flag to 1 in RA advertisements to be sent on VLAN-interface 10. Hosts that receive the
RA advertisements will obtain IPv6 addresses through DHCPv6.
[SwitchA-Vlan-interface10] ipv6 nd autoconfig managed-address-flag
# Set the O flag to 1 in RA advertisements to be sent on VLAN-interface 10. Hosts that receive the
RA advertisements will obtain information other than IPv6 address through DHCPv6.
[SwitchA-Vlan-interface10] ipv6 nd autoconfig other-flag
[SwitchA-Vlan-interface10] quit
# Specify an IPv6 address for VLAN-interface 20.
[SwitchA] interface vlan-interface 20
[SwitchA-Vlan-interface20] ipv6 address 1::2:0:0:1/96
# Disable RA message suppression on VLAN-interface 20.
[SwitchA-Vlan-interface20] undo ipv6 nd ra halt
# Set the M flag to 1 in RA advertisements to be sent on VLAN-interface 20. Hosts that receive the
RA advertisements will obtain IPv6 addresses through DHCPv6.
[SwitchA-Vlan-interface20] ipv6 nd autoconfig managed-address-flag
# Set the O flag to 1 in RA advertisements to be sent on VLAN-interface 20. Hosts that receive the
RA advertisements will obtain information other than IPv6 address through DHCPv6.
[SwitchA-Vlan-interface20] ipv6 nd autoconfig other-flag
[SwitchA-Vlan-interface20] quit
2.
Enable DHCPv6: