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. |
|
Specifies the Virtual Device by its ID. |
|
Specifies the Virtual Device by its Name. |
Note - To see the configured Virtual Devices, run
command.vsx stat -v
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]# |