Using CLI Flashcards

1
Q

Cabling the console connection

A

Consist of three main components

  1. Physical console port on the switch
  2. Physical serial port on the PC
  3. Cable that works with console and serial ports
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Different forms of connection

A

SW1 - Host

  1. RJ45 Console on SW1
  2. Rollover cable
  3. Serial port on Host

SW2 - Host

  1. RJ45 Console on SW2
  2. Rollover cable
  3. USB Converter, USB Cable
  4. USB Port on Host

SW3 - Host

  1. USB Console on SW3
  2. USB Cable
  3. USB Port on Host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Console port settings

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

Accessing CLI with Telnet

A

Telnet allows user to connect to another device’s CLI, Traffic flows over the same IP network that the network the devices are working on

Telnet uses the concept of a telnet client and a telnet server. A telnet client, accepts keyboard input from user and send those commands to the Telnet server. Telnet server accepts the text, interprets the text as a command and replies back

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

Issue with Telnet

A

Poses a security risk in production network, sends all data as clear text data

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

Pros of SSH

A

SSH is a more secure version of Telnet, encrypts the contents of all messages, including the passwords, avoiding the possibility of someone capturing packets in the network and stealing the password

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

Three CLI access mode

A

EXEC mode - Allows the user to look around but not break anything

Enable mode - Moves the user from user mode to enable mode, allow powerful commands to be executed

Both mode above does not disrupt switch operations or config

Global Config mode - Commands that tell the switch the details of what to do and how to do it

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

Reload command

A

reload

Tells the switch to reinitialize or reboot IOS

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

Show running-config

A

Lists the current config in the switch

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

Enable secret love

A

Defines the password that all users must use to reach enable mode

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

line console 0

A

A command that identifies the console, “basically the next few commands apply to the console only”

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

login

A

Commands tells IOS to perform simple password checking

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

password

A

Defines the password the console user must type when prompted

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

Help features

A

? - All commands
command ? - describe all the first parameter option for the command

Help features are mode specific

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

debug and show commands

A

show, find the current status and list the information in messages sent to the user

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

show mac address-table dynamic

A

show all mac address in a table

17
Q

Global config submodes

A

Entering Global Config Mode:
1. config t

Accessing:

  1. interfaces, int fa 0/1
  2. line, line console 0, line vty 0 15
  3. Vlan, vlan

Configuration:

  1. hostname, hostname
  2. password, password hope (After entering into console)
  3. speed, speed (After entering interface)
18
Q

Example Command

A
configure terminal
hostname Fred
line console 0
password hope
interface fa 0/1
speed 100
exit
19
Q

Storing Switch Config Files (Memory Components) (4 Types)

A
  1. RAM; dynamic random access memory, RAM is used by the switch as a WORKING STORAGE; Stores the running config
  2. Flash Memory; Flash memory stores fully functional Cisco IOS images, Is the default location where the switch gets its Cisco IOS at boot time, Stores also the backup copies of config files
  3. ROM; Read only memory - Stores a bootstrap program that is loaded when the switch first power on
    Bootstrap program finds the full Cisco IOS image and manages the process of loading Cisco IOS into RAM, at which point Cisco IOS takes over ops of the switch
  4. NVRAM; Nonvolatile RAM stores the initial or startup configuration file that is used when the switch is first powered on and when the switch is reloaded
20
Q

Configuration File Purpose ( 2 Types )

A
  1. startup-config; Stores the initial configuration used anytime the switch reloads Cisco IOS
  2. running-config; Stores the currently used config command, Changes dynamically; Lost when power off
21
Q

Copying & Erasing Config Files

A
  1. Copy, copy running-config startup-config
  2. Erasing existing startup-config
    write erase
    erase startup-config
    erase nvram