Verification – H3C Technologies H3C SecPath F1000-E User Manual

Page 90

Advertising
background image

7

[Device-Vlan-interface2] ipv6 address 1::1/64

[Device-Vlan-interface2] quit

# Create and configure prefix pool 1.

[Device] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 48

# Create address pool 1.

[Device] ipv6 dhcp pool 1

# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day, the valid lifetime to
three days.

[Device-ipv6-dhcp-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200

# Configure static prefix 2001:0410:0201::/48 in address pool 1, and set the preferred lifetime to one
day, the valid lifetime to three days.

[Device-ipv6-dhcp-pool-1] static-bind prefix 2001:0410:0201::/48 duid

00030001CA0006A40000 iaid A1A1A1A1 preferred-lifetime 86400 valid-lifetime 259200

# Configure the DNS server address as 2:2::3.

[Device-ipv6-dhcp-pool-1] dns-server 2:2::3

# Configure the domain name as aaa.com.

[Device-ipv6-dhcp-pool-1] domain-name aaa.com

# Configure the SIP server address as 2:2::4, and the domain name of the SIP server as bbb.com.

[Device-ipv6-dhcp-pool-1] sip-server address 2:2::4

[Device-ipv6-dhcp-pool-1] sip-server domain-name bbb.com

[Device-ipv6-dhcp-pool-1] quit

# Apply address pool 1 to VLAN-interface 2, configure the address pool to support the desired prefix
assignment and rapid prefix assignment, and set the precedence to the highest.

[Device] interface vlan-interface 2

[Device-Vlan-interface2] ipv6 dhcp server apply pool 1 allow-hint preference 255

rapid-commit

Verification

# After the preceding configuration is complete, display the DHCPv6 server configuration information
on VLAN-interface 2.

[Device-Vlan-interface2] display ipv6 dhcp server interface vlan-interface 2

Using pool: 1

Preference value: 255

Allow-hint: Enabled

Rapid-commit: Enabled

# Display the information of address pool 1.

[Device-Vlan-interface2] display ipv6 dhcp pool 1

DHCPv6 pool: 1

Static bindings:

DUID: 00030001CA0006A40000

IAID: A1A1A1A1

Prefix: 2001:410:201::/48

preferred lifetime 86400, valid lifetime 2592000

Prefix pool: 1

preferred lifetime 86400, valid lifetime 2592000

DNS server address:

Advertising
This manual is related to the following products: