The display resource global-resource command displays the information about global resources.
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 } ]
| Parameter | Description | Value |
|---|---|---|
resource-item |
Displays information about the specified resource. |
- |
bandwidth |
Displays information about bandwidth resources. |
- |
online-user |
Displays information about online users. |
- |
policy |
Displays information about policies. |
- |
traffic-policy |
Displays information about traffic policies. |
- |
security-group |
Displays information about security groups. |
- |
session |
Displays information about ipv4 sessions. |
- |
ipv6 session |
Displays information about ipv6 sessions. |
- |
session-rate |
Displays information about the new ipv4 session rate. |
- |
ipv6 session-rate |
Displays information about the new ipv6 session rate. |
- |
ipsec-tunnel |
Displays IPSec tunnel resources. |
- |
l2tp-tunnel |
Displays L2TP tunnel resources. |
- |
ssl-vpn-concurrent |
Displays information about the number of concurrent SSL VPN users. |
- |
user |
Displays information about users. |
- |
user-group |
Displays information about user groups. |
- |
Application Scenarios
If the resource-item-limit command is used to configure the number of resource items in a resource class, the guaranteed number of resource items must be smaller than the number of retained resources on the device. Otherwise, the binding of a resource class to a virtual system may fail due to insufficient device resources. If you are not sure about the number of retained resource items when configuring the resource class, run the display resource global-resource command to view the number of retained resources on the system (Remained-Number).
Prerequisites
The command can be used only after you run the vsys enable command to enable the virtual system function.
Configuration Impact
Run the display resource global-resource to view the information of all resource items.
# Display the information of all resource items
<sysname> display resource global-resource
Global resource table:
------------------------------------------------------------
Global-Number Remained-Number
session 3000000 2990000
session-rate 30000 30000
ipv6 session 2000000 2000000
ipv6 session-rate 30000 30000
bandwidth 10000 10000
policy 15000 14989
traffic-policy 512 510
ssl-vpn-concurrent 100 100
online-user 8000 7700
user 8000 7976
user-group 6000 5997
security-group 5000 4988
l2tp-tunnel 4000 4000
ipsec-tunnel 4000 4000
------------------------------------------------------------
# Display the information of the session table resource.
<sysname> display resource global-resource resource-item session
Global resource table:
------------------------------------------------------------
Global-Number Remained-Number
session 500000 500000
------------------------------------------------------------
Table 1 lists the description of the display resource global-resource command output.
Item |
Description |
|---|---|
Global-Number |
Indicates the total number of resources. |
Remained-Number |
Indicates the number of retained resources on the system. These resources can be allocated to other virtual systems. Number of retained resources = Total number of resources - Number of resources allocated to a virtual system in a guaranteed value mode NOTE:
If only the guaranteed number of resources is specified in a resource class but the resource class is not bound to a virtual system, the guaranteed number of resources will not be deducted from the number of retained resources. |