IPI-DHCP-SERVER 
Configure enable ipv4 server 
Interface on which IPv4 DHCP Server has to be run 
Attribute Name: enable-ipv4-server 
Attribute Type: empty
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<interfaces> 
	<interface> 
		<name>WORD</name> 
		<config> 
			<name>WORD</name> 
		</config> 
			</enable-ipv4-server><!-- operation="delete"--> 
	</interface> 
	</interfaces> 
	</server> 
	</dhcp>
Command Syntax 
ip dhcp server
Configure enable ipv6 server 
Interface on which IPv6 DHCP Server has to be run 
Attribute Name: enable-ipv6-server 
Attribute Type: empty
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<interfaces> 
	<interface> 
		<name>WORD</name> 
		<config> 
			<name>WORD</name> 
		</config> 
			</enable-ipv6-server><!-- operation="delete"--> 
	</interface> 
	</interfaces> 
	</server> 
	</dhcp>
Command Syntax 
ipv6 dhcp server
Configure pool6 name 
IPv6 DHCP Server address pool name 
Attribute Name: pool6-name 
Attribute Type: string 
Attribute Range: 1-63
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> <!-- operation="delete"--> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
			</config> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ipv6 dhcp server pool NAME
Configure pool name 
IPv4 DHCP Server address pool name 
Attribute Name: pool-name 
Attribute Type: string 
Attribute Range: 1-63
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> <!-- operation="delete"--> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ip dhcp server pool NAME
Configure max lease time 
Maximum length in seconds that will be assigned to a lease.If not defined, the default maximum lease time is 86400. 
Attribute Name: max-lease-time 
Attribute Type: uint32 
Default Value: 86400
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
			<max-lease-time>SECONDS</max-lease-time> <!-- operation="delete"--> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ip dhcp server max-lease-time SECONDS
Configure default lease time 
Length in seconds that will be assigned to a lease if the client requesting the lease does not ask for a specific expiration time. The default is 43200 
Attribute Name: default-lease-time 
Attribute Type: uint32 
Default Value: 43200
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
			<default-lease-time>SECONDS</default-lease-time> <!-- operation="delete"--> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ip dhcp server default-lease-time SECONDS
Configure rapid commit 
Option enables the DHCP Client to obtain configuration parameters from the server through a rapid two message exchange (solicit and reply). 
Attribute Name: rapid-commit 
Attribute Type: empty
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
			</rapid-commit><!-- operation="delete"--> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ipv6 dhcp server rapid-commit
Configure preference 
Use this to configure preference option in dhcp server. 
Attribute Name: preference 
Attribute Type: empty
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
			</preference><!-- operation="delete"--> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ipv6 dhcp server preference
Configure vrf name 
Option enables the DHCP Client to obtain configuration parameters from the server through a rapid two message exchange (solicit and reply). 
Attribute Name: rapid-commit 
Attribute Type: empty
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
			</rapid-commit><!-- operation="delete"--> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ipv6 dhcp server rapid-commit
Configure host name 
IPv4 DHCP Server option to provide hostname details to a DHCP client 
Attribute Name: host-name 
Attribute Type: string 
Attribute Range: 1-63
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<host-name>NAME</host-name> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
host-name NAME
Configure routers 
IPv4 DHCP Server option to provide routers details to a DHCP client 
Attribute Name: routers 
Attribute Type: inet:ipv4-address
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<routers>A.B.C.D</routers> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
routers A.B.C.D
Configure ntp server 
IPv4 DHCP Server option to provide ntp-server details to a DHCP client 
Attribute Name: ntp-server 
Attribute Type: inet:ipv4-address
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<ntp-server>A.B.C.D</ntp-server> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
ntp-server A.B.C.D
Configure boot file 
IPv4 DHCP Server option to provide boot-file details to a DHCP client 
Attribute Name: boot-file 
Attribute Type: string 
Attribute Range: 1-63
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<boot-file>BOOTFILE</boot-file> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
boot-file BOOTFILE
Configure tftp server 
IPv4 DHCP Server option to provide tftp-server details to a DHCP client 
Attribute Name: tftp-server 
Attribute Type: inet:ipv4-address
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<tftp-server>A.B.C.D</tftp-server> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
tftp-server A.B.C.D
Configure log server 
IPv4 DHCP Server option to provide log-server details to a DHCP client 
Attribute Name: log-server 
Attribute Type: inet:ipv4-address
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<log-server>A.B.C.D</log-server> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
log-server A.B.C.D
Configure dns server 
IPv4 DHCP Server option to provide dns name-server details to a DHCP client 
Attribute Name: dns-server 
Attribute Type: inet:ipv4-address
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
			</config> 
				<dns-server>A.B.C.D</dns-server> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
