Vol 1 Part 3: Implementing Ethernet LANs Flashcards

1
Q

How do you changes the bridge ID manually for an interface?

A

By using the priority command

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

How does a switch determine which port will be the root port?

A

All of the links from that port to the root bridge are added together. The lowest value wins, and that port is now the root port.

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

What is the vendor neutral EtherChannel version known as?

A

Link Aggregation Control Protocol (LACP)

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

In Rapid STP, what state replaced the disabled, blocking, and listening states?

A

Discarding state

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

What protocol governs trunking ports?

A

802.1Q

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

What command do we use when we want to see all the the VLANs in the VLAN database and which port they are assigned to?

A

Show vlan brief

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

The priority multiple is in multiples of what number?

A

4096

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

What are the two types of STP?

A

802.1d and 802.1w (aka the newer and faster protocol. Also known as rapid STP).

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

The non-root switches require to have what between itself and the root switch?

A

Administrative distance

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

RSTP has 5 roles and 3 states. What are they?

A

Roles: Root, alternate, designated, backup, disabled
States: discarding, learning, forwarding

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

Who owns the VLAN Trunking Protocol (VTP)?

A

Cisco

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

What are the different cost values with STP?

A

1, 2, 19, 100

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

STP uses roles and states. What are the 3 roles and what are the 5 states?

A

Roles: root, designated, blocking
States: listening (blocks and does not forward), learning (blocks and does not forward, but learns the MAC addresses of frames received), blocking, forwarding, disabled.

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

What is required when connecting multiple switches that will pass multiple VLANs?

A

Trunking

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

A tag contains what with respect to the VLAN?

A

The VLAN ID, also known as the VLAN number

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

What is BPDU guard and why do we use it?

A

Disables a port if any BPDUs are received. This is good for ports that are supposed to be access ports and helps prevent attacks and people dropping in on a switch to take over the network.

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

What is the max age for hellos in STP and RSTP?

A

STP: 10 times the hello timer (20 seconds by default)
RSTP: 3 times the hello timer (6 seconds by default)

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

How are VLANs identified on the trunk link?

A

A tag

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

What command do you use to enable EtherChannel?

A

channel-group “number” mode on
Remember to use the same number for all commands on the same switch you are configuring EtherChannel on. The channel-group number need not be the same from switch to switch however.

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

What does PortFast do?

A

It puts a switchport into forwarding mode immediately

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

What is load distribution/balancing with respects to EtherChannel?

A

Balance traffic across active links to prevent hardware from being overwhelmed and slowing down. This creates a faster and more efficient network.

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

What is Dynamic Trunking Protocol (DTP)?

A

Determines if the port should be trunking or not by sending DTP messages

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

What does a designated port do?

A

It is a port that can be utilized to communicate between switches.

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

Two VLANs exiting on a single switch indicates what with respect to broadcast domains?

A

We have two broadcast domains. In a sense, we have two switches on one switch.

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

What items must be the same for interfaces to participate in port-channel (EtherChannel)?

A

Speed, Duplex, Operational State (access or trunk), access port and access VLAN, trunk port and allowed VLANs, trunk port native VLAN, STP interface settings

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

What is the default mode for load balancing known as?

A

src-mac

ex. port-channel load-balance src-mac

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

After a root bridge is elected, what will STP do with all of the interfaces on the switch?

A

The interfaces are all put in a forwarding state

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

What does the switchport access command do?

A

It assigns which specific VLAN we are referencing with regards to the mode we are giving it

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

What does the switchport access mode command do?

A

It grants access mode to the VLAN we referenced with the switchport access command

30
Q

What error message do you get if your interface settings are not the same between two switches attempting to conduct EtherChannel?

A

error-disabled. Once you fix the issue, you must bounce the port to bring the interface back up.

31
Q

What is EtherChannel and why do we use it with respect to STP?

A

Combining several parallel segments of equal speed (up to 8) between the same pair of switches. STP treats EtherChannel as a single port. This creates redundancy, as you have up to 7 ports that can go down, but STP treats that EtherChannel as a single port.

32
Q

What protocol is used between two switches in order to trunk?

A

DTP

33
Q

When trunking a port, what is inserted into the frames header by the 802.1Q protocol?

A

A 4 byte header containing the 12 bit VLAN ID.

34
Q

What command allows you to permanently store a priority value on a switch?

A

spanning-tree vlan “X” priority “X”

35
Q

What is a bridge protocol data unit (BPDU)?

A

A message that a switch sends from one switch to another switch in order to detect loops. They are used to create the spanning tree.

36
Q

Originally, the STP/RSTP bridge ID Header (BID) consists of what?

A

A 2 byte priority field and a 6 byte System-ID field based on the MAC address.

37
Q

What is the most common way to configure STP?

A

Rapid Per-VLAN Spanning Tree (Rapid PVST+)

38
Q

What is the port on the switch referred to as if the switch has administrative distance between itself and the root switch?

A

root port

39
Q

What does a root port do?

A

