Perform these tasks to log in to vShell, access CLI Help, and configure virtual devices.
Note
If needed, you can open multiple vShell sessions from different Linux shells.To start vShell, enter vsh.
$ vsh For help anytime, type '?' When you're done, type '^D' (vsh)
To display vShell keyboard shortcuts, enter help.
(vsh) help ? - for help Tab - auto fill ^P - previous command ^N - next command ^D - end of the session ^A - move cursor to the beginning ^E - move cursor to the end ^W - delete a word ^U - delete from the beginning ^K - delete to the end
To display available commands, enter a question mark (?).
(vsh) ? clear Clear connect Connect console create Provisioning delete Destroy exit Exit shell help Get help list Show running devices poweroff Power off device poweron Power on device show Show info start Power on and connect system Bridge daemon control
To display command parameters, type the command, press the Space key, and then type a question mark (?) .
(vsh) create chassis link ? -bridge Bridge -interface Interface -probe Probe String Device name
To create a device template, enter the create template command.
The following example shows how to create a required template type.
(vsh) create template 9540_templ slx9540 /slxos-dist
To create a virtual device, enter the create chassis command.
To delete a virtual device, enter the delete chassis command. The following example includes two devices, test1 and test2. After delete test1, the show chassis command displays only test2.
(vsh) show chassis Chassis Name Type Power .................................................... test1 SLX 9540 on test2 SLX 9540 off (vsh) delete chassis test1 (vsh) show chassis Chassis Name Type Power .................................................... test2 SLX 9540 off
To turn on a virtual device, enter the poweron command. To turn off a virtual device, enter the poweroff command .
(vsh) show system Device Name Type Power .................................................... av1 SLX 9540 off av2 SLX 9540 off host1 VPC off host2 VPC off (vsh) poweron av2 (vsh) show system Device Name Type Power .................................................... av1 SLX 9540 off av2 SLX 9540 on host1 VPC off host2 VPC off
To create a virtual PC workstation, enter the create workstation command.
(vsh) create workstation linux_ws_01 linux
To connect the current vsh
session to the
console of a virtual workstation or chassis, enter the connect command.
(vsh) connect test1 SLX-OS (SLX) SLX login:
To disconnect from a vSLX virtual device, press Ctrl-]. (Press the ] key while holding down the Ctrl key.)