Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: esxcli network ip interface add

$
0
0

Doesn't work for me

Throws out this error

 

Message: EsxCLI.CLIFault.summary;

InnerText: Invalid data constraint for parameter 'interface-name'. Value does not match the expected value.  Please see --help message for more informationEsxCLI.CLIFault.summary

At line:1 char:1

+ $esxcli.network.ip.interface.add.Invoke($arguments)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo          : OperationStopped: (:) [], MethodFault

+ FullyQualifiedErrorId : VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.MethodFault

 

if i replace $np.ConnectedEntity in argument $arguments.interfacename with vmk2 it throws another error

 

Message: EsxCLI.CLIFault.summary;

InnerText: Invalid vswitch port group or DVPort parameters.EsxCLI.CLIFault.summary

At line:1 char:1

+ $esxcli.network.ip.interface.add.Invoke($arguments)

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo          : OperationStopped: (:) [], MethodFault

+ FullyQualifiedErrorId : VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.MethodFault


Viewing all articles
Browse latest Browse all 49146

Trending Articles