It is the port used on a switch to communicate with the root switch. If this port is not working, the switch will try to use a designated port.

40
Q

Regular switch to switch connections when trunking normally done in what mode?

A

Access mode

41
Q

How many root ports can a switch have?

A

1

42
Q

What is the first thing STP will do when creating the layer 2 map?

A

Elect a root bridge/switch (bridge is just an older term for a switch)

43
Q

What command is used for EtherChannel Load Distribution/Load Balancing?

A

port-channel load-balance method

44
Q

How do you configure a VLAN?

A
  1. Conf t
  2. VLAN number name name of VLAN (vlan 10 name admin)
  3. interface type number (interface FastEthernet0/1)
  4. switchport access vlan number
  5. switchport access mode
45
Q

If two switches must pass more than one VLAN, what must we ensure that at least one side is configured to do?

A

trunk

46
Q

Ports connected to a hub are known as?

A

A shared port

47
Q

What is InterSwitch Link (ISL)?

A

A cisco proprietary way to trunk switches. It is older than 802.1Q. REMEMBER! Switches in auto mode will default to ISL, and you cannot use ISL on one side and 802.1Q on the other.

48
Q

How many root ports can the root bridge have?

A

0! All of its ports are designated ports so it can reach out and communicate with other switches.

49
Q

What administrative mode are switchports in by default with respect to trunking?

A

Dynamic auto

50
Q

What command tells the switch to set its priority low enough to become root?

A

spanning-tree vlan “X” root primary

51
Q

How does a switch determine which port will be the designated port?

A

Similar to the root port, but it’s the port that has the lowest cost to the root on the LAN segment (From one switch to another).

52
Q

When STP has finished calculating layer 2 network paths and all ports are forwarding or blocking, STP is said to be what?

A

converged

53
Q

What command can we use when we want to see VLAN IDs, but the show interfaces trunk command wont suffice?

A

show interfaces interface number switchport

54
Q

What does VTP do?

A

VTP propogates VLAN information across multiple switches via trunking. The switch acts as a server and uses a database as to what the other switches should have. VTP updates are used to determine which VLANs to add, remove, or change.

55
Q

What will the interfaces on the switch do if it already has a root port and a designated port?

A

The switch will set all of the interfaces on the switch to blocking.

56
Q

What is the default priority value assigned to each switch?

A

32,768

57
Q

What is another name for a LAN?

A

Broadcast Domain

58
Q

How often are BPDUs sent in regular STP?

A

Every 2 seconds. These Hellos are forwarded by every non-root switch on all designated ports.

59
Q

What changed with respect to the bridge ID between the old version of STP and current versions?

A

The priority header is still 2 bytes, but it is divided into a 4 bit priority multiple and a 12 bit system ID extension which typically holds the VLAN ID. The System ID portion remains the same at 6 bytes.

60
Q

What is the cost referred to as between the a switch and a root switch if it has administrative distance?

A

root cost

61
Q

What does a blocked port do?

A

You can receive, but not send out. If prevents traffic from being sent to

62
Q

What command enables your switch to become the root should the root bridge fail?

A

spanning-tree vlan “X” root secondary

63
Q

Explain dynamic desirable vs dynamic auto?

A

Dynamic desirable initiates negotiation messages and responds to negotiation messages to dynamically choose whether to start using trunking. Dynamic auto passively waits to receive trunk negotiation messages as opposed to initiating them.

64
Q

What is the purpose of the Spanning Tree Protocol?

A

To create a loop free environment on a switch. This includes broadcast storms (repeatedly sending a frame on the same link), MAC table instability (continuous updates of MAC Addresses), and multiple frame retransmission (multiple copies of the same frame are delivered to the intended host)

65
Q

When using a Cisco phone, what vlan is used for switchport access mode and what vlan is used for switchport voice mode?

A

Access is on vlan 59, voice is on vlan 58

66
Q

Cisco has a proprietary version of EtherChannel known as what?

A

Port Aggregation Control Protocol (PAgP)

67
Q

What is the difference between RSTP and RPVST+ with regards to VLANs and BPDUs?

A

RSTP uses the native VLAN with one single spanning tree and no header/tag while RPVST+ sends the BPDUs in that VLAN with tagging (802.1Q) utilizing a separate spanning tree for each VLAN.

68
Q

How do BPDUs work with respect to changing the Spanning Tree?

A

The root sends out a Hello BPDU with a root cose of 0 out on all working interfaces. Non-root switches receive the hello on their root ports. Afterwards, they change the BPDU with their BID as the sender, but keeps the root BID the same and sends it out on all designated ports. This continues on until something changes.

69
Q

The lowest numeric value of the bridge ID is what?

A

The root switch

70
Q

How are tiebreakers determined for designated ports?

A
  1. Lower BID wins

2. Lowest port number wins

71
Q

When trying to compare values in the bridge ID, what portion of the bridge ID is examined first?

A

Priority is first, system-ID is second

72
Q

How do we turn off DTO?

A

switchport mode access

switchport nonegotiate