Lecture 2. Basic IOS configurations Chapter 2 Flashcards
(32 cards)
Q: What is a router and what is its function?
A: A router (e.g., Cisco 2900 series) is a device that connects multiple networks (LANs). Each port supports the IP protocol.
Q: What is a switch and what is its function?
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.
Q: Name the main types of memory in Cisco IOS devices.
A:
RAM: Stores running configurations.
NVRAM: Stores startup configurations.
Flash: Stores system files.
Q: What are the three main IOS modes and their prompt signs?
A:
User EXEC mode: “>” (e.g., S1>)
Privileged EXEC mode: “#” (e.g., S1#)
Global configuration mode: “(config)#” (e.g., S1(config)#)
Q: How do you enter and exit User EXEC mode? How do you recognize it?
A: Press enter to enter; exit to leave. Recognized by “>” after the device name (e.g., S1>).
Q: How do you enter and exit Privileged EXEC mode?
A: Type enable to enter; exit, end, or disable to leave. Recognized by “#” after the device name (e.g., S1#).
Q: How do you enter and exit Global Configuration mode?
A: Enter from Privileged EXEC by typing configure terminal; exit to leave. Recognized by “(config)#” after device name.
Q: How do you enter and exit Interface Subconfiguration mode?
A: From global configuration, type interface [interface_id]; exit to leave. Recognized by “(config-if)#”.
Q: How do you enter and exit Line Subconfiguration mode?
A: From global configuration, type line vty 0 15; exit to leave. Recognized by “(config-line)#”.
Q: What is the basic command structure in IOS?
A: Commands may include arguments that are changed based on network parameters. Example: ping 192.168.10.5 (the IP can change).
Q: What are the main access methods to configure IOS devices?
A:
Console (direct, wired)
Remote, unencrypted (telnet)
Remote, encrypted (ssh)
Q: How do you set the hostname of a device?
A: In global config mode: hostname [your_device_name]
Q: How do you set privileged EXEC mode passwords?
A:
Unencrypted: enable password [password]
Encrypted: enable secret [password]
Q: How do you set password for console connection?
A:
line console 0
password [password]
login
Q: How do you set password for remote (vty) connection?
A:
line vty 0 15
password [password]
login
Q: How do you set a legal notification banner?
A: banner motd @[message]@
Q: How do you save the running configuration to startup configuration (NVRAM)?
A:
copy running-config startup-config
or
write memory
Q: How do you encrypt passwords in configuration files?
A: service password-encryption
Q: What is SVI (Switch Virtual Interface) and its purpose?
A: SVI is a virtual (not physical) interface on switches; it supports IP addressing and allows remote management.
Q: Do switches require configuration for console connections?
A: No, console connections do not require prior configuration.
Q: What is required for remote management of a switch?
A:
Configure an IP address on the SVI (usually vlan 1)
Set vty password and enable login
(Optional) Set privileged EXEC password
Q: How do you configure telnet on a Cisco switch?
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
Q: How do you initiate a telnet session?
A: From another device, type: telnet [ip-address]
Q: How do you configure telnet on a Cisco router?
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