connect

To initiate a connection with a vCenter Server, use the connect command. To disconnect from a vCenter Server, use the no form of this command.

connect

no connect

Syntax Description

This command has no arguments or keywords.

Command Default

No connection with a vCenter Server

Command Modes

SVS connection configuration mode

Command History

Release
Modification
5.1(3)N1(1)
This command was introduced.

Usage Guidelines

There can be only one active connection at a time.

This command does not require a license.

Examples

This example shows how to connect to a vCenter Server:

switch# configure terminal
switch(config)# svs connection SVSConn
switch(config-svs-conn)# protocol vmware-vim
switch(config-svs-conn)# remote hostname vcMain
switch(config-svs-conn)# vmware dvs datacenter-name DemoDC
switch(config-svs-conn)# connect
switch(config-svs-conn)#
 

This example shows how to disconnect from a vCenter Server:

switch# configure terminal
switch(config)# svs connection SVSConn
switch(config-svs-conn)# no connect
switch(config-svs-conn)#
 

Related Commands

Command
Description
show svs connections
Displays SVS connection information.
svs connection
Enables an SVS connection.