The data model files matching DHCP server are huawei-dhcp.yang and huawei-address-management.yang.
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/huawei-dhcp:dhcp-config/dhcpv4-config/enable |
Indicates whether DHCP is enabled. |
The value is of the Boolean type:
|
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/enable |
Indicates whether the DHCP server function is enabled. |
The value is of the Boolean type:
|
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/user-defined-options/user-defined-option/option-code |
Indicates the value of a user-defined option. |
The value is an integer in the range from 1 to 254, except the values 1, 3, 6, 15, 44, 46, 50, 51, 52, 53, 54, 55, 57, 58, 59, 61, 82, 120, 121, and 184. |
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/user-defined-options/user-defined-option |
Indicates the type of a user-defined option:
|
|
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/logging/type |
Enables the logging function during IP address allocation of the DHCP server. |
The value is an enumerated type. The value is renew-success, indicating that a log is generated when an address lease is successfully renewed. |
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/ip-range/ip-subnet |
Indicates the range of the IP addresses allocated by the DHCP server to DHCP clients. The object includes:
|
|
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/mask/mask/ip-prefix/ip-prefix |
Specifies the subnet mask of the IP address allocated to a DHCP client. |
The value is in dotted decimal notation. |
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/mask/mask/length/length |
Specifies the subnet mask of the IP address allocated to a DHCP client. |
The value is an integer in the range from 0 to 32. |
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/conflict-recycle |
Enables automatic reclaim of conflicting IP addresses and sets the interval for automatic reclaim. The object includes:
|
|
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/gateway |
Configures the default gateway address allocated by the DHCP server to DHCP clients. |
The value is in dotted decimal notation. |
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/sip-server |
Configures the SIP server IP address allocated by the DHCP server to DHCP clients. |
The value is in dotted decimal notation. |
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/boot-file |
Configures the name of the configuration file allocated by the DHCP server to DHCP clients. |
The value is a string of 1 to 127 case-sensitive characters without spaces. |
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/next-server |
Specifies the network server IP address that is allocated by the DHCP server to DHCP clients and to be used during startup. |
The value is in dotted decimal notation. |
NA |
huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/pool-type/interface-pool/interface-pool/option121 |
Configures the Option 121 (classless static route) that the DHCP server allocates to DHCP clients. |
The value is in dotted decimal notation. |
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/global-configuration/ping |
Configures the maximum number of ping packets sent by the DHCP server and the maximum response time of a ping packet. The object includes:
|
|
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/global-configuration/database |
Indicates whether the function of saving the current DHCP data to a storage device is enabled. The object includes:
|
|
NA |
/huawei-dhcp:dhcp-config/dhcpv4-config/dhcp-server-configuration/dhcp-servers/dhcp-server/enable |
Indicates whether an interface is configured to use the global address pool. |
The value is of the Boolean type:
|
NA |
Object |
Description |
Value Range |
Remarks |
---|---|---|---|
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/name |
Indicates the name of a global address pool. |
The value is a string of 1 to 64 characters without spaces. It can contain digits, letters, and special characters such as underscores (_), hyphens (-), and periods (.). It cannot be set to - or --. |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/network |
Indicates the available network segment addresses in a global address pool. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/lease |
Configures the lease time of IP addresses in a global address pool. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/excluded-address/ip-subnet |
Indicates the IP addresses that cannot be allocated to DHCP clients from a global address pool. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/static-binding/address-binding |
Configures statically bound IP addresses in a global address pool. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/gateway |
Configures the gateway address allocated to DHCP clients. |
The value is in dotted decimal notation. |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/dns/dns-server/ip-address |
Configures the DNS server IP address allocated to DHCP clients. |
The value is in dotted decimal notation. |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/user-defined-options |
Configures user-defined options. |
- |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/section |
Configures an IP address segment in a global address pool. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/conflict-recycle |
Enables automatic reclaim of conflicting IP addresses in a global address pool and sets the automatic reclaim interval. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/logging/log-type |
Enables the logging function during IP address allocation of the DHCP server. |
The value is an enumerated type:
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/boot-file |
Configures the name of the startup configuration file for DHCP clients. |
The value is a string of 1 to 127 case-sensitive characters without spaces. |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/sip-server |
Configures the SIP server IP address or domain name allocated to DHCP clients. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/sname |
Configures the name of the server from which DHCP clients obtain the startup configuration file. |
The value is a string of 1 to 63 case-sensitive characters without spaces. |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/next-server |
Configures a server IP address for a DHCP client after the client automatically obtains an IP address. |
The value is in dotted decimal notation. |
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/option121 |
Configures a classless static route for DHCP clients. The object includes:
|
|
NA |
/huawei-address-management:address-management/ipv4/ip-pools/ip-pool/option184 |
Configures the Option 184. The object includes:
|
|
NA |
/huawei-address-management:address-management-v4-statistics-table/ip-pool-statistics |
Displays statistics about IPv4 address pools. The object includes:
|
- |
NA |
/huawei-address-management:address-management-v4-bindings-table/dynamic-bindings |
Displays information about allocated addresses in an IPv4 address pool. The object includes:
|
- |
NA |