What command should the administrator use to examine information on which role the guest user has been assigned?
Show answerHide answer
Correct answer: A show aaa authentication port-access interface all client-status
Explanation
SummaryThis question involves troubleshooting guest user authentication on AOS-CX switches. The administrator needs to verify the final authorization result for connected users, specifically which user role has been assigned after successful authentication. This information is part of the state maintained by the 802.1X/MAC Authentication (port-access) client session database on the switch. The correct command displays the current status of all authentication clients, including their assigned role, which is crucial for verifying if the guest users are receiving the correct access permissions.
Correct Option:
A. show aaa authentication port-access interface all client-status
This is the correct and most direct command to examine the assigned role for authenticated users. It queries the AAA (Authentication, Authorization, and Accounting) subsystem for the status of all port-access clients (including 802.1X and MAC Auth) on all interfaces.
The output of this command provides a detailed list of connected clients, showing key information such as the client's MAC address, the interface they are connected to, their authentication state (e.g., Authenticated), and most importantly, the user role that was assigned to them by the authorization process. This allows the administrator to immediately confirm if the guest users are receiving the expected role.
Incorrect Option:
B. show port-access captiveportal profile:
This command is used to display the configuration of the captive portal profiles themselves (e.g., splash page URL, settings). It does not show the real-time state or the assigned roles for currently connected clients.
C. show port-access role:
This is not a standard, valid command on AOS-CX switches for viewing client assignments. The command to view client status and their assigned roles is show aaa authentication port-access client-status.
D. diag-dump captiveportal client verbose:
While diag-dump commands can provide deep internal state information, they are generally intended for TAC (Technical Assistance Center) use and are not the primary, user-friendly command for this task. The show aaa authentication port-access client-status command is the standard, supported way to retrieve this operational information.
Reference
HPE Aruba Networking Documentation: AOS-CX Security and User Management Guide (The official command reference for show aaa authentication port-access client-status explains that it displays the client's current state, including the assigned user role, which is essential for troubleshooting authorization issues.)