New-VpcDhcpStaticBinding Command | Vmware PowerCLI Reference

New-VpcDhcpStaticBinding

This cmdlet creates the DHCP static binding for Virtual Private Cloud Subnet.

Syntax

New-VpcDhcpStaticBinding
-Name < String >
-Subnet < Subnet >
[-Description < String > ]
[-DhcpClasslessStaticRoute < DhcpClasslessStaticRoute[] > ]
[-DhcpGenericOption < DhcpGenericOption[] > ]
[-Gateway < String > ]
[-HostName < String > ]
[-IpAddress < String > ]
[-LeaseTime < Int64 > ]
[-MacAddress < String > ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Name String named
Specifies the binding name for the DHCP static binding to be created.
required
Subnet Subnet named
  • pipeline
Specifies the name of the VPC Subnet for which you want to create the DHCP static binding.
optional Description String named
Specifies the description of the DHCP static binding to be created.
optional DhcpClasslessStaticRoute DhcpClasslessStaticRoute[] named
Specifies the DHCP classless static route for the DHCP static binding to be created.
optional DhcpGenericOption DhcpGenericOption[] named
Specifies the DHCP generic option for the DHCP static binding to be created.
optional Gateway String named
Specifies the gateway address for the DHCP static binding to be created.
optional HostName String named
Specifies the hostname for which you want to create the DHCP static binding.
optional IpAddress String named
Specifies the IP address for the DHCP static binding to be created.
optional LeaseTime Int64 named
Specifies the lease time in seconds for the DHCP static binding to be created. The default value is 86400 seconds.
optional MacAddress String named
Specifies the MAC address for the DHCP static binding to be created.
optional ProgressAction ActionPreference named

Output

VMware.VimAutomation.Vpc.Types.V1.DhcpStaticBinding

Examples

Example 1

New-VpcDhcpStaticBinding -Subnet subnet -Name bindingName -MacAddress mac_address -IpAddress ipaddress

Create a VPC DHCP static binding for a subnet with name "bindingName" in which the MAC address "mac_address" is bound to the IP address "ipaddress".

Related Commands

Vpc

This cmdlet retrieves Virtual Private Clouds.

This cmdlet creates Virtual Private Clouds.

This cmdlet removes Virtual Private Clouds.

This cmdlet modifies the configuration of the Virtual Private Clouds.

VpcConnectivityProfile

This cmdlet retrieves Virtual Private Cloud Connectivity Profiles.

VpcDhcpClasslessStaticRoute

This cmdlet creates Dynamic Host Configuration Protocol classless static route option.

VpcDhcpGenericOption

This cmdlet creates Dynamic Host Configuration Protocol generic option.

VpcDhcpStaticBinding

This cmdlet retrieves the DHCP static bindings for Virtual Private Cloud Subnet.

This cmdlet creates the DHCP static binding for Virtual Private Cloud Subnet.

This cmdlet removes the DHCP static bindings for VPC Subnet.

This cmdlet modifies the DHCP static binding configurations for the Virtual Private Cloud Subnet.

VpcIpBlock

This cmdlet retrieves Virtual Private Clouds Ip Address Block.

VpcProject

This cmdlet retrieves Virtual Private Clouds Projects.

VpcServiceProfile

This cmdlet retrieves Virtual Private Cloud Service Profiles.

VpcStatistics

This cmdlet retrieves Virtual Private Clouds statistics.

VpcSubnet

This cmdlet retrieves Virtual Private Cloud Subnet.

This cmdlet creates Virtual Private Cloud (VPC) subnet.

This cmdlet removes Virtual Private Clouds Subnet.

This cmdlet configures Virtual Private Cloud (VPC) subnet.

VpcSubnetDhcpServerStatistics

This cmdlet retrieves Virtual Private Clouds Subnet dhcp server statistics.

VpcSubnetDhcpServerStatus

This cmdlet retrieves Virtual Private Clouds Subnet dhcp server status.

VpcSubnetStatistics

This cmdlet retrieves Virtual Private Cloud Subnet statistics.

VpcSubnetStatus

This cmdlet retrieves Virtual Private Cloud Subnet status.