Prerequisites
Ensure you are logged in as the root user.
Procedure
-
To view the list of the available switch profiles, run the following command:
nps show -p switch_profiles
-
To create the switch profile, run the following command:
nps create -p switch_profile -f <location of the switch profile JSON file>
Or
nps create -p switch_profile -d <data_dictionary>
You can also save the data dictionary as a JSON file and provide the location of the JSON file in the
-f
argument.