Lecture 2. Basic IOS configurations Chapter 2 Flashcards

(32 cards)

1
Q

Q: What is a router and what is its function?

A

A: A router (e.g., Cisco 2900 series) is a device that connects multiple networks (LANs). Each port supports the IP protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: What is a switch and what is its function?

A

A: A switch connects multiple devices and has more ports than a router. L2 (layer 2) switches do not support IP protocol on their physical interfaces; they are smarter and can recognize sender and receiver devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Q: Name the main types of memory in Cisco IOS devices.

A

A:
RAM: Stores running configurations.
NVRAM: Stores startup configurations.
Flash: Stores system files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Q: What are the three main IOS modes and their prompt signs?

A

A:
User EXEC mode: “>” (e.g., S1>)
Privileged EXEC mode: “#” (e.g., S1#)
Global configuration mode: “(config)#” (e.g., S1(config)#)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Q: How do you enter and exit User EXEC mode? How do you recognize it?

A

A: Press enter to enter; exit to leave. Recognized by “>” after the device name (e.g., S1>).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q: How do you enter and exit Privileged EXEC mode?

A

A: Type enable to enter; exit, end, or disable to leave. Recognized by “#” after the device name (e.g., S1#).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: How do you enter and exit Global Configuration mode?

A

A: Enter from Privileged EXEC by typing configure terminal; exit to leave. Recognized by “(config)#” after device name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: How do you enter and exit Interface Subconfiguration mode?

A

A: From global configuration, type interface [interface_id]; exit to leave. Recognized by “(config-if)#”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Q: How do you enter and exit Line Subconfiguration mode?

A

A: From global configuration, type line vty 0 15; exit to leave. Recognized by “(config-line)#”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Q: What is the basic command structure in IOS?

A

A: Commands may include arguments that are changed based on network parameters. Example: ping 192.168.10.5 (the IP can change).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Q: What are the main access methods to configure IOS devices?

A

A:
Console (direct, wired)
Remote, unencrypted (telnet)
Remote, encrypted (ssh)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q: How do you set the hostname of a device?

A

A: In global config mode: hostname [your_device_name]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q: How do you set privileged EXEC mode passwords?

A

A:
Unencrypted: enable password [password]
Encrypted: enable secret [password]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q: How do you set password for console connection?

A

A:
line console 0
password [password]
login

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Q: How do you set password for remote (vty) connection?

A

A:
line vty 0 15
password [password]
login

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Q: How do you set a legal notification banner?

A

A: banner motd @[message]@

17
Q

Q: How do you save the running configuration to startup configuration (NVRAM)?

A

A:
copy running-config startup-config
or
write memory

18
Q

Q: How do you encrypt passwords in configuration files?

A

A: service password-encryption

19
Q

Q: What is SVI (Switch Virtual Interface) and its purpose?

A

A: SVI is a virtual (not physical) interface on switches; it supports IP addressing and allows remote management.

20
Q

Q: Do switches require configuration for console connections?

A

A: No, console connections do not require prior configuration.

21
Q

Q: What is required for remote management of a switch?

A

A:
Configure an IP address on the SVI (usually vlan 1)
Set vty password and enable login
(Optional) Set privileged EXEC password

22
Q

Q: How do you configure telnet on a Cisco switch?

A

A:
Enter SVI configuration:
interface vlan 1
ip address [ip] [subnet_mask]
no shutdown
Set vty password:
line vty 0 15
password [password]
login
Set enable password/secret

23
Q

Q: How do you initiate a telnet session?

A

A: From another device, type: telnet [ip-address]

24
Q

Q: How do you configure telnet on a Cisco router?

A

A:
Assign IP to interface (e.g., g0/0):
interface g0/0
ip address [ip] [subnet_mask]
no shutdown
Set vty password:
line vty 0 15
password [password]
login
Set enable password/secret

25
Q: How do you configure a default gateway on a Cisco switch?
A: In global config mode: ip default-gateway [gateway_ip]
26
Q: When is a default gateway required on a switch?
A: Required if you want to access devices in different networks remotely.
27
Q: What does ‘show running-config’ command do?
A: Displays the current configuration in RAM.
28
Q: What does ‘show ip interface brief’ command do?
A: Shows the IP addresses and status of all ports/interfaces.
29
Q: What do ‘ping’, ‘traceroute’ commands do?
A: They check network connectivity between devices.
30
Q: What does ‘show version’ command do?
A: Displays information about the device’s IOS version.
31
Q: What does ‘write erase’ command do?
A: Erases the startup configuration in NVRAM.
32
Q: What does ‘reload’ command do?
A: Reboots/restarts the device.