overload-threshold
Configure lower and upper limits of the overload threshold parameters (System level and VPP CPU) under the UPF Overload Control Profile.
Product
UPF
Privilege
Administrator, Security Administrator
Mode
Exec > Global Configuration > UPF Overload Control Profile Configuration
configure > upf-overload-control-profile profile_name
Entering the above command results in the following prompt:
[local]UPlane (config-upf-overload-control-profile)#
Syntax
overload-threshold { system { cpu | memory | session-count } lower-limit lower_limit upper-limit upper_limit } | vpp-cpu lower-limit lower_limit upper-limit upper_limit
overload-threshold
Configure lower and upper limits of the overload threshold parameters (System level and VPP CPU) under the Overload Control Profile.
system { cpu | memory | session-count }
Configures the overload system thresholds for CPU, Memory, and Session Count.
vpp-cpu
Configures overload system thresholds for VPP CPU.
lower-limit lower_limit
Configures the lower limit threshold for system and VPP CPU loads.
upper-limit upper_limit
Configures the upper limit threshold for system and VPP CPU loads. Following are the defined thresholds for lower and upper limits:
Overload Control Parameters |
Lower Limit (Overload Control State) |
Upper Limit (Self-Protection State) |
System CPU |
80 |
90 |
System Memory |
70 |
80 |
System Session Count |
80 |
90 |
VPP CPU |
50 |
80 |
Note |
The VPP CPU usage typically remains high, ranging between 90% and 100%. To standardize this metric, the reported value from Resource Manager is scaled to a percentage range of 1%– 100%. For instance, a reported VPP CPU usage of 97% is interpreted as 70%. Thus, the configurable threshold for VPP CPU is defined within the 1% to 100% range. |
Usage Guidelines
Use this command to configure the threshold values for System and VPP CPU loads under overload system thresholds.
Example
[local]UPlane(config-upf-overload-control-profile)# overload-threshold system cpu lower limit 80
upper-limit 90
[local]UPlane(config-upf-overload-control-profile)# overload-threshold system memory lower limit 70
upper-limit 80
[local]UPlane(config-upf-overload-control-profile)# overload-threshold system session-count lower
limit 80 upper-limit 90
[local]UPlane(config-upf-overload-control-profile)# overload-threshold vpp-cpu lower limit 95
upper-limit 98