The port-mode command specifies a port mode and a resource template for a virtual system (VS).
By default, the port mode is PORT.
Parameter | Description | Value |
---|---|---|
port-mode |
Specifies the port mode. |
PORT: When you run the assign interface (VS view) command to assign interface resources, a specified interface is assigned to the VS. |
resource-template template-name |
Specifies the name of a resource template. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
Usage Scenario
To specify a port mode and a resource template for a VS, run the port-mode command.
A resource template is a collection of resource items.
Configuration Impact
The port allocation mode determines the granularity of interfaces allocated to VSs and the range of resources allocated to VSs.
All VSs in port mode share resources in a resource pool in port mode.
For details about the resource usage of each resource pool, see the display virtual-system resource command.
Follow-up Procedure
Precautions
After you create a VS, you must first configure a port mode. If you do not first configure a port mode, you cannot:
You cannot modify or delete the port mode that has been configured for a VS.
This command can be used only on VSs that are independently managed but not on VSs that are uniformly managed. The PAF determines whether a VS is managed in independent or uniform mode.