1/24
25 question-and-answer flashcards covering core IOS commands for device initialization, IP addressing, password & banner configuration, security hardening, IPv6 enabling, static routing, and switch management outlined in the lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Which command erases the startup-config on a router or switch?
erase startup-config
After erasing startup configuration, which command reloads the device?
reload
Which global configuration command removes all stored RSA keys?
crypto key zeroize
What SDM template command prepares a Catalyst switch for dual IPv4/IPv6 routing?
sdm prefer dual-ipv4-and-ipv6 default
How do you disable DNS lookup on Cisco IOS?
no ip domain-lookup
Which command sets the router’s hostname to R1?
hostname R1
What command defines the domain name ccna.com on a Cisco device?
ip domain-name ccna.com
Which command generates a 1024-bit RSA key pair?
crypto key generate rsa modulus 1024
How do you set an encrypted privileged EXEC password of “class”?
enable secret class
What command enforces a minimum password length of 5 characters?
security password min-length 5
Which login blocking command locks the device for 2 minutes after 3 failed attempts within 60 seconds?
login block-for 120 attempts 3 within 60
How do you create a local user ‘admin’ with password ‘adminpass’?
username admin password adminpass
Which command encrypts all plaintext passwords in the running configuration?
service password-encryption
What banner command displays KEEP OUT! to all users?
banner motd #KEEP OUT!#
Which command enables global IPv6 routing on a router?
ipv6 unicast-routing
What complete console line sequence sets password 'cisco', enables login, syncs logging, and disconnects after 5 minutes?
line con 0 ➔ logging synchronous ➔ exec-timeout 5 0 ➔ password cisco ➔ login
How do you limit vty access to SSH only while using the local database?
line vty 0 15 ➔ login local ➔ transport input ssh
Which command assigns IPv4 address 192.168.10.1/27 to interface G0/0/1?
interface g0/0/1 ➔ ip address 192.168.10.1 255.255.255.224
How do you configure an IPv6 link-local address FE80::1 on an interface?
ipv6 address FE80::1 link-local
What command creates a default IPv4 static route using Loopback0 as the exit interface?
ip route 0.0.0.0 0.0.0.0 Loopback0
Which switch command sets the default gateway to 192.168.10.1?
ip default-gateway 192.168.10.1
How do you shut down unused switch interfaces FastEthernet 0/1–4, 0/7–24 and Gigabit 0/1–2 in a single command?
interface range f0/1-4 , f0/7-24 , g0/1-2 ➔ shutdown
Which commands create and activate the management SVI VLAN1 with IPv4 address 192.168.10.2/27 and description ‘LAN’?
interface vlan 1 ➔ description LAN ➔ ip address 192.168.10.2 255.255.255.224 ➔ no shutdown
What command sequence blocks vty sessions after 5 minutes of inactivity?
line vty 0 15 ➔ exec-timeout 5 0
How do you create the IPv6 default route using Loopback0?
ipv6 route ::/0 Loopback0