Modes
Commands
Basic Configuration
Default Gateway on a Switch
Check Your Understanding
100

Which mode does the "enable secret" command work in?

Global configuration / (config)#

100

What is the command to secure all passwords in the config?

service password-encryption

100

How do you add a description to a router interface?

description

100

When is a default gateway used

when a device is trying to send traffic outside of the network

100

What is stored in the NVRAM of a Cisco router?

the startup configuration

200

What is the mode (config-if) used for on a router?

Configuring the router interfaces' IPv4, IPv6 and descriptions

200

What does the command "transport input {ssh | telnet} do?

Enables telnet and/or ssh remote connections

200

How do you turn a interface from down to up?

no shutdown
200

What would happen if a default gateway is not configured

the traffic would not be forwarded to an outside network

200

What will be the response from the router after the command, "router(config)# hostname portsmouth" is entered?

portsmouth(config)#

300

What mode does the command "line console 0" take you to?

(Config-line)#

300

How do you save the running configuration?

copy running-config startup-config 

300

What is the command to verify all interface's IPv4 configuration?

show ip interface or show ip interface brief

300

Can you remotely manage a switch with only the ip address and subnet mask configured?

No. A default gateway is needed to remotely manage a switch

300

Which command can be used on a Cisco router to display all interfaces, the IPv4 address assigned, and the current status?

show ip interface brief

400

What mode is the banner and hostname configured in?

(config)#

400

How do you configure the banner?

banner motd

400

What is the command to verify all interface's IPv6 configuration?

show ipv6 interface or show ipv6 interface brief

400

In what mode would you configure the default gateway of a switch

global configuration mode

400

A router boots and enters setup mode. What is the reason for this?

The configuration file is missing from the NVRAM

500

What mode is the command "login" used in?

(config-line)#

500

What is the command to display the running config?

show running-config

500

What line do you have to configure to allow remote access?

line vty 0

500

How would you configure a default gateway for a switch?

ip default-gateway 192.168.x.x

500

What is the purpose of the startup configuration file on a Cisco router?

to contain the commands that are used to initially configure a router on startup

M
e
n
u