The display virtual-system resource command displays resource information on a specified virtual system (VS) or all VSs.
Usage Scenario
A PS or VS administrator can run the display virtual-system resource command to view information about resources assigned to a VS for fault analysis and routine maintenance.
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
You can view resource information on all VSs in the admin view or the existing VS in other views.
If you do not assign slot resources to a VS, running this command only displays the name and type of the VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] admin [~HUAWEI-admin] virtual-system vs1 [*HUAWEI-admin-vs:vs1] port-mode port [~HUAWEI-admin-vs:vs1] display virtual-system resource ---------------------------------------------------------------------------------------- Item Port-mode Total Allocated Assignable ---------------------------------------------------------------------------------------- u4route -- 4294967295 40009 4294927286 m4route -- 16000 4000 12000 u6route -- 4294967295 4000 4294963295 m6route -- 16000 4000 12000 vlan port 4090 1024 3066 vpn-instance port 4096 1026 3070 cpu weight -- 10 -- 10 memory ratio-threshold -- 100 -- 100 disk ratio-threshold -- 100 -- 100 ---------------------------------------------------------------------------------------- VS : Admin-VS ---------------------------------------------------------------- Item Total Used Unused ---------------------------------------------------------------- u4route 4294927295 9 4294927286 m4route 12000 0 12000 u6route 4294963295 0 4294963295 m6route 12000 0 12000 vlan 3066 0 3066 vpn-instance 3072 2 3070 cpu weight 10 -- -- memory ratio-threshold 100 -- -- disk ratio-threshold 100 -- -- ---------------------------------------------------------------- VS : smp1 ---------------------------------------------------------------- Item Total Used Unused ---------------------------------------------------------------- u4route 10000 4 9996 m4route 1000 0 1000 u6route 1000 0 1000 m6route 1000 0 1000 vlan 256 0 256 vpn-instance 256 1 255 cpu weight 5 -- -- memory ratio-threshold 100 -- -- disk ratio-threshold 100 -- -- ---------------------------------------------------------------- VS : smp2 ---------------------------------------------------------------- Item Total Used Unused ---------------------------------------------------------------- u4route 10000 4 9996 m4route 1000 0 1000 u6route 1000 0 1000 m6route 1000 0 1000 vlan 256 0 256 vpn-instance 256 1 255 cpu weight 5 -- -- memory ratio-threshold 100 -- -- disk ratio-threshold 100 -- -- ---------------------------------------------------------------- VS : smp3 ---------------------------------------------------------------- Item Total Used Unused ---------------------------------------------------------------- u4route 10000 4 9996 m4route 1000 0 1000 u6route 1000 0 1000 m6route 1000 0 1000 vlan 256 0 256 vpn-instance 256 1 255 cpu weight 5 -- -- memory ratio-threshold 100 -- -- disk ratio-threshold 100 -- -- ---------------------------------------------------------------- VS : vs1 ---------------------------------------------------------------- Item Total Used Unused ---------------------------------------------------------------- u4route 10000 4 9996 m4route 1000 0 1000 u6route 1000 0 1000 m6route 1000 0 1000 vlan 256 0 256 vpn-instance 256 1 255 cpu weight 5 -- -- memory ratio-threshold 100 -- -- disk ratio-threshold 100 -- -- ----------------------------------------------------------------
Item | Description |
---|---|
Item | Name of the logical resource item. |
Port-mode | Name of the resource pool. |
Total | Total number of resources. |
Allocated | Number of allocable resources. |
VS | VS role. |
Used | Number of resources that have been used by the VS. |
Unused | Number of resources that have not been used by the VS. |