gnsi load service authorization policy
To instruct the router to load the service authorization policy file into its memory and update the policy, use the gnsi load service authorization policy command in Global Configuration Mode.
gnsi load service authorization policy file_path
Syntax Description
file-path |
Specifies the path of the policy file. |
Command Default
Enabled, by default
Command Modes
Global Configuration Mode
Command History
Release |
Modification |
---|---|
Release 7.11.1 |
This command was introduced. |
Usage Guidelines
A policy file which has no specified or the policy is invalid, the default behavior will transition to the zero-policy behavior. Zero-policy allows all gRPC services to all the users if their profiles are configured.
Task ID
Task ID | Operation |
---|---|
config-services |
read, write |
Examples
This example shows how to activate the authorization policy test.json in the router.
Router(config)#gnsi load service authorization policy /disk0:/test.json
Successfully loaded policy