vsenv
Description
Changes the shell's current context to the specified Virtual Device.
Syntax
|
|
Important - On Scalable Platforms (Maestro and Chassis), you must run the applicable commands in the Expert mode on the applicable Security Group. |
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 the " |
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]#
|