profile nf-client nf-type oauthenabled

Configures the AMF ID (oauthenabled ) to enable the Nnrf_AccessToken request to the NRF server, when the nf-client is configured.

Command Mode

Exec > Global Configuration (config ) > AMF Configuration (config-amf amf_name ) > NF Profile Name Configuration (config-nf-profile-nf nf_profile_name ) > NF Profile Type Configuration (config-nf-type-profile profile_type_name ) > oauthenabled enabled

Syntax


    oauthenabled { true | false } 
    nf-type-profile nf_type_profile_name 
    locality locality_name 
    priority priority_number 
    service name type service_name type_npcf_am_policy_control 
    endpoint-profile endpoint_profile_details 
    capacity capacity_number 
    uri-scheme http 
    endpoint-name endpoint_name 
    priority priority_number 
    primary ip-address ipv4 ipv4_address 
    primary ip-address port port_address 
    

oauthenabled

Enable the OAuth2 client authorization to register the AMF with NRF. The default value is false.

nf-type-profile nf_type_profile_name

Specify the NF profile name.

locality locality_name

Specify the locality.

priority priority_number

Specify the priority request. Must be in numbers.

service name type service_name type_npcf_am_policy_control

Specify the service name and the type.

endpoint-profile endpoint_profile_details

Specify the endpoint profile details.

capacity capacity_number

Specify the capacity requirement in number.

uri-scheme http

Specify the URI scheme.

endpoint-name endpoint_name

Specify the endpoint name.

primary ip-address ipv4 ipv4_address

Specify the primary IPv4 address.

primary ip-address port port_address

Specify the primary port address.

Usage Guidelines

Use this command, when the oauthenabled feature is configured, when the AMF sends the Nnrf_AccessToken request to the NRF server, when the nf-client is configured.