dns-server A.B.C.D
Configure netmask 
Mask part of the subnet that will be used to assign IPv4 addresses to hosts 
Attribute Name: netmask 
Attribute Type: inet:ipv4-address
Attribute Name: network 
Attribute Type: inet:ipv4-address 
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
				<network>A.B.C.D</network> <!-- operation="delete"--> 
			</config> 
				<netmask>A.B.C.D</netmask> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
network A.B.C.D netmask A.B.C.D
Configure high address in range 
Specifies the high range of the IPv4 addresses that the DHCP server should assign to DHCP clients. 
Attribute Name: high-address-in-range 
Attribute Type: inet:ipv4-address
Attribute Name: low-address-in-range 
Attribute Type: inet:ipv4-address 
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp-pools> 
		<dhcp-pool> 
			<pool-name>NAME</pool-name> 
			<config> 
				<pool-name>WORD</pool-name> 
				<low-address-in-range>A.B.C.D</low-address-in-range> <!-- operation="delete"--> 
			</config> 
				<high-address-in-range>A.B.C.D</high-address-in-range> <!-- operation="delete"--> 
		</dhcp-pool> 
	</dhcp-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
address range low-address A.B.C.D (high-address A.B.C.D|)
Configure domain name 
IPv6 DHCP Server option to provide domain-name details to a DHCP client 
This command is supported when following feature are enabled IPV6 feature 
Attribute Name: domain-name 
Attribute Type: string 
Attribute Range: 1-63
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
			</config> 
				<domain-name>NAME</domain-name> <!-- operation="delete"--> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
domain-name NAME
Configure vendor options 
IPv6 DHCP Server option to provide vendor details to a DHCP client 
This command is supported when following feature are enabled IPV6 feature 
Attribute Name: vendor-options 
Attribute Type: string
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
			</config> 
				<vendor-options>VENDOR-OPTS</vendor-options> <!-- operation="delete"--> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
vendor-options VENDOR-OPTS
Configure ipv6 netmask 
Mask part of the subnet that will be used to assign IPv6 addresses to hosts 
This command is supported when following feature are enabled IPV6 feature 
Attribute Name: ipv6-netmask 
Attribute Type: uint8 
Attribute Range: 1-128
Attribute Name: ipv6-network 
Attribute Type: inet:ipv6-address 
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
				<ipv6-network>X:X::X:X</ipv6-network> <!-- operation="delete"--> 
			</config> 
				<ipv6-netmask>1</ipv6-netmask> <!-- operation="delete"--> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
network X:X::X:X netmask <1-128>
Configure low address in range 
Specifies the high range of the IPv6 addresses that the DHCP server should assign to DHCP clients. 
This command is supported when following feature are enabled IPV6 feature 
Attribute Name: high-address-in-range 
Attribute Type: inet:ipv6-address
Attribute Name: low-address-in-range 
Attribute Type: inet:ipv6-address 
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
				<low-address-in-range>X:X::X:X</low-address-in-range> <!-- operation="delete"--> 
			</config> 
				<high-address-in-range>X:X::X:X</high-address-in-range> <!-- operation="delete"--> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
address range low-address X:X::X:X (high-address X:X::X:X|)
Configure temporary address 
Specifies the temporary IPv6 address that the DHCP server should assign to DHCP clients. 
This command is supported when following feature are enabled IPV6 feature 
Attribute Name: temporary-address 
Attribute Type: inet:ipv6-address
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
			</config> 
				<temporary-address>X:X::X:X</temporary-address> <!-- operation="delete"--> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
temporary address X:X::X:X
Configure ipv6 prefix netmask 
Mask part of the ipv6 Prefix used for Prefix delegation 
This command is supported when following feature are enabled IPV6 feature 
Attribute Name: ipv6-prefix-netmask 
Attribute Type: uint8 
Attribute Range: 1-128
Attribute Name: ipv6-prefix-high-address 
Attribute Type: inet:ipv6-address 
Attribute Name: ipv6-prefix-low-address 
Attribute Type: inet:ipv6-address 
Netconf edit-config payload 
	<dhcp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-dhcp"> 
	<server> 
	<vrfs> 
	<vrf> 
		<vrf-name>WORD</vrf-name> 
		<config> 
			<vrf-name>WORD</vrf-name> 
		</config> 
		<dhcp6-pools> 
		<dhcp6-pool> 
			<pool6-name>NAME</pool6-name> 
			<config> 
				<pool6-name>WORD</pool6-name> 
				<ipv6-prefix-high-address>X:X::X:X</ipv6-prefix-high-address> <!-- operation="delete"--> 
				<ipv6-prefix-low-address>X:X::X:X</ipv6-prefix-low-address> <!-- operation="delete"--> 
			</config> 
				<ipv6-prefix-netmask>1</ipv6-prefix-netmask> <!-- operation="delete"--> 
		</dhcp6-pool> 
	</dhcp6-pools> 
	</vrf> 
	</vrfs> 
	</server> 
	</dhcp>
Command Syntax 
prefix high-range X:X::X:X low-range X:X::X:X netmask <1-128>