text stringlengths 0 6.55k |
|---|
Foundation Topics Section Securing the Switch CLI |
Enabling IP for Remote Access |
Miscellaneous Settings Useful in Lab |
Questions 1–3 |
4–5 |
6 |
1. Imagine that you have configured the enable secret command, followed by the enable password command, from the console. You log out of the switch and log back in at the console. Which command defines the password that you had to enter to access privileged mode? |
a. enable password b. enable secret |
c. Neither |
d. The password command, if it is configured |
2. An engineer wants to set up simple password protection with no usernames for some switches in a lab, for the purpose of keeping curious coworkers from logging in to the lab switches from their desktop PCs. Which of the following commands would be a useful part of that configuration? |
a. A login vty mode subcommand |
b. A password password console subcommand c. A login local vty subcommand |
d. A transport input ssh vty subcommand |
3. An engineer had formerly configured a Cisco 2960 switch to allow Telnet access so that the switch expected a password of mypassword from the Telnet user. The engi-neer then changed the configuration to support Secure Shell. Which of the following commands could have been part of the new configuration? (Choose two... |
a. A username name secret password vty mode subcommand |
b. A username name secret password global configuration command c. A login local vty mode subcommand |
d. A transport input ssh global configuration command |
|||||||||||||||||||| |
|||||||||||||||||||| |
128 CCNA 200-301 Official Cert Guide, Volume 1 |
4. An engineer’s desktop PC connects to a switch at the main site. A router at the main site connects to each branch office through a serial link, with one small router and switch at each branch. Which of the following commands must be configured on the branch office switches, in the listed configuration mode, to al... |
a. The ip address command in interface configuration mode b. The ip address command in global configuration mode |
c. The ip default-gateway command in VLAN configuration mode d. The ip default-gateway command in global configuration mode e. The password command in console line configuration mode |
f. The password command in vty line configuration mode |
5. A Layer 2 switch configuration places all its physical ports into VLAN 2. The IP addressing plan shows that address 172.16.2.250 (with mask 255.255.255.0) is reserved for use by this new LAN switch and that 172.16.2.254 is already configured on the router connected to that same VLAN. The switch needs to support S... |
a. The ip address 172.16.2.250 255.255.255.0 command in interface vlan 1 con-figuration mode. |
b. The ip address 172.16.2.250 255.255.255.0 command in interface vlan 2 con-figuration mode. |
c. The ip default-gateway 172.16.2.254 command in global configuration mode. |
d. The switch cannot support SSH because all its ports connect to VLAN 2, and the IP address must be configured on interface VLAN 1. |
6. Which of the following line subcommands tells a switch to wait until a show com-mand’s output has completed before displaying log messages on the screen? |
a. logging synchronous b. no ip domain-lookup c. exec-timeout 0 0 |
d. history size 15 |
Foundation Topics |
Securing the Switch CLI |
By default, a Cisco Catalyst switch allows anyone to connect to the console port, access user mode, and then move on to enable and configuration modes without any kind of security. That default makes sense, given that if you can get to the console port of the switch, you already have control over the switch physically.... |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 6: Configuring Basic Switch Management 129 |
This first topic in the chapter examines how to configure login security for a Cisco Catalyst switch. Securing the CLI includes protecting access to enable mode, because from enable mode, an attacker could reload the switch or change the configuration. Protecting user mode is also important, because attackers can see t... |
Note that all remote access and management protocols require that the switch IP configura-tion be completed and working. A switch’s IPv4 configuration has nothing to do with how a Layer 2 switch forwards Ethernet frames (as discussed in Chapter 5, “Analyzing Ethernet |
LAN Switching”). Instead, to support Telnet and Secure Shell (SSH) into a switch, the switch needs to be configured with an IP address. This chapter also shows how to configure a switch’s IPv4 settings in the upcoming section “Enabling IPv4 for Remote Access.” |
In particular, this section covers the following login security topics: |
■ Securing user mode and privileged mode with simple passwords ■ Securing user mode access with local usernames |
■ Securing user mode access with external authentication servers |
■ Securing remote access with Secure Shell (SSH) |
6 |
Securing User Mode and Privileged Mode with Simple Passwords By default, Cisco Catalyst switches allow full access from the console but no access via |
Telnet or SSH. Using default settings, a console user can move into user mode and then privi-leged mode with no passwords required; however, default settings prevent remote users from accessing even user mode. |
The defaults work great for a brand new switch, but in production, you will want to secure access through the console as well as enable remote login via Telnet and/or SSH so you can sit at your desk and log in to all the switches in the LAN. Keep in mind, however, that you should not open the switch for just anyone to ... |
Most people use a simple shared password for access to lab gear. This method uses a pass-word only—with no username—with one password for console users and a different pass-word for Telnet users. Console users must supply the console password, as configured in console line configuration mode. Telnet users must supply t... |
1 Console Password |
User Mode |
2 vty Password |
Enable Password |
Enable Mode |
Figure 6-1 Simple Password Security Concepts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.