Print Download PDF Send Feedback

Previous

Next

vsenv

Description

Changes the shell's current context to the specified Virtual Device.

Syntax

vsenv [{<VSID> | <Name of Virtual Device>}]

Parameters

Parameter

Description

No Parameters

Changes the context to the default Virtual Device 0.

<VSID>

Specifies the Virtual Device by its ID.

<Name of Virtual Device>

Specifies the Virtual Device by its Name.

Note - To see the configured Virtual Devices, run vsx stat -v command.

Example 1 - Changing the context to the default Virtual Device 0

[Expert@MyVsxGW:0]# vsenv

Context is set to Virtual Device VSX2_192.168.3.242 (ID 0).

[Expert@MyVsxGW:0]#

Example 2 - Changing the context to the specific Virtual Device

[Expert@MyVsxGW:0]# vsenv 2

Context is set to Virtual Device VS2 (ID 2).

[Expert@MyVsxGW:2]#