This section describes how to configure a resource class. You are advised to configure resource classes before creating any virtual system.
All virtual systems created on a FW share the resources available on the FW. To ensure the availability of system resources for all virtual systems and prevent a virtual system from overusing system resources, restrict the amount of system resources available for each virtual system.
To do so, add a resource class, configure the system resources available for the resource class, and bind the resource class to the virtual system.
A resource class can be bound to multiple virtual system. If multiple virtual systems require the same type and amount of system resources, configure a single resource class and bound the resource class to each of these virtual systems.
display resource global-resource [ resource-item { bandwidth | online-user | policy | traffic-policy | security-group | session | ipsec-tunnel | l2tp-tunnel | ipv6 session | session-rate | ipv6 session-rate | ssl-vpn-concurrent | user | user-group } ]
Check the available resources as the public system administrator before allocating resources for virtual systems.
Ensure that the guaranteed amount of a specified resource allocated to a virtual system must not exceed the amount of available resources.
resource-class resource-class-name
Guaranteed value: Minimum amount of a specified resource item available for a virtual system. Once the amount of system resources are allocated to a virtual system, they are exclusively used by the virtual system.
Maximum value: Maximum allowed amount of a specified resource item available for a virtual system. Whether the resources used by a virtual system can reach the maximum amount is determined by the resources used by other virtual systems.
Configure the guaranteed and maximum number of IPv4 sessions available for a virtual system. |
resource-item-limit session reserved-number ipv4-session-reserved-number [ maximum { ipv4-session-maximum-number | equal-to-reserved | unlimited } ] |
Configure the guaranteed and maximum number of IPv6 sessions available for a virtual system. |
resource-item-limit ipv6 session reserved-number ipv6-session-reserved-number [ maximum { ipv6-session-maximum-number | equal-to-reserved | unlimited } ] |
Configure the reserved number of new IPv4 sessions available for a virtual system. |
resource-item-limit session-rate ipv4-session-rate-reserved-number |
Configure the reserved number of new IPv6 sessions available for a virtual system. |
resource-item-limit ipv6 session-rate ipv6-session-rate-reserved-number |
Configure the guaranteed quota of policies. |
resource-item-limit policy reserved-number policy-reserved-number NOTE:
Available policies are security policies, NAT policies, bandwidth policies, authentication policies, audit policies, and routing policies. |
Set the maximum number of traffic policies. |
resource-item-limit traffic-policy maximum traffic-policy-maximum-number NOTE:
|
Configure the guaranteed and maximum number of IPSec tunnels available for a virtual system. |
resource-item-limit ipsec-tunnel reserved-number ipsec-tunnel-reserved-number [ maximum { ipsec-tunnel-maximum-number | equal-to-reserved | unlimited } ] |
Configure the guaranteed and maximum number of L2TP tunnels available for a virtual system. |
resource-item-limit l2tp-tunnel reserved-number l2tp-tunnel-reserved-number |
Configure the guaranteed and maximum number of online users on a virtual system. |
resource-item-limit online-user { reserved-number online-user-reserved-number | maximum online-user-maximum-number } * NOTE:
All models except USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
Configure the SSL VPN concurrent users. |
resource-item-limit ssl-vpn-concurrent reserved-number ssl-vpn-concurrent-reserved-number |
Configure the guaranteed quota of users. |
resource-item-limit user reserved-number user-reserved-number |
Configure the guaranteed quota of user groups. |
resource-item-limit user-group reserved-number user-group-reserved-number |
Configure the guaranteed quota of security groups. |
resource-item-limit security-group reserved-number security-group-reserved-number |
Configure the guaranteed bandwidth. |
resource-item-limit bandwidth bandwidth-maximum-number { entire | inbound | outbound } |
resource-item-limit { session | ipv6 session } usage alarm enable
After a resource class is bound, the session resource usage alarm function of the virtual system is enabled by default.
resource-item-limit { session | ipv6 session } usage alarm threshold trigger-threshold recovery-threshold
The default values of trigger-threshold and recovery-threshold are 80% and 75% respectively.