CCNA Lab – Initialize, Configure IP & Security Settings (Router R1 & Switch S1)

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

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.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

Which command erases the startup-config on a router or switch?

erase startup-config

2
New cards

After erasing startup configuration, which command reloads the device?

reload

3
New cards

Which global configuration command removes all stored RSA keys?

crypto key zeroize

4
New cards

What SDM template command prepares a Catalyst switch for dual IPv4/IPv6 routing?

sdm prefer dual-ipv4-and-ipv6 default

5
New cards

How do you disable DNS lookup on Cisco IOS?

no ip domain-lookup

6
New cards

Which command sets the router’s hostname to R1?

hostname R1

7
New cards

What command defines the domain name ccna.com on a Cisco device?

ip domain-name ccna.com

8
New cards

Which command generates a 1024-bit RSA key pair?

crypto key generate rsa modulus 1024

9
New cards

How do you set an encrypted privileged EXEC password of “class”?

enable secret class

10
New cards

What command enforces a minimum password length of 5 characters?

security password min-length 5

11
New cards

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

12
New cards

How do you create a local user ‘admin’ with password ‘adminpass’?

username admin password adminpass

13
New cards

Which command encrypts all plaintext passwords in the running configuration?

service password-encryption

14
New cards

What banner command displays KEEP OUT! to all users?

banner motd #KEEP OUT!#

15
New cards

Which command enables global IPv6 routing on a router?

ipv6 unicast-routing

16
New cards

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

17
New cards

How do you limit vty access to SSH only while using the local database?

line vty 0 15 ➔ login local ➔ transport input ssh

18
New cards

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

19
New cards

How do you configure an IPv6 link-local address FE80::1 on an interface?

ipv6 address FE80::1 link-local

20
New cards

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

21
New cards

Which switch command sets the default gateway to 192.168.10.1?

ip default-gateway 192.168.10.1

22
New cards

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

23
New cards

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

24
New cards

What command sequence blocks vty sessions after 5 minutes of inactivity?

line vty 0 15 ➔ exec-timeout 5 0

25
New cards

How do you create the IPv6 default route using Loopback0?

ipv6 route ::/0 Loopback0