Connects the current vsh
session to the console of a
virtual workstation or chassis.
The console is not connected to any device.
vShell prompt
(vsh)
Before you connect to an entity, you must turn it on, using the poweron command.
To turn on a device and connect to it with a single command, refer to start.
To disconnect the current
vsh
session from the device console, press
Ctrl-].
To log in to vShell and run this command, enter the
user@ubuntu:~$ vsh connect
command.
The following example shows how to connect the current
vsh
session to a device console.
(vsh) connect dev_01 SLX-OS (SLX) SLX login:
The following example shows the error you get if you try to connect to a device that is turned off.
(vsh) connect h1 h1: the device is powered off