No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Resources for a VS
Configuring Resources for a VS
Context
After creating a VS, the PS administrator needs to assign both physical resources and logical resources to the VS.
Physical resources: Only physical Ethernet interfaces on interface cards can be allocated. By default, all interfaces on an interface card belong to the Admin-VS.
Logical resources: Allocatable logical resources include unicast routing entries, multicast routing entries, VLANs, and other resources. By default, a new VS has the default logical resource specifications. For details, see Default Settings for VSs. You can use a logical resource template to modify specifications of logical resources in batches or modify specifications of a specified resource item for a VS.
Only the PS administrator can allocate physical interfaces to VSs.
Only physical interfaces on interface cards can be assigned to VSs. However, the CSS and Eth-Trunk member interfaces cannot be assigned to VSs. After an interface is allocated to a VS, original configurations on the interface are deleted.
In group mode, all interfaces on the same group must be allocated to the same VS.
There is no mapping between a logical resource template and a VS. After a logical resource template is loaded on a VS, modifying the logical resource template does not affect the VS. The modified logical resource template takes effect only after it is loaded to the VS again.
Procedure
Assign physical interface resources.
Run system-view
The system view is displayed.
Run admin
The admin view is displayed.
Run virtual-systemvs-name
The VS management view is displayed.
Run assign interfaceinterface-typeinterface-number1
Physical interfaces are assigned to the VS.
When assigning physical interfaces to a VS in group mode, view interface groups on cards according to Licensing Requirements and Limitations for VSs to determine which interfaces will be assigned to this VS.
Run commit
The configuration is committed.
(Optional) Assign logical resources.
Run system-view
The system view is displayed.
Run admin
The admin view is displayed.
Run virtual-systemvs-name
The VS management view is displayed.
Set logical resource specifications.
Use a logical resource template to allocate logical resources to the VS.
Run assign resource-templatetemplate-name
A logical resource template is loaded on the VS.
A user can run the port-modegroup [ resource-template template-name ] command to specify a logical resource template for a VS when configuring the interface assignment mode or run the assign resource-templatetemplate-name command to specify a logical resource template for the VS.
Skip this step if a logical resource template has been specified for the VS in the port-modegroup [ resource-templatetemplate-name ] command.