Configuring The Dhcpv6 Server On An Interface - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Step
4.
Return to system view.
5.
Create a DHCPv6 policy and
enter DHCPv6 policy view.
6.
Specify a DHCPv6 address
pool for a DHCPv6 user class.
7.
Specify the default DHCPv6
address pool.
8.
Return to system view.
9.
Enter interface view.
10. Apply the DHCPv6 policy to the
interface.

Configuring the DHCPv6 server on an interface

About 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.
Restrictions and guidelines
When you configure the DHCPv6 server on an interface, follow these restrictions and guidelines:
An interface cannot act 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.
Procedure
To configure the DHCPv6 server on an interface:
Step
1.
Enter system view.
2.
Enter interface view.
Command
quit
ipv6 dhcp policy policy-name
class class-name pool pool-name
default pool pool-name
quit
interface interface-type
interface-number
ipv6 dhcp apply-policy
policy-name
Command
system-view
interface interface-type
interface-number
184
Remarks
N/A
By default, no DHCPv6
policies exist.
By default, no address pool is
specified for a user class.
By default, no default address
pool is specified.
N/A
N/A
By default, no DHCPv6 policy
is applied to an interface.
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents