dhcp
ClearDhcpLeaseStruct


This structure encapsulates all the parameters required for clearing Local DHCP Server Leases. The siteId and dhcpSvrName are required. If serviceId is not specified, it will be Base routing instance as default If ipAddress and prefix are specified, lease on the given ipAddress will be cleared, otherwise all leases will be cleared;


public struct ClearDhcpLeaseStruct

Properties
siteId Specifies the NE of the Local DHCP Server. This parameter is mandatory.

type=string

serviceId Specifies the service ID of the Local DHCP server. If not specified, default is Base Routing Instance; otherwise non-zero value represents a VPRN service ID.

type=long

dhcpSvrName Specified name of Local DHCP Server. This is mandatory parameter.

type=string

ipAddress Specifies the IP address. This parameter is optional.

type=InetAddress

prefix Specifies IP address prefix. This parameter is optional.

type=long

state Specifies Local DHCP Server Lease state. This parameter is optional. Value can be either integer or string as follows:
  • 0 : offered
  • 1 : stable
  • 2 : forceRenewPending
  • 3 : removePending
  • 4 : held
  • 5 : internal
  • 6 : internalOrphan
  • 8 : internalHeld
  • 9 : sticky
In 14.0 R1, state is not supported.

type=string