The display virtual-system command displays basic information about a virtual system (VS), including the VS name and slot resources assigned to the VS.
Parameter | Description | Value |
---|---|---|
name vs-name |
Specifies the name of a VS. |
The value is a string of 1 to 31 case-insensitive characters. The string can contain letters, digits, underscores (_), and hyphens (-). The VS name must begin with letters except "all," "brief," or "verbose." |
verbose |
Displays detailed information about VSs. |
- |
Usage Scenario
If a PS administrator or a VS administrator needs to view information, such as the slot resources, and VS type, run the display virtual-system command. The command output helps analyze faults.
Prerequisites
A VS has been configured.
If the specified VS does not exist, run the virtual-system command in the admin view to create a VS.
Precautions
The physical system (PS) administrator can view information about all VSs only in the admin view. In other views of Admin-VS views, the administrator can view information only about Admin-VS. In VSn views, the administrator can view information only about VSn.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] admin [~HUAWEI-admin] display virtual-system - -------------------------------------------------------------- Name Status Description - -------------------------------------------------------------- Admin-VS running admin-vs vs1 running vs1 vs2 running vs2 vs3 running vs3 - --------------------------------------------------------------
<HUAWEI> system-view [~HUAWEI] admin [~HUAWEI-admin] display virtual-system name vs1 verbose Name : vs1 Status : running Description : Create time : 2017-03-13 21:24:27+09:30 DST Port mode : port System MAC : 00-e0-fc-12-34-56 Assigned slot(s) pvmb : 1 pvmb : 2 CPU(s) slot 1 : 4% cfcard:/VS_huawei: 0%, 16/41943040 (Used Kbytes/Max Kbytes) Assigned interface(s) GE0/1/0, slot 1 Assigned resource(s) u4route : 10000(Max) m4route : 1000(Max) u6route : 1000(Max) m6route : 1000(Max) vpn-instance : 256(Max) cpu : 5(weight)
Item | Description |
---|---|
Name | Name of a VS:
|
Status | VS status:
|
Description | Description of the VS. If no description is configured, no information is displayed. |
Create time | Date and time when the VS was created. |
Port mode | Port mode for the VS. PORT: When you run the assign interface (VS view) command to assign interface resources, a specified interface is allocated to the VS. |
System MAC | MAC address of the VS. |
Assigned resource(s) | Logical resources assigned to the VS. Logical resources include u4route, m4route, u6route, m6route, vpn-instance. |
Assigned slot(s) | Slot resources assigned to the VS:
|