Free Cisco ENCOR Lan Switches Question and Answers — Questions and Answers
Question 1: Change the status of the DUPLX (duplex) LED. Choose the appropriate response(s) for the matching hue and description.
- LED is green means full duplex (Correct answer)
- LED is OFF means no duplex (Correct answer)
- LED is green means half duplex
Correct answer: LED is green means full duplex
On Cisco switches, the DUPLX LED indicates the duplex status of an interface. A green LED signifies that the interface is operating in full-duplex mode, meaning it can send and receive data simultaneously. If the LED is off, it indicates that the interface is not operating in any duplex mode, often implying no link or a problem with the connection.
Question 2: This places the cursor on the command's first character in the presently visible command string.
- Ctrl-A (Correct answer)
- Backspace
- Left arrow or Ctr-B
- Down arrow or Ctrl-N
Correct answer: Ctrl-A
In Cisco IOS CLI, the `Ctrl-A` key combination is a common shortcut used to move the cursor to the beginning of the current command line. This allows users to quickly edit or review the start of a command without having to repeatedly press the left arrow key. It's a fundamental text editing shortcut also found in many other command-line interfaces and text editors.
Question 3: On a switch, debugging is enabled. For instance, I wish to debug the IP ICMP packet switch. Debugging would end if I would
- Type no debug IP ICMP
- Type undebug all
- Type no debug all
- Reload the switch
- All of the above (Correct answer)
Correct answer: All of the above
All the listed methods can effectively stop debugging on a Cisco switch. Typing `no debug IP ICMP` specifically disables the debug for IP ICMP. `undebug all` or `no debug all` globally disables all active debugging sessions, and reloading the switch also clears all runtime configurations, including debugging, as debug commands are not persistent across reloads by default.
Question 4: This advances the cursor in the command that is currently removing characters.
- Ctrl-E
- Right arrow or Ctrl-F
- Backspace (Correct answer)
- Down arrow or Ctrl-N
Correct answer: Backspace
The Backspace key is used to move the cursor backward one character at a time while simultaneously deleting the character at the cursor's previous position. This allows for immediate correction of typing errors by removing characters as the cursor retreats. It's a standard text editing function across most computing environments, including the Cisco IOS CLI.
Question 5: Switch(config)#? The command above will
- List all available commands on the switch
- List only available commands in the ENABLE mode
- List only available commands in the USER mode
- List only available commands in the CONFIGURATION mode (Correct answer)
Correct answer: List only available commands in the CONFIGURATION mode
In Cisco IOS, typing a question mark (`?`) after a command or at a prompt provides context-sensitive help. When entered at the `Switch(config)#` prompt, it will display a list of all commands that are available specifically within the global configuration mode. This helps users discover valid commands and their syntax for the current operational context.
Question 6: The overall system state is implied by the switch status from LED to SYST (system). The switch is not powered on if the light is off. If the light is on, the switch is activated and working (Cisco IOS has been loaded). What happens if the light is ON but the color is AMBER?
- Indicates the switch is not forwarding frames
- Device connected to the switch is turned off or broken
- POST failed and Cisco IOS did not load (Correct answer)
- Switch is on but Cisco IOS did not load
Correct answer: POST failed and Cisco IOS did not load
On Cisco switches, the SYST LED indicates the overall system status. If the SYST LED is solid amber (or orange), it typically signifies that the Power-On Self-Test (POST) has failed. This means the switch encountered a hardware issue during startup, preventing the Cisco IOS operating system from loading successfully and the switch from becoming operational.
Question 7: You would require the following in order to access a switch's CLI using Telnet/SSH:
- A MAC address
- Console cable
- Rollover cable
- An IP address (Correct answer)
- RDP session
Correct answer: An IP address
To remotely access a switch's Command Line Interface (CLI) using Telnet or SSH, the switch must have an IP address configured on one of its interfaces (e.g., a VLAN interface). Telnet and SSH are network protocols that rely on IP addresses to establish a connection between the client (your computer) and the server (the switch). Without an IP address, the switch cannot be reached over the network for remote management.
Question 8: To connect to the Cisco switch, you would utilize a _______ cable.
- RJ-48 straight through
- RJ-45 Ethernet
- UTP rolled cable (Correct answer)
- RJ-45 crossover
Correct answer: UTP rolled cable
A UTP rolled cable, commonly known as a rollover or console cable, is specifically used to connect a computer's serial port (or a USB-to-serial adapter) to the console port of a Cisco switch or router. This cable allows direct, out-of-band access to the device's Command Line Interface (CLI) for initial configuration and troubleshooting. It has a specific pinout that "rolls over" the transmit and receive pins.
Question 9: You return to your command line with all characters after doing this. When messages clog up the screen, this is helpful.
- Ctrl-R (Correct answer)
- Right arrow or Ctrl-F
- Left arrow or Ctr-B
- Ctrl-A
Correct answer: Ctrl-R
In Cisco IOS CLI, pressing `Ctrl-R` (Redraw Line) is used to redraw the current command line. This is particularly useful when unsolicited console messages or debug output interrupt your typing, causing the command you are entering to become garbled or pushed off-screen. `Ctrl-R` brings the command back into view, allowing you to continue typing without losing your progress.
Question 10: This advances the cursor in the command that is now being displayed without deleting any characters.
- Ctrl-A
- Left arrow or Ctr-B (Correct answer)
- Ctrl-R
- Down arrow or Ctrl-N
Correct answer: Left arrow or Ctr-B
The left arrow key or `Ctrl-B` (Backward) moves the cursor one character to the left on the current command line without deleting any characters. This allows for precise navigation within the command string to make edits or corrections at specific points. It's a standard text editing shortcut for moving the cursor backward.
Question 11: These keys advance you to the more recent commands if you have delved too deeply into the history buffer.
- Ctrl-A
- Down arrow or Ctrl-N (Correct answer)
- Ctrl-D
- Ctrl-R
Correct answer: Down arrow or Ctrl-N
In Cisco IOS CLI, the `Down arrow` key or `Ctrl-N` (Next) is used to navigate forward through the command history buffer. If you've pressed the `Up arrow` multiple times to recall older commands, pressing `Down arrow` or `Ctrl-N` will move you to more recent commands in the history, allowing you to find the desired command more efficiently.
Question 12: Removes one character0
- Ctrl-D (Correct answer)
- Ctrl-R
- Left arrow or Ctr-B
- Ctrl-E
Correct answer: Ctrl-D
In Cisco IOS CLI, `Ctrl-D` is a common shortcut used to delete the character at the current cursor position without moving the cursor. This differs from `Backspace`, which deletes the character to the left of the cursor. `Ctrl-D` is useful for deleting characters directly under the cursor, similar to the 'Delete' key on a standard keyboard.
Question 13: The difference(s) between using Telnet and SSH to remotely access a SWITCH's CLI is/are
- Telnet requires rollover cable while SSH requires console cable
- Telnet requires an IP to access the switch but SSH requires an IP and MAC address for security purposes
- SSH encrypts data while Telnet does not (Correct answer)
- Telnet uses port TCP port 23 while SSH uses TCP port 22 (Correct answer)
Correct answer: SSH encrypts data while Telnet does not
The primary difference between Telnet and SSH for remote access is security. SSH (Secure Shell) encrypts all data transmitted between the client and the switch, protecting sensitive information like passwords from eavesdropping, while Telnet sends data in plain text. Additionally, they use different default TCP ports: Telnet uses port 23, and SSH uses port 22, which is a key distinction for network configuration and firewall rules.
Question 14: Each end of the rolled (rollover or console) cable that links a PC to a console port on a Cisco switch connects to either a PC or the console port. What belongs to what?
- RJ-45 interface goes to the PC while the serial interface goes to the console
- RJ-45 interface goes to the console while the serial interface goes to the PC (Correct answer)
- RJ-45 interface goes to both the console and the PC
- Serial interface goes to both the console and the PC
Correct answer: RJ-45 interface goes to the console while the serial interface goes to the PC
A Cisco console (rollover) cable typically has an RJ-45 connector on one end and a DB-9 (serial) connector on the other. The RJ-45 end plugs into the console port of the Cisco switch or router, which is an RJ-45 jack. The DB-9 serial end connects to the serial port (COM port) of a PC, or more commonly today, to a USB-to-serial adapter connected to a PC.
Change the status of the DUPLX (duplex) LED.
Choose the appropriate response(s) for the matching hue and description.