CCNA Exam Questions Verified and Provided with A+
Graded Answers Latest Updated 2026
What mode is this? User mode = Limited to basic monitoring
Router> commands
What mode is this? Privileged mode (exec-level mode) = Provides
Router# access to all other router commands
What mode is this? What global configuration mode = Commands that
does it do? affect the entire system
Router(config)#
,What mode is this? interface mode = Commands that affect
What does it do? interfaces
Router(config-if)#
What mode is this? subinterface mode = Commands that affect
What does it do? subinterfaces
Router(config-
subif)#
What mode is this? line mode = Commands that affect in lines
What does it do? modes (console, vty, aux...)
Router(config-
line)#
What mode is this? router configuration mode
What does it do?
Router(config-
router)#
What is the command for Switch(config)# hostname SW1
changing switch hostname
What are the commands for SW1(config)# enable secret
configuring passwords cisco ! MD5 hash SW1(config)#
enable password notcisco ! Clear
text
What is the command for SW1(config)#
securing a console port line con 0
SW1(config-line)#
password cisco
SW1(config-
line)# login
What is the command for SW1(config)#
securing terminal lines? line vty 0 4
SW1(config-line)#
password cisco
SW1(config-
line)# login
,CISCO command for Encrypting SW1(config)# service password-encryption
passwords
CISCO command for SW1(config)# banner motd $
configuring banners -=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-UNAUTHORIZED
ACCESS IS PROHIBITED
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
$
Giving the switch an IP address W1(config)# interface vlan 1
SW1(config-if)# ip address
172.16.1.11 255.255.255.0 ! or DHCP
SW1(config-if)# no shutdown
Cisco command for SW1(config)# ip default-gateway 172.16.1.1
setting default
gateway
Set up commands for a SW1(config)# no ip
working environment on a domain-lookup
switch SW1(config)# line
vty 0 4
SW1(config-line)#
history size 15
SW1(config-line)#
exec-timeout 10 30
SW1(config-line)#
logging synchronous
Configuring switch to use SSH SW1(config)# ip domain-name
, example.com SW1(config)#
username admin password
cisco
SW1(config)# crypto
key generate rsa How
many bits in the modulus
[512]: 1024
SW1(config)# ip ssh version 2
SW1(config)#
line vty 0 4
SW1(config-
line)# login
local
! You can set vty lines to use only telnet or
only ssh or both as in the example.
SW1(config-line)# transport input telnet
sshv
Commands to configure SW1(config)# interface fastEthernet 0/1
description, speed and duplex SW1(config-if)# description
LINK TO INTERNET ROUTER
SW1(config-if)# speed 100 !
Options: 10, 100, auto
! The range keyword used to set a group
of interfaces at once. SW1(config)#
interface range fastEthernet 0/5 - 10
SW1(config-if-range)# duplex full (options: half,
full, auto)
Shows the current configuration SW1# show running-config
file stored in DRAM
This command shows SW1# show version
information about the switch
and its interfaces, RAM,