Chapter 4 Using The Command Line Interface Flashcards

1
Q

CLI

A

Command line interface.

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

What is the name of Cisco’s operating system

A

IOS Internetwork Operating System.

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

What are the 3 most popular methods to access a switches CLI

A

Via console cable or through the LAN using SSH(secure she’ll) or Telnet.

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

What are the default console port settings

A

8N1

9600 bits/second
No hardware flow control
8-bit ASCII
No parity bits
1 stop bit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is EXEC mode

A

It is the standard user mode in Cisco’s CLI. If the CLI lists the hostname filled by a > , then the user is in EXEC mode.

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

What is Enable mode

A

Is a privileged EXEC mode that lets you execute more powerful commands. If the hostname is followed by a # , then you are in enable mode.

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

What are the 4 memory types in a switch

A

RAM
Flash
Rom
NVRAM

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

What is the RAM in a switch used for.

A

RAM or random access memory is used for the working storage. It is where the running (active) config file is stored.

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

What is flash memory used for in a switch

A

It can be either a chip or a removable memory card. This is where fully functional IOS images are stored . This is also the location where the switch gets its Cisco IOS at boot time . This memory can also be used for other files , including backup copies of config files .

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

What is ROM memory used for in a switch.

A

ROM or read only memory stores a bootstrap (or boot helper) program that is loaded when the switch first powers on. The bootstrap program then finds the IOS image and manages the process of loading into RAM, at which point the IOS takes over operation of the switch.

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

What is NVRAM used for in a switch

A

NVRAM or nonvolatile random access memory stores the initial or startup config file that is used when the switch is first powered on or reloaded.

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

Name and purpose of the two main Cisco IOS config files and where they are stored .

A

Startup-config : stores the initial configuration used anytime the switch reloads Cisco IOS. This is stored in NVRAM.

Running-config : stores currently used configuration commands. This file changes dynamically when someone enters commands in configuration mode.

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

What are the 3 ways /connector types for a console connection to a switch.

A

Serial port to RJ-45 console via rollover cable

Usb cable to usb converter to RJ-45 console via Rollover cable.

Usb cable to usb console via USB cable.

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

What are the 4 most common command prompts in config mode.

A

Global

Line

Interface

VLAN

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

What is the command for moving back between config modes

A

End or Ctl-Z

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

CLI

Line console 0

A

Global command that changes the context to console configuration mode

17
Q

CLI

Login

A

Line (console and vty) config mode. Tells IOS to prompt for a password .(no username)

18
Q

CLI

Password (pass-value)

A

Line(console and vty) config mode. Sets the password required on that line for login if the login command is also configured. (With no other parameters).

19
Q

CLI

Interface type port number

ie. Interface FastEthernet 0/0/0

A

Global command that changes the context to interface mode.

20
Q

CLI

Hostname name

Ie. hostname SW1

A

Global command that sets the switches host name, which is also used as the first part of the switches command prompt.

21
Q

CLI

Exit

A

Moves back to the next higher mode and configuration mode.

22
Q

CLI

End

A

Exits configuration mode and goes back to enable mode from any of the configuration submodes.

23
Q

CLI shortcut

Ctrl + Z

A

This is a shortcut for the end command in a CLI environment.

24
Q

CLI

No debug all

Undebug all

A

Enable mode exec command to disable all currently enabled debugs.

25
Q

CLI

Reload

A

Enable mode exec command that reboots the switcher router

26
Q

CLI

Copy running-config
Startup-config

A

enable mode exec command that saves the active config, replacing the startup–config file used when the switch initializes.

27
Q

CLI

Copy startup-config
Running-config

A

Enables mode exec command that merges the startup–config file with the currently active config file in ram

28
Q

CLI

Show running-config

A

List the contents of the running–config file.

29
Q

CLI

Write erase

Erase startup-config

Erase nvram

A

These enable mode exec commands erase the startup

–config file

30
Q

CLI

Quit

A

Exec command that disconnects the user from the CLI session.

31
Q

CLI

Show startup-config

A

List the contents of the startup–config file (initial configuration)

32
Q

CLI

Enable

A

Moves the user from the user mode to enable (privilege mode) and prompts for a password if one is configured.

33
Q

CLI

Disable

A

Moves the user from enable mode to use remote

34
Q

CLI

Configure terminal

A

Enable mode command that moves the user into configuration mode.