HPE FlexNetwork 10500 Series Configuration Manual page 217

Layer 3-ip services
Table of Contents

Advertisement

# 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:
# Enable DHCPv6 server on VLAN-interface 10 and VLAN-interface 20.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ipv6 dhcp select server
[SwitchA-Vlan-interface10] quit
[SwitchA] interface vlan-interface 20
[SwitchA-Vlan-interface20] ipv6 dhcp select server
[SwitchA-Vlan-interface20] quit
# Exclude the DNS server addresses from dynamic assignment.
[SwitchA] ipv6 dhcp server forbidden-address 1::1:0:0:2
[SwitchA] ipv6 dhcp server forbidden-address 1::2:0:0:2
# Configure the DHCPv6 address pool 1 to assign IPv6 addresses and other configuration
parameters to clients on subnet 1::1:0:0:0/96.
[SwitchA] ipv6 dhcp pool 1
[SwitchA-dhcp6-pool-1] network 1::1:0:0:0/96 preferred-lifetime 172800
valid-lifetime 345600
[SwitchA-dhcp6-pool-1] domain-name aabbcc.com
[SwitchA-dhcp6-pool-1] dns-server 1::1:0:0:2
[SwitchA-dhcp6-pool-1] quit
# Configure the DHCPv6 address pool 2 to assign IPv6 addresses and other configuration
parameters to clients on subnet 1::2:0:0:0/96.
[SwitchA] ipv6 dhcp pool 2
[SwitchA-dhcp6-pool-2] network 1::2:0:0:0/96 preferred-lifetime 432000
valid-lifetime 864000
[SwitchA-dhcp6-pool-2] domain-name aabbcc.com
[SwitchA-dhcp6-pool-2] dns-server 1::2:0:0:2
[SwitchA-dhcp6-pool-2] quit
Verifying the configuration
# Verify that the clients on subnets 1::1:0:0:0/96 and 1::2:0:0:0/96 can obtain IPv6 addresses and all
other configuration parameters from the DHCPv6 server (Switch A). (Details not shown.)
# On the DHCPv6 server, display IPv6 addresses assigned to the DHCPv6 clients.
[SwitchA] display ipv6 dhcp server ip-in-use
206

Advertisement

Table of Contents
loading

Table of Contents