Disadvantages of sending icmp error packets, Configuration procedure, Configuring the dhcpv6 server on an interface – H3C Technologies H3C S12500 Series Switches User Manual
Page 152: Configuration guidelines

139
135B
Configuring the DHCPv6 server on an interface
Enable the DHCP server and configure one of the following address/prefix assignment methods on an
interface:
•
Apply an address pool on the interface—The DHCPv6 server selects an IPv6 address/prefix from
the applied address pool for a requesting client. If there is no assignable IPv6 address/prefix in the
address pool, the DHCPv6 server cannot to assign an IPv6 address/prefix to a client.
•
Configure global address assignment on the interface—The DHCPv6 server selects an IPv6
address/prefix in the global DHCPv6 address pool that matches the server interface address or the
DHCPv6 relay agent address for a requesting client.
If you configure both methods on an interface, the DHCPv6 server uses the specified address pool for
address assignment without performing global address assignment.
292B
Configuration guidelines
•
An interface cannot serve as a DHCPv6 server and DHCPv6 relay agent at the same time.
•
Do not enable DHCPv6 server and DHCPv6 client on the same interface.
•
If you use the ipv6 dhcp server command multiple times, the most recent configuration takes effect.
•
You can apply an address pool that has not been created to an interface. The setting takes effect
after the address pool is created.
•
Only one address pool can be applied to an interface. If you use the ipv6 dhcp server apply pool
command multiple times, the most recent configuration takes effect.
293B
Configuration procedure
To configure the DHCPv6 server on an interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type interface-number
N/A
3.
Enable the DHCPv6
server on the interface.
ipv6 dhcp select server
By default, the interface discards
DHCPv6 packets from DHCPv6
clients.
4.
Configure an
address/prefix
assignment method.
•
Configure global address assignment:
ipv6 dhcp server { allow-hint |
preference preference-value |
rapid-commit } *
•
Apply a DHCPv6 address pool to the
interface:
ipv6 dhcp server apply pool
pool-name [ allow-hint | preference
preference-value | rapid-commit ] *
Use one of the commands.
By default, desired
address/prefix assignment and
rapid assignment are disabled,
and the default preference is 0.
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches