display ipv6 dhcp option-group
Use display ipv6 dhcp option-group to display information about a DHCPv6 option group.
Syntax
display ipv6 dhcp option-group [ option-group-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
option-group-number: Specifies a static or dynamic DHCPv6 option group by its ID. The value range for the option group ID is 1 to 100. If you do not specify an option group, this command displays information about all DHCPv6 option groups.
Usage guidelines
A static DHCPv6 option group is created by using the ipv6 dhcp option-group command.
A dynamic DHCPv6 option group is created automatically by a DHCPv6 client after it obtains the DHCPv6 configuration parameters. Dynamic option groups cannot be manually modified or deleted.
Examples
# Display information about all DHCPv6 option groups.
<Sysname> display ipv6 dhcp option-group DHCPv6 option group: 1 DNS server addresses: Type: Static Interface: N/A 1::1 DNS server addresses: Type: Dynamic (DHCPv6 address allocation) Interface: Vlan-interface10 1::1 Domain name: Type: Static Interface: N/A aaa.com Domain name: Type: Dynamic (DHCPv6 address allocation) Interface: Vlan-interface10 aaa.com Options: Code: 23 Type: Dynamic (DHCPv6 prefix allocation) Interface: Vlan-interface10 Length: 2 bytes Hex: ABCD DHCPv6 option group: 20 DNS server addresses: Type: Static Interface: N/A 1::1 DNS server addresses: Type: Dynamic (DHCPv6 address allocation) Interface: Vlan-interface10 1::1 Domain name: Type: Static Interface: N/A aaa.com Domain name: Type: Dynamic (DHCPv6 address allocation) Interface: Vlan-interface10 aaa.com Options: Code: 23 Type: Dynamic (DHCPv6 prefix allocation) Interface: Vlan-interface10 Length: 2 bytes Hex: ABCD
Table 58: Command output
Field | Description |
---|---|
DHCPv6 option group | ID of the DHCPv6 option group. |
Type | Types of the DHCPv6 option:
|
Interface | Interface name. |
DNS server addresses | IPv6 address of the DNS server. |
Domain name | Domain name suffix. |
SIP server addresses | IPv6 address of the SIP server. |
SIP server domain names | Domain name of the SIP server. |
Options | Self-defined options. |
Code | Code of the self-defined option. |
Length | Self-defined option length in bytes. |
Hex | Self-defined option content represented by a hexadecimal number. |
Related commands
ipv6 dhcp option-group