A network engineer applies the following local authentication and access configuration to a Cisco IOS XE router:
text
username opsuser privilege 7 secret OpsPass#2026
username auditor privilege 1 secret AuditPass#2026
enable secret EnablePass#2026
!
line vty 0 15
transport input ssh
login local
When `opsuser` successfully establishes an SSH session to the router using local database credentials, which initial operational state and privilege level behavior does the user experience?
- The user is placed directly into EXEC mode at privilege level 7 without needing to issue the enable command.Answer
- BThe user is placed into user EXEC mode at privilege level 1 and must run 'enable 7' using the enable secret password to reach privilege level 7.
- CThe user is automatically escalated to privilege level 15 because any non-default privilege level in the local database defaults to full administrative access.
- DThe authentication attempt fails because VTY lines set to 'login local' reject user accounts that do not use scrypt password hashing.
Answer
The user is placed directly into EXEC mode at privilege level 7 without needing to issue the enable command.
When a local user account is created with an explicit privilege parameter (such as 'privilege 7'), Cisco IOS applies that privilege level immediately upon successful authentication via 'login local'. The user lands directly in EXEC mode at privilege level 7 with access to commands permitted at or below that level.
Step-by-Step Solution
Key Concept
Cisco IOS Local Database User Privilege Level Assignment and VTY Access Behavior
Estimated Time:2m 0s