Switch Trunking, STP, EtherChannel, and LAG Flashcards
What is VTP?
VLAN Trunking Protocol - not actually a trunking protocol. VTP just replicated VLAN information across switches over a trunk.
What is DTP?
Dynamic Trunking Protocol - Cisco proprietary protocol where interfaces are “desirable” or “auto” to negotiate a trunk link. This is no longer considered secure.
What is the IEEE standard designation for the VLAN protocol?
IEEE 802.1Q
What is the IEEE standard designation for EtherChannel aka Port-Channel?
IEEE 802.3AD Link Aggregation specification
What are the IEEE Protocol designations for Spanning Tree, Rapid Spanning Tree, and Multiple Spanning Tree?
Spanning Tree - 802.1d
Rapid Spanning Tree - 802.1w
Multiple Spanning Tree - 802.1s
What is a BPDU?
Bridge Protocol Data Unit - the protocol that switches use to exchange information regarding changes in topology and hierarchy.
What information may be found in a BPDU?
- Bridge ID (BID)
- Root Bridge ID
- Path Cost
- Port ID and Priority
- TCN flag
What pieces of data determine a switch’s Bridge ID
- Priority (default of 32,768)
- VLAN ID (added to Priority number)
- Base MAC Address (burned in MAC)
Example for VLAN 10: “32778 005a.ffed.0123”
What are the two types of BPDU?
Configuration BPDU - used for STP to identify root bridge, root ports, designated ports, and blocking ports.
Topology Change Notification (TCN) BPDU - used to communicate changes about the Layer 2 network topology.
What are the STP port costs for Ethernet, FastEthernet, GigabitEthernet, 10-Gig Ethernet, and 20-Gig Ethernet interface types?
Eth - 100
FastEth - 19
GigEth - 4
10Gig - 2
20Gig - 1
What is the Root Path Cost?
The STP calculated cost to reach the Root Bridge (the top switch in the STP hierarchy)
How is Root Path Cost Calculated?
The total of all egress interfaces from the local switch to the Root Bridge. (You could think of each link as of the port cost). The Root Bridge will advertise a cost of 0 to it’s directly connected neighbors.
How is the Root Bridge elected in an STP topology?
Upon coming online, all switches pass along BPDUs to their neighbors until they agree upon the switch that has the lowest Bridge ID. Lowest Priority + VLAN is best. If all priority + VLAN is the same, then the lowest base MAC address will win.
How is the Root Port selected?
- Lowest Port Cost
- Lowest upstream Lowest Bridge ID
- Lowest upstream port priority
- Lowest upstream port ID
In STP, what is the difference between a Designated Port and a Root Port?
Root port is forwarding towards the Root Bridge, Designated Port forwards away from the Root Bridge.
What is the maximum number of Designated Ports that can exist on one segment?
One. If two ports on the same link attempt to forward traffic as a designated port, they must negotiate one port as the Designated Port and the other as a Block port.
What determines when an STP port is “Blocked”?
- The port is not a Designated Port or a Root Port
- If there are two candidates for a designated port on a segment, the lowest cost port (path to root bridge) will become designated and the other will become blocked.
What are the six potential states of a traditional STP port?
- Disabled
- Blocking
- Listening
- Learning
- Forwarding
- Broken
What are the three types of an STP port?
- Root Port
- Designated Port
- Blocking Port
What is RSTP?
Rapid Spanning Tree Protocol - an industry standard protocol that improved upon PVST and PVST+