beautypg.com

Configuring the dhcpv6 server on an interface, Configuration guidelines, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual

Page 192: Required.)

background image

177

Step Command

Remarks

3.

Specify an IPv6 subnet for

dynamic assignment.

network prefix/prefix-length
[ preferred-lifetime preferred-lifetime
valid-lifetime valid-lifetime ]

By default, no IPv6 subnet is
specified.

4.

(Optional.) Specify a DNS
server address.

dns-server ipv6-address

By default, no DNS server
address is specified.

5.

(Optional.) Specify a domain
name suffix.

domain-name domain-name

By default, no domain name
suffix is specified.

6.

(Optional.) Specify a SIP
server address or domain

name.

sip-server { address ipv6-address |
domain-name domain-name }

By default, no SIP server
address or domain name is

specified.

7.

(Optional.) Configure a
self-defined DHCPv6 option.

option code hex hex-string

By default, no self-defined
DHCPv6 option is configured.

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 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.

Configuration guidelines

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.

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

This manual is related to the following products: