Layer 2 Networking Flashcards

1
Q

What is 802.1D

A

Common spamming tree

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

What are the port roles for STP (802.1D)

A

Disabled – Port is admin shut down.
Blocking – port is not forwarding any traffic to prevent loops it will on receive BPDU’s
Listening – port is still blocking (Can send and receive BPDUs)
Learning – The port can now modify the MAC address table. It only forwards BPDUs
Forwarding – the port can now forward all traffic and fully update MAC table.
Broken – Port detects problem and port is broke until fixed.

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

What are the port types for STP (802.1D)

A

Route Port (RP) – the route port is the port that faces or connects to the route bridge on any switch in the spanning tree topology. There should only be one per VLAN per switch.

Designated Port (DP) – A port that receives and send BPDUs to other switches. They provide connectivity to downstream switches, there should only be one per link.

Blocking Port (BP) – A port not forwarding traffic due to STP calculations.

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

how many types of BPDUs are there and what is their purpose?

A

Configuration BPDU - includes all info on the STP topology and timers.

Topology change BPDU - information relevant to recent topology changes.

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

What is the default system priority for STP?

A

32768

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

What is the STP ‘max age timer’ and what is the default value?

A

Maximum amount of time a switch will hold on to the BPDU information before assuming the root sending the BPDUs is down.

Default timer 20 seconds

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

What is the ‘hello timer’ and what is the default value

A

The time interval between BPDU packets been sent out.

default is 2 seconds.

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

What is the ‘forward delay’ and what is the default value

A

The amount of time the STP switch stays in listening & learning state.

default is 15 seconds.

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

What determines which switch becomes the root bridge?

A

The switch with the lowest root bridge priority.

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

How is the root port identified on a bridge, if there is a match what next?

A
  1. Interface with the lowest STP path cost to the root bridge.
  2. Interface with the lowest system ID.
  3. Interface with the lowest MAC address.
  4. Lowest port priority of neighbouring switch.
  5. Lowest port number of local switch.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The designated/blocking ports are decided on the same method as the root port.

True or False.

A

True.

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

What happens when there is a topology change? e.g. link failure.

A
  1. Link failure detected on a switch.
  2. hat switch sends out a configuration BPDU with the TCN flag set.
  3. All switches flush there MAC address tables of MACs older than 15 seconds (this is in order to maintain comms with switches still active.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is 802.1W

A

RSTP

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

What are the 802.1W RSTP port states

A

Discarding
Learning
Forwarding

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

What is the benefit of PVST/PVST+ over 802.1D

A

It allows multiple spanning tree instances on a Layer 2 topology by having one vlan per spanning tree topology.

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

What is Rapid PVST

A

It combines RSTP quick convergence with cisco’s PVST protocol to allow multiple vlan’s in the layer 2 topology.

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

What is the main benefit over MST over PVST

A

MST allows multiple vlans with the same spanning tree instance to be mapped to one Multi spanning tree instance therefore reducing CPU resources.

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

What is a MST region

A

A group of MST switches with the same configuration parameters set.

19
Q

When using the STP root primary and root secondary command to set the root bridge priority, what are the values of primary and secondary?

A

Primary: 24576
Secondary: 28672

20
Q

What is the default for STP port priority

A

128

21
Q

What does the root guard command do?

A

Prevents the port from becoming a root port, this is to prevent downstream switches from becoming the root bridge.

22
Q

What happens if a superior BPDU is received on a port with Root guard configured?

A

Port is errdisabled

23
Q

What does the command STP portfast do?

A

This is used to increase convergence speed on network edge ports as it puts the port from blocking to forwarding immediately.

24
Q

What does BPDU guard do?

A

If a BPDU is received on a port with the guard the port will errdisable

25
Q

What does the BPDU filter command do?

A

Prevents BPDUs from being sent out of a port.

26
Q

What is UDLD used for?

A

Fibre optic link monitoring to prevent L2 loops.

27
Q

What are the different modes of UDLD

A

UDLD aggressive - if 1 frame not ack, 8 quick frames sent if not ack errdiabled.

UDLD normal - no ack

28
Q

What is VTP?

A

Vlan trunking protocol is an old protocol used to deploy vlans to a L2 topology before APIs useful with a lot of switches.

29
Q

What are the different VTP roles?

A

VTP server - sends out VLAN updates to all the clients.

VTP client - sets its VLANs to match the server.

VTP transparent - allows VTP comms through itself but does not partake in VTP.

VTP off - no VTP comms allowed through the device.

30
Q

How many VTP advertisement types are there and what are they?

A

3.

VTP summary
VTP subset
VTP client request

31
Q

What is the VTP summary advertisement?

A

Every 300 seconds or when VLAN added.

This is to compare with other switches to ensure that other switches VLAN databases are the same by comparing the revision number.

Includes:
1. VTP version
2. VTP domain
3. VTP configuration revision.

32
Q

What is the VTP subset advertisement?

A

After any VLAN change occurs.

Includes:
ALL relevant information on the VLAN.

33
Q

What is the VTP client request advertisement?

A

Requested by the client for more information on a specific VTP domain.

34
Q

What is the warning with VTP

A

Check VTP configuration number before adding a switch to a VTP domain as higher number can send out VLAN updates including deleting them!

35
Q

What is DTP used for

A

Dynamically communicate to determine whether 2 ports can from a trunk link.

36
Q

How often does DTP advertise to maintain relationship?

A

30 seconds.

37
Q

What are the different trunk modes

A

switchport mode trunk - static
switchport mode dynamic desirable - DTP
switchport mode auto - DTP

38
Q

What does switchport nonegotiate do

A

prevents a static switchport from negotiating with a dynamic DTP port.

39
Q

What is the purpose of Ether-channels

A

To aggregate multiple links between the same devices.

40
Q

What are the different types of ports that can have a EtherChannel configured on them

A

Routed
Switchport
Trunk

41
Q

What are the 3 ways to configure a etherchannel?

A

Static
PAgP
LACP

42
Q

What are the modes for PAgP

A

desirable
auto

43
Q

What are the modes for LACP

A

active
passive

44
Q
A