< Home

display resource resource-class

Function

The display resource resource-class command displays information about the resource class.

Format

display resource resource-class [ resource-class-name ]

Parameters

Parameter Description Value
resource-class-name Displays information about the specified resource class. It must be the name of an existing resource class.

Views

All views of the public system

Default Level

1: Monitoring level

Usage Guidelines

Application Scenarios

The display resource resource-class command is used to view the number of resource items in a resource class and the binding relationship between a resource class and a virtual system.

Prerequisites

The command can be used only after you run the vsys enable command to enable the virtual system function.

Example

# Display information about the virtual system (the USG6000E is used as an example).

<sysname> display resource resource-class
 Resource class table:r0 (public)                                               
 ------------------------------------------------------------                   
                       Reserved-Number     Maximum                              
 session               0                   0                                    
 session-rate          0                   -                                    
 ipv6 session          0                   0                                    
 ipv6 session-rate     0                   -                                    
 bandwidth(Mbps)                                                                
  -inbound             0                   -                                    
  -outbound            0                   -                                    
  -entire              0                   -                                    
 policy                0                   -                                    
 traffic-policy        -                   0                                    
 ssl-vpn-concurrent    0                   -                                    
 online-user           0                   0                                    
 user                  0                   -                                    
 user-group            0                   -                                    
 security-group        0                   -                                    
 l2tp-tunnel           0                   -                                    
 ipsec-tunnel          0                   -                                    
 ------------------------------------------------------------                   
 Resource class table:r1 (vsysa)                                                
 ------------------------------------------------------------                   
                       Reserved-Number     Maximum                              
 session               10000               3000000                              
 session-rate          0                   -                                    
 ipv6 session          0                   0                                    
 ipv6 session-rate     0                   -                                    
 bandwidth(Mbps)                                                                
  -inbound             0                   -                                    
  -outbound            0                   -                                    
  -entire              0                   -                                    
 policy                0                   -                                    
 traffic-policy        -                   0                                    
 ssl-vpn-concurrent    0                   -                                    
 online-user           300                 500                                    
 user                  10                  10                                   
 user-group            0                   -                                    
 security-group        0                   -                                    
 l2tp-tunnel           0                   -                                    
 ipsec-tunnel          0                   -                                    
 ------------------------------------------------------------                   
 Resource class table:r2 (null)                                                 
 ------------------------------------------------------------                   
                       Reserved-Number     Maximum                              
 session               0                   0                                    
 session-rate          0                   -                                    
 ipv6 session          0                   0                                    
 ipv6 session-rate     0                   -                                    
 bandwidth(Mbps)                                                                
  -inbound             0                   -                                    
  -outbound            0                   -                                    
  -entire              0                   -                                    
 policy                0                   -                                    
 traffic-policy        -                   0                                    
 ssl-vpn-concurrent    0                   -                                    
 online-user           0                   0                                    
 user                  0                   -                                    
 user-group            0                   -                                    
 security-group        0                   -                                    
 l2tp-tunnel           0                   -                                    
 ipsec-tunnel          0                   -                                    
 ------------------------------------------------------------                  

Table 1 lists the description of the display resource resource-class command output.

Table 1 Description of the display resource resource-class command output

Item

Description

Resource class table: r0 (public)

Indicates the resource table of resource class r0 bound to the public system. The resource table is available by default.

Resource class table: r1 (vsys1)

Indicates the resource table of resource class r1 bound to virtual system vsys1. If no virtual system is bound, the resource table is displayed as null.

You can run the resource-class resource-class-name command to create a resource class.

You can run the assign resource-class resource-class-name command to bind the resource class to a virtual system.

Reserved-Number

Indicates the guaranteed number of resources.

You can run the resource-item-limit command to set the guaranteed number of resources.

NOTE:

If the value is 0, the number of resources is not limited.

Maximum

Indicates the maximum number of resources.

You can run the resource-item-limit command to set the maximum number of resources.

NOTE:

If the value is 0, the number of resources is not limited.

If the value is -, only the guaranteed number can be configured for the resource item. The maximum number cannot be configured.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >