The resource command assigns logical resources to a virtual system (VS).
The undo resource command restores the default resource allocation method.
By default, no logical resource is allocated to a VS.
resource u4route upper-limit resource-limit
resource u6route upper-limit resource-limit
resource m4route upper-limit resource-limit
resource m6route upper-limit resource-limit
resource vpn-instance upper-limit resource-limit
undo resource u4route upper-limit
undo resource u6route upper-limit
undo resource m4route upper-limit
undo resource m6route upper-limit
undo resource vpn-instance upper-limit
Parameter | Description | Value |
---|---|---|
u6route |
Specifies the u6route (Unicast IPv6 routing entry) resource to be allocated to the service VS. |
The value ranges from 0 to 2097152. The default value is 1048576. |
upper-limit resource-limit |
Specifies the upper limit for a logical resource to be assigned to a VS. |
The value is an integer.The value ranges from 1 to 32000. |
m4route |
Specifies the m4route (Multicast IPv4 routing entry) resource be allocated to the service VS. |
The value ranges from 0 to 16000. The default value is 2000. |
m6route |
Specifies the m6route (Multicast IPv6 routing entry) resource to be allocated to the service VS. |
The value ranges from 0 to 8000. The default value is 512. |
vpn-instance |
Specifies the vpn-instance resource to be allocated to the service VS. |
The value ranges from 1 to 4096. The default value is 512. |
u4route |
Specifies the u4route (Unicast IPv4 routing entry) resource to be allocated to the service VS. |
The value ranges from 0 to 4194304. The default value is 1048576. |
Usage Scenario
To assign or reclaim logical resources, run the resource command. To restore the default configuration, run the undo resource command. If a specified resource is insufficient, an error message is displayed.
Prerequisites
Logical resources can be assigned or reclaimed only when both of the following conditions are true:
Configuration Impact
Decreasing the upper limit for a logical resource does not affect services that are already running on the VS.