switch virtual-system

Function

The switch virtual-system command switches from the existing managed virtual system (VS) to a target VS.

Format

switch virtual-system vs-name

Parameters

Parameter Description Value
vs-name

Specifies the name of a target VS.

The value is a string of 1 to 31 case-insensitive characters. The string can be a combination of letters, numerals, underlines (_), or subtraction signs (-). The name must begin with an English letter, except "all", "brief", or "verbose".

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
lsvs execute

Usage Guidelines

Usage Scenario

When configuring features or performing other operations on different VSs, a physical(PS) administrator can run the vs-name command to switch from one VS to another one.

Prerequisites

A target VS has been successfully created.

Follow-up Procedure

After you run the switch virtual-system vs-name command and switch to a target VS, you can use quit command to quit the VS.

Precautions

In VS mode, this command is supported only by the admin VS.

Only a PS administrator can switch between VSs.

Accessing a non-Admin-VS from another non-Admin-VS is not allowed.

Example

# Switch a VS named vs1 to another VS named vs2.
<HUAWEI> switch virtual-system vs1
<HUAWEI-vs1> quit
<HUAWEI> switch virtual-system vs2
<HUAWEI-vs2> quit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >