< Home

display dhcpv6 relay configuration

Function

The display dhcpv6 relay configuration command displays configuration information about a DHCPv6 relay agent.

Format

display dhcpv6 relay configuration [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays configuration information about the DHCPv6 relay agent with the specified interface type and number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command on a DHCPv6 relay agent to check configuration information about a DHCPv6 relay agent including the source interface information and whether the Option79 field is inserted into DHCP messages.

Example

# Display configuration information about a DHCPv6 relay agent.
<HUAWEI> display dhcpv6 relay configuration
DHCPv6 relay running information: global                                                                                            
Source interface:       -                                                                                                           
Option79 insert:        enable                                                                                                      
DHCPv6 relay running information: Vlanif10                                                                                          
Source interface:       -                                                                                                           
Option79 insert:        enable
Table 1 Description of the display dhcpv6 relay configuration command output

Item

Description

DHCPv6 relay running information

Configuration information about a DHCPv6 relay agent, including configuration information in the global view and interface view.

Source interface

Specifies the interface IPv6 address as the source IPv6 address for sending messages.

To configure this item, run the dhcpv6 relay source-interface command.

Option79 insert

Whether to insert the Option79 field into DHCPv6 messages. The value can be:
  • enable: The Option79 field is inserted into DHCPv6 messages.
  • disable: The Option79 field is not inserted into DHCPv6 messages.

To configure this item, run the dhcpv6 relay option79 insert enable command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >