2 - Ethernet LANs Flashcards

1
Q

What is the default baud rate for a console port?

A

9600 bits/second

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

What are the default console port settings?

A

9600 baud. No hardware flow control. 8N1 (8bit ASCII, No parity bits, 1 stop bits)

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

What are three common CLI access methods?

A

Console, Telnet, SSH

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

What is another name for User mode?

A

EXEC mode

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

What is another name for privileged mode and what console prompt denotes this mode?

A

Enable mode. #

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

What mode do you have to be in to reload a switch?

A

Enable mode

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

What two points in the login process can you configure simple passwords for?

A
  1. When the user connects from the console

2. When any user moves to Enable mode

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

What command is used to set a password to enter Enable mode?

A

enable secret password123

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

What commands would you use to set a password on the console line?

A

line console 0
login
password password123

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

How do you move from Enable mode to Global Config mode?

A

Use the config command

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

What command do you use to move back to Global Config mode from other sub-command modes?

A

exit

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

Where are Cisco IOS images stored by default on devices?

A

Flash memory

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

Where is the startup configuration file stored?

A

NVRAM

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

Where is the bootstrap / boot-helper program stored?

A

ROM

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

What does the bootstrap program do?

A

Finds the full Cisco IOS image and manages the process of loading the IOS into RAM

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

What are three commands you can use to erase the startup config file?

A

erase startup-config
write erase
erase nvram:

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

How does a Switch learn a MAC address?

A

By examining the source address of the frame it receives from a device

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

What is the CAM table?

A

Memory construct on switches to store a MAC address and the associated physical port it is on. Also stores the VLAN number

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

What are two alternative names for the CAM table?

A

Switching table. Bridging table

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

What does a switch do with a frame it receives for a destination not yet in the CAM table?

A

Floods the frame out all ports except the one it was received on, with an Ethernet broadcast address of FF:FF:FF:FF:FF:FF

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

What are the three primary features of LAN switches?

A
  1. Forward / filter Ethernet frames
  2. Preparing to forward frames by learning MACs
  3. Prevent network loops (STP)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does STP do?

A

Prevent network loops by blocking some ports from forwarding frames so that only one active path exists between any pair of LAN segments. Without it, frames could loop indefinitely, flooding process can completely congest LAN

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

What is the default VLAN for Cisco switches?

A

VLAN 1

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

What command is used to show the MAC address table on a Switch?

A

show mac address-table

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

How would you show all Dynamically added MACs on a Switch?

A

show mac address-table dynamic

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

What command would delete VLAN configuration details on a Switch?

A

delete vlan.dat

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

What does the Type column show in the output of show mac address-table on a switch?

A

How the MAC was learned, e.g. dynamically or static (entered manually)

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

How do VLANs impact switching logic?

A

For a given port, the Switch generally only forwards out frames on the VLAN that port is on

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

What command could you use to show the status of interfaces on a Switch?

A

show interfaces status

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

What command shows statistics about incoming and outgoing frames on interfaces?

A

show interfaces f0/1 counters

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

How do you view the details in a MAC address table for just a specific MAC, specific interface, and specific VLAN?

A

show mac address-table dynamic address 0200.1111.1111
show mac address-table dynamic interface f0/1
show mac-address-table dynamic vlan 1

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

What does a Switch do with respect to an incoming frame and aging?

A

Examine the source MAC, reset the inactivity timer back to 0 for that MACs entry

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

What command is used to change the MAC address table aging timer?

A

mac address-table aging-time [vlan vlan-no]

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

What does a Switch do when it needs to add a new MAC table entry but the table is full?

A

Removes the oldest entry, even if it is younger than the aging time setting

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

How do you remove a dynamic entry from a MAC table

A

clear mac address-table dynamic

  • vlan
  • interface
  • address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

What are the three main planes of a networking device?

A

Data plane
Control plane
Management plane

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

What is the main function of the data plane of a Switch?

A

The work done to forward frames generated by devices connected to the Switch. The main purpose of the switch.

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

What does the control plane do?

A

Configuration and processes that control and change the choices made by the data plane e.g. which interfaces are enabled, what speeds ports run at etc

39
Q

What does the management plane do?

A

Deals with managing the device itself.

40
Q

What is the difference between enable secret and enable password?

A

The enable secret command means the password is ‘encrypted’ (stored with MD5)

41
Q

What commands would you use to enable a password on the console?

A

line console 0
login
password pass123

42
Q

What commands would you use to enable a password on VTY lines?

A

line vty 0 15
login
password pass123

43
Q

How would you set a password for enable mode?

A

Command: enable secret pass123

44
Q

How would you enable local usernames and passwords for VTY lines?

A

username kboyle secret pass123
line vty 0 15
no password (if needed to clear)
login local

45
Q

What are AAA servers used for?

A

Authentication, Authorization, Accounting servers hold usernames and passwords for switches and routers

46
Q

What protocols would be typically used between a Switch/Router communicating to a AAA server?

A

TACAS+ or RADIUS

47
Q

What three commands are needed additionally to support SSH on a Switch?

A

hostname sw1
ip domain-name example.com
crypto key generate rsa

48
Q

Which command would you use to configure / control which protocols a switch supports on its VTY lines?

A

transport input

49
Q

How do you configure a Switch to only support SSH version 2?

A

ip ssh version 2

50
Q

What is the default protocol setting for VTY lines on Cisco routers?

A

None. You need to set it using the transport input command to enable Telnet/SSH into a router

51
Q

What commands would you use to view information about the status of SSH on a switch?

A

show ip ssh

show ssh

52
Q

What information does the show ip ssh command show? How is it different to show ssh?

A

Status information about the SSH server itself. The show ssh command lists information about connections

53
Q

What information does the show ssh command show?

A

Information about each SSH client

54
Q

Why would you need an IP address on a Switch?

A

To allow IP based management protocols e.g. SSH access, SNMP etc

55
Q

What is a SVI and what is its purpose?

A

Switched Virtual Interface. Also called a VLAN interface. Acts as the switches NIC, so an IP can be assigned.

56
Q

What is the downside of configuring the IP / mask on one VLAN interface on a Switch?

A

The switch cannot communicate outside the local subnet. Unless you set the default gateway for the Switch.

57
Q

Why would you need to set a default gateway on a Switch?

A

To allow it communicate outside the local subnet it’s on for management purposes.

58
Q

How would you configure IPv4 on a Switch?

A
interface vlan 1
ip address 192.168.1.5 255.255.255.0
no shutdown
ip default-gateway 192.168.1.1
(Optional DNS) ip name-server
59
Q

How do you configure a Switch to learn its IP from DHCP?

A

interface vlan 1
ip address dhcp
no shutdown

60
Q

How do you view DHCP information?

A

show dhcp lease

Switches don’t store DHCP learned info in the running config file

61
Q

How do you view the status of a VLAN interface on a Switch?

A

show interfaces vlan 1

62
Q

What command shows command history from the buffer?

A

show history

63
Q

How do you disable / re-enable display of log messages to the console?

A

no logging console and logging console

64
Q

What command would you use to only display log messages at appropriate times?

A

logging synchronous

65
Q

How do you change the inactivity timeout for console and VTY?

A

exec-timeout mins secs

0 0 for never

66
Q

How do you stop IOS attempting to resolve hostnames into IP addresses from the Switch console?

A

no ip domain-lookup

67
Q

What command could you use to show the status, speed, duplex, vlan, and description of interfaces?

A
show interfaces status
OR
show interfaces
OR
show interfaces F0/1 status
68
Q

How could you configure multiple interfaces at once?

A

The interface range command.

interface range Fe0/1-10

69
Q

What is the default speed and duplex configuration on Cisco Catalyst switches?

A

speed auto

duplex auto

70
Q

How does auto-negotiation work?

A

Protocol messages flow outside the normal Ethernet electrical frequencies as out of band signals over the UTP cable, where each node states what it can do, and each node picks the best options that both support

71
Q

What is a key thing about UTP wiring that auto-negotiation relies on?

A

That 10, 100, and 1000 BASE-T use the same wiring pinouts (1000BASE-T just adds to them)

72
Q

How can you disable auto-negotiation on a Switch?

A

Set both the speed and duplex manually

73
Q

What are the default fallback settings for speed and duplex if auto-negotiation fails according to the IEEE standard?

A
Slowest Speed (often 10Mbps)
Half Duplex for (10/100) otherwise Full
74
Q

What are the default settings for speed and duplex on Cisco devices if auto-negotiation fails?

A

Cisco devices can sense the Speed without auto-negotiation, but if that fails then use the IEEE default
Duplex is the same as IEEE (Half duplex for 10/100, Full otherwise)

75
Q

What is true about duplex for links with speeds equal to or faster than 1 Gbps

A

They always use Full Duplex

76
Q

How does the use of a LAN hub in a network affect auto-negotiation?

A

Hubs do not react to auto-negotiation messages, and they do not forward them. Devices must use IEEE rules, which is often 10/Half Duplex

77
Q

What does line status generally refer to?

A

If Layer 1 is working

78
Q

What does protocol status generally refer to?

A

If Layer 2 is working

79
Q

What interface status would be displayed for a line/protocol status of either 1. down/down or 2. up/down

A

notconnect

80
Q

What could an interface status of notconnect suggest?

A

Bad cable
Bad pinouts
Speed mismatch
Neighbor device or interface off or shutdown

81
Q

What would an interface status of err-disabled mean?

A

Port security has disabled the interface

82
Q

What does “a-“ mean before a speed or duplex value in the show interfaces status command?

A

Value was auto-negotiated

83
Q

What type of error would a Cisco switch record for a frame that failed FCS?

A

CRC error

84
Q

What is a Runt frame?

A

A frame that did not meet the minimum frame size requirement (64bytes inclusive of source/dest MAC and FCS)

85
Q

What is a Giant frame?

A

Frame that exceed the maximum frame size requirement (1518 bytes)

86
Q

What is the minimum frame size requirement?

A

64 bytes

87
Q

What is the maximum frame size requirement?

A

1518 bytes

88
Q

What does the Frame error counter represent?

A

Frames received that have an illegal format e.g. partial byte. Can be cause by collisions

89
Q

What is the Output errors counter representing?

A

Frames that failed to transmit and a problem occurred

90
Q

What is the Collisions counter?

A

Counter of collisions that occurred when an interface was transmitting a frame

91
Q

What is a Late Collision?

A

Subset of all collisions that occur after the 64th byte of a frame has been transmitted. In proper working LAN collisions should occur within the first 64 bytes

92
Q

What do Late Collisions potentially mean is wrong with a link?

A

Duplex mismatch

93
Q

What might be causing CRC errors to grow but not collision counters?

A

Interference on the cable