beautypg.com

Displaying and maintaining the dhcpv6 server – H3C Technologies H3C S5560 Series Switches User Manual

Page 193

background image

178

Step Command

Remarks

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 ] *

By default, desired
address/prefix assignment and

rapid assignment are disabled,

and the default preference is 0.

Setting the DSCP value for DHCPv6 packets sent by
the DHCPv6 server

The DSCP value of a packet specifies the priority level of the packet and affects the transmission priority

of the packet.
To set the DSCP value for DHCPv6 packets sent by the DHCPv6 server:

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Set the DSCP value for

DHCPv6 packets sent by the
DHCPv6 server.

ipv6 dhcp dscp dscp-value

By default, the DSCP value in DHCPv6
packets sent by the DHCPv6 server is 56.

Displaying and maintaining the DHCPv6 server

Execute display commands in any view and reset commands in user view.

Task Command

Display the DUID of the local device.

display ipv6 dhcp duid

Display DHCPv6 address pool information. display ipv6 dhcp pool [ pool-name ]

Display prefix pool information.

display ipv6 dhcp prefix-pool [ prefix-pool-number ]

Display DHCPv6 server information on an
interface.

display ipv6 dhcp server [ interface interface-type
interface-number
]

Display information about IPv6 address
conflicts.

display ipv6 dhcp server conflict [ address ipv6-address ]

Display information about expired IPv6
addresses.

display ipv6 dhcp server expired [ address ipv6-address | pool
pool-name ]

Display information about IPv6 address
bindings.

display ipv6 dhcp server ip-in-use [ address ipv6-address | pool
pool-name ]

This manual is related to the following products: