Configuring the Custom Error Codes

This section describes how to configure the error codes for the requests that PCF rejects.

To configure the custom error codes, use the following configuration:

config 
   advance-tuning slice-access-control rejection-status-code error_code 
   end 

NOTES:

  • advance-tuning slice-access-control rejection-status-code error_code —Specify the error code that must be displayed when PCF rejects a request. It must be an integer in the range of 100-599.

  • If the error code is not configured, the default error code is 403.