300-430 · Question #251
An administrator is querying the Cisco CMX server through REST API for active client data to build an application. Cisco CMX supports the use of version 3 of REST API to query for active clients in…
The correct answer is B. cmxos apiserver user add. Cisco CMX requires a specific CLI command to add API server users before REST API authentication will succeed. Using the wrong tool name or including invalid version qualifiers in the command causes authentication to fail.
Question
An administrator is querying the Cisco CMX server through REST API for active client data to build an application. Cisco CMX supports the use of version 3 of REST API to query for active clients in the network. While testing to retrieve information using the API, no results are received. Which configuration is required for authentication against the API?
Options
- Acmxos v3 apiserver user add
- Bcmxos apiserver user add
- Ccmxctl apiserver user add
- Dcmxctl v3 apiserver user add
How the community answered
(49 responses)- A2% (1)
- B92% (45)
- C2% (1)
- D4% (2)
Why each option
Cisco CMX requires a specific CLI command to add API server users before REST API authentication will succeed. Using the wrong tool name or including invalid version qualifiers in the command causes authentication to fail.
Including 'v3' as a positional argument in the cmxos command is not valid syntax - the API version is not specified at the user provisioning level.
The correct CLI tool for managing Cisco CMX OS-level operations, including API server user accounts, is 'cmxos'. The 'cmxos apiserver user add' command creates the user credentials required for REST API authentication. No version qualifier is included in the command syntax itself - the v3 API version is specified in the API endpoint URL, not in the user provisioning command.
The 'cmxctl' tool manages CMX application services and lifecycle, not API server user accounts, making it the wrong tool for this operation.
Both errors are combined here - 'cmxctl' is the wrong tool and 'v3' is not a valid argument in the user provisioning command syntax.
Concept tested: Cisco CMX REST API server user authentication setup
Source: https://www.cisco.com/c/en/us/td/docs/wireless/mse/10-6/cisco_cmx_configuration_guide_10_6/cisco_cmx_configuration_guide_10_6_chapter_011.html
Topics
Community Discussion
No community discussion yet for this question.