Configuring a vCenter Service


To create a vCenter service, use the vcenter-connection-create command:


CLI (network-admin@switch) > vcenter-connection-create name name-string host host-string user user-string password password-string enable|disable vlans vlan-list network-provisioning none|l2-underlay|l3-underlay

 

name name-string

Specify the name of the vCenter connection.

host host-string

Specify the host name of the vCenter to connect with.

user user-string

Specify the authorized vCenter user name.

password password-string

Specify the password in plain text.

enable|disable

Specify to enable to disable the vCenter connection.

vlans vlan-list

Specify the vCenter plugin VLANs for provisioning.

network-provisioning none|l2-underlay|l3-underlay

Specify if the network provisioning should be none, L2 underlay or L3 underlay.


To modify a vCenter service, use the following syntax:


CLI (network-admin@switch) > vcenter-connection-modify name name-string host host-string user user-string password password-string enable|disable vlans vlan-list network-provisioning none|l2-underlay|l3-underlay

 

To delete a vCenter service, use the following syntax:


CLI (network-admin@switch) > vcenter-connection-delete name name-string

 

To display information about a vCenter service, use the following syntax:


CLI (network-admin@switch) > vcenter-connection-show name name-string host host-string user user-string state init|ok|error connected-time connected-time-string connection-error connection-error-string vlans vlan-list enable|disable network-provisioning none|l2-underlay|l3-underlay