Configuring network parameters in a DHCPv6 option group
A DHCPv6 option group can be created by using the following methods:
Create a static DHCPv6 option group by using the ipv6 dhcp option-group command. The static DHCPv6 option group takes precedence over the dynamic DHCPv6 option group.
When the device acts as a DHCPv6 client, it automatically creates a dynamic DHCPv6 option group for saving the obtained parameters. For more information about creating a dynamic DHCPv6 option group, see "Configuring the DHCPv6 client."
To create a static DHCPv6 option group:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a static DHCPv6 option group and enter its view. | ipv6 dhcp option-group option-group-number | By default, no static DHCPv6 option groups exist. |
3. (Optional.) Specify a DNS server address. | dns-server ipv6-address | By default, no DNS server address is specified. |
4. (Optional.) Specify a domain name suffix. | domain-name domain-name | By default, no domain name suffix is specified. |
5. (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. |
6. (Optional.) Configure a self-defined DHCPv6 option. | option code hex hex-string | By default, no self-defined DHCPv6 option is configured. |
7. Return to system view. | quit | N/A |
8. Create a DHCPv6 address pool and enter its view. | ipv6 dhcp pool pool-name | By default, no DHCPv6 address pools exist. |
9. Specify a DHCPv6 option group. | option-group option-group-number | By default, no DHCPv6 option group is specified. |