A network administrator configures a Cisco IOS switch for secure management access. The following excerpt is retrieved from the running configuration:
text
username secadmin privilege 15 secret 8 k9A$eP2xL1...
service password-encryption
!
line vty 0 4
transport input ssh
login
When a network engineer attempts to establish an SSH session using the `secadmin` account credentials, the authentication attempt is rejected. Which configuration change must be applied to line vty 0 4 to allow authentication using the local user database?
- Replace the `login` command with `login local` under line vty 0 4 configuration mode.Cevap
- BConfigure an `enable secret` password in global configuration mode to authorize the privilege 15 level.
- CExecute `no service password-encryption` globally to prevent decryption errors on Type 8 secret hashes.
- DAdd `transport input ssh telnet` under line vty 0 4 to allow fallback negotiation during credential validation.
Cevap
Replacing `login` with `login local` under line vty 0 4 configuration mode resolves the authentication failure by directing Cisco IOS to check credentials against accounts in the local running-config database.
The correct answer specifies changing `login` to `login local` on line vty 0 4. In Cisco IOS, the simple `login` command restricts authentication to a line password. If no line password is configured, access is refused. Executing `login local` forces Cisco IOS to authenticate incoming SSH connections against accounts defined in the global local database, such as `secadmin`.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS Line VTY Local Database Authentication