The data model file matching DHCP relay is huawei-dhcp.yang.
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/huawei-dhcp:dhcp-config/dhcpv4-config/enable |
Indicates whether to enable the DHCP function. |
The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-relay-configuration/dhcp-relays/dhcp-relay/enable |
Indicates whether to enable the DHCP relay function. |
The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-relay-configuration/dhcp-relays/dhcp-relay/server-ip |
Indicates the IP address of the DHCP server served by the DHCP relay agent. |
The value is in dotted decimal notation. |
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-relay-configuration/global-configuration/server-cycle-enable |
Indicates whether the DHCP server polling function is enabled on the DHCP relay agent. |
The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-relay-configuration/dhcp-relays/dhcp-relay/relay-information/enable | Indicates whether to enable the Option82 function on a DHCP relay agent. | The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-relay-configuration/dhcp-relays/dhcp-relay/anycast-gw-reroute-enable | Indicates whether the re-routing function for the DHCP relay agent on a distributed gateway is enabled. | The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-option82-configuration/option82-enable | Indicates whether the function of adding the Option82 field to DHCP messages is enabled. The option insertion mode on an interface or an interface in a VLAN and in a VLAN or a BD can be set to the Insert mode (insert-enable) or Rebuild mode (rebuild-enable). |
The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-option82-configuration/sub-option-enable | Indicates whether the function of adding a sub-option to the Option82 field is enabled. Sub-option 1 (circuit-id-enable), sub-option 2 (remote-id-enable), suboption 6 (subscriber-id-enable), and suboption 9 (vendor-specific-enable) can be added to the Option82 field globally, on an interface, or in a VLAN or BD. NOTE:
The four suboptions cannot be inserted simultaneously. |
The value is of the Boolean type:
|
N/A |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-option82-configuration/option82-format/vendor-specific-format/global/vendor-sub-option/option-format | Indicates the format of suboption 9 in the Option82 field. The value can be:
|
|
N/A |