NE - Configuring Cisco Devices - CLI

¡Supera tus tareas y exámenes ahora con Quizwiz!

Ctrl Shift 6

All purpose shortcut used to abort DNS lookups, traceroutes, pings.

ip default-gateway 192.168.10.1

Enter this global config command to give the switch a default gateway of 192.168.10.1 (address of the router)

optional

In CLI command syntax, square brackets [] indicate that the value is ____

presented

In CLI command syntax, text which appears in bold indicates that you must enter the value exactly as ____

space and question mark [Switch(Config)# interface ?]

Let's say you know the "interface" command but can't remember the next parameter, you can press ___ then ___ and CLI will suggest the parameters that can follow the command.

configure terminal

What command do you type to enter global configuration mode?

service password-encryption

What command do you use to secure all passwords in the config file?

banner motd "No unauthorized access"

What command do you use to set the legal notification to "No unauthorized access"?

line console 0 password cisco login

What commands would you use to secure user EXEC mode with the password "cisco"?

Switch(config-line)# interface FastEthernet 0/1 Switch(config-if)#

You can also move directly from one sub-configuration mode to another. Notice how after the network device name, the command prompt changes from (config-line)# to (config-if)#.

username admin secret ccna

Configuring SSH involves setting user authentication. To authenticate locally, you create a username and password. Create a user called "admin" and password "ccna"

show running-config show interfaces show arp show ip route show protocols show version

Here are some common show commands:

SSH connections

The "transport input ssh" command configures the device to use ONLY ____

User EXEC Mode (eg, Router> Switch>)

This CLI mode has limited capabilities but is useful for basic operations. It is identifiable by the prompt that ends with the > symbol.

line vty 0 4 password cisco login

This command is used to secure remote access (Telnet/SSH). For this example, set the remote access password to cisco.

enable secret class

This command sets an encrypted password for privileged EXEC. Set the password to "class".

copy running-config startup-config

This enable mode EXEC saves the configuration.

show ip ssh

Use this command to verify that the switch supports SSH

space bar

At the -----more----- prompt what do you press to display the next screen?

required

In CLI command syntax, braces {} indicate that the element is ___

you

In CLI command syntax, text which appears in italics indicates that the value must be entered by ____

show

A command which can provide information about the configuration, operation, and status of parts of a Cisco switch or router.

Interface Configuration Mode

A common sub configuration mode which is used to configure a switch port or router network interface.

Line Configuration Mode

A common sub configuration mode which is used to configure console, SSH, Telnet, or AUX access.

crypto key generate rsa

A global command which creates the keys required by SSH. Generating an RSA key pair automatically enables SSH.

Privileged EXEC Mode (eg, Router# Switch#)

A network administrator uses this mode to execute higher level configuration commands. This mode can be identified by the prompt ending with the # symbol

ENTER (key)

At the -----more----- prompt what do you press to display the next line?

[x{y|z}]

Braces and vertical lines within square brackets indicate a required choice with an optional element.

interface gigabitethernet 0/0 ip address 192.168.10.1 255.255.255.0 description Link to LAN 10 no shutdown

In config mode, enter the string of commands to give GigabitEthernet 0/0 an IP address of 192.168.10.1, a default subnet mask, a description saying "Link to LAN 10", and turn the interface on.

part or functions of the device

Global configuration mode is accessed before other specific configuration modes. From global config mode, the user can enter different sub-configuration modes to configure particular ____

For example the interface command Switch(Config)#in? interface

Context-sensitive help can be useful if you can't remember the full name of the command. You can put in a part of the command followed by a ? and it will finish the command for you

?

Context-sensitive help enables you to quickly find which commands are available in each command mode. To access context-sensitive help, simply enter a ____, at the CLI.

ip ssh version 2

The last step in configuring SSH is to enable SSH version 2. What command do you use?

no shutdown

The command which command activates the interface and is similar to powering on the interface

show ip interface brief

This command tells you the status and configuration of IP interfaces, the status and protocol should say "UP" otherwise something is wrong with configuration or cabling.

ip domain-name cisco.com

This global config command lets you configure the IP domain name of the network. This must be done for SSH. For this example, set the IP domain name to cisco.com

tab

To complete a partial command name entry, press ___

(Config)# (for example, Switch1(Config)#

To configure the device, the user must enter Global Configuration Mode. From global config mode, CLI configuration affects the operation of the device as a whole. This mode can be identified by [device name] followed by _____

K

To erase all characters from the cursor to the end of the command line pres Ctrl+___

exit

To move from any sub-configuration mode of the global configuration mode to the mode one step above it in the hierarchy of modes, enter the ____ command.

end or Ctrl+Z {eg, Switch(config-line)# end Switch#}

To move from any sub-configuration mode to the privileged EXEC mode, enter the _____ command or enter the key combination

A

To move the cursor to the beginning of the line press Ctrl+___

E

To move the cursor to the end of the line press Ctrl+___

hostname R1

To rename the router to R1 type ___

disable

Various commands are used to move in and out of command prompts. To move from privileged EXEC mode to user EXEC mode use the _________ command

enable

Various commands are used to move in and out of command prompts. To move from user EXEC mode to privileged EXEC mode, use the ________ command.

line vty 0 15 transport input ssh login local

When configuring SSH, you must enable the SSH protocol on the vty lines and set them require local authentication for SSH connections from the local username database. Do this for vty lines 0 to 15.

secure

When configuring SSH, you must generate an RSA key and a modulus length must be entered. A longer modulus length takes longer to generate and use but is more ___

Ctrl C

When in any config mode, use this shortcut to end the config mode and return to privileged EXEC mode. Or abort back to command prompt from setup mode.

Ok

When using the CLI, the mode is identified by the command-line prompt that is unique to that mode. For example, the default prompt for line configuration mode is Switch(config-line)#


Conjuntos de estudio relacionados

AP European History Semester 1 Final (Flash Cards)

View Set

US BANK Web Training (A/O / B/O)

View Set

Pernicious anemia, PUD, gastritis, hep

View Set