Modulo II - Chapter 2 - 5 Flashcards
Which of the following are used to protect against a broken fiber strand causing incorrect behavior of the spanning tree protocol? (Select 2 answers)
A - Root Guard
B - BPDU Guard
C - UDLD
D - Loop Guard
C and D
UDLD and Loop Guard are both used to protect against incorrect spanning tree behavior when a port is not sending BPDUs bidirectionally. Loop Guard is used on root and alternate ports and ensures that the neighboring switch is sending BPDUs. UDLD is configured on a physical interface and ensures that bidirectional communication is functional.
Which of the following best describe the values of spanning-tree vlan vlan-id priority? (Select 2 answers)
A - The valid priority range is 0 to 61440.
B - The valid priority range is 0 to 65536.
C - The value should be configured in increments of 1024.
D - The value should be configured in increments of 4096.
A and D
The Bridge Priority field in the BPDU is split so that the first 4 bits represent the bridge priority, in increments of 4096, and the remaining 12 bits are used to represent the VLAN identifier. The valid range of values for priority are 0 to 61440.
Because ultimately this priority has to be added to the vlan number (extended system-id) to make final STP priority. So if we take 65536, then the minimum net priority will be 65536 + 1 = 65537 which cannot be fit in a 2-byte space.
Which of the following actions ensure that the correct switch is chosen as the root bridge? (Select 2 answers)
A - Configure the network with BPDU Guard to prevent unauthorized switches from becoming root.
B - Configure the system priority to 0 on the primary root bridge.
C - Configure the system priority to 4096 on the primary root bridge.
D - Configure the network with BPDU Filter to prevent unauthorized switches from becoming root.
A and B
Incorreto
Configuring the root bridge with system priority 0 provides the best chance of its becoming the root. The BPDU Guard feature can be used to ensure that another switch cannot assume the role of root. To avoid potential loops, BPDU Filter should be used with caution. BPDU Filter filters BPDUs and should be used only in specific situations.
Which of the following are valid 802.1D port types? (Select 2 answers)
A - Alternate port
B - Backup port
C - Root port
D - Forwarding port
E - Designated port
C and E
The valid IEEE 802.1D port types are root port and designated port. Alternate port and backup port are port roles defined in 802.1W RSTP.
Which statements are true regarding the STP portfast feature? (Select 2 answers)
A - It is not possible to configure portfast on a trunk port.
B - Portfast disables STP on the port.
C - Portfast allows the port to bypass the listening and learning steps and move directly to forwarding.
D - TCNs are not generated when an edge port changes state.
C and D
The STP portfast feature is typically enabled on edge ports that are connected directly to end hosts, where the possibility of forming a loop does not exist. It can be combined with BPDU Guard to put a port in the ErrDisabled state if a switch is connected to the port. Edge ports do not generate TCNs to provide a more stable spanning tree environment. A TCN based on an edge port change would not bring any benefit since the overall spanning tree topology should not change. It is possible to enable portfast on a trunk port (for instance, connected to a firewall or server that needs to receive 802.1Q tags) and also meets the requirement as an edge port.
Which of the following statements is true regarding topology change propagation for 802.1W RSTP? (Select 2 answers)
A - Edge ports that transition to the forwarding state cause topology changes.
B - The MAC address table entries associated with all ports are cleared, except for the port that received the BPDU with the TC flag set.
C - The TC while timer value is equal to twice the hello timer.
D - The root bridge in RSTP uses the TCN BPDU to propagate the change.
B and C
A switch that detects a topology change on a non-edge port sends BPDUs with the TC flag set for the duration of the TC while timer (hello timer * 2). MAC addresses associated with these ports are flushed. This occurs on all designated ports (DPs) and the root port (RP). Neighboring switches that receive the BPDU with the TC flag set clear the MAC table entries associated with all ports except the port that received the BPDU. The TC while timer is started on all DPs and the RP, and BPDUs are sent during this time with the TC flag set. This process continues until the change is propagated across the network. Unlike 802.1D, RSTP does not rely on the root bridge to send a specific TCN BPDU.
What would be the value of the bridge priority in the BPDU generated in VLAN 10 when the default spanning tree bridge priority is used?
A - 32778
B - 32768
C - 4096
D - 24576
A
extended system-id borrows bits from the Bridge Priority field in the original 802.1D BPDU. This provides 4 bits to represent bridge priority, in increments of 4096, and 12 bits to represent the VLAN identifier. These values are added together to determine the priority. The default priority is 32768, so (32768 + 10) for VLAN 10 would result in the priority value 32778.
The root bridge in an 802.1D STP network has which of the following characteristics? (Select 2 answers)
A - All of the ports of the root bridge are root ports.
B - If all switches in the network are using the default priority, the root bridge will have the highest MAC address among all the switches.
C - If all switches in the network are using non-default priority values, the root bridge will have the lowest system priority among all the switches.
D - All the ports of the root bridge are designated ports.
C and D
The root bridge has each port in the forwarding state, and all the ports are designated ports. The root bridge is determined by the switch with the lowest system priority value (the default is 32768). If all switches have the same system priority, the switch with the lowest MAC address becomes the root.
Which would be the preferred way of implementing a loop-free switch network where there are 1500 VLANs defined and there is a need to load share the traffic through two major aggregation points based on VLAN identifier? (Select 2 answers)
A - 802.1D
B - 802.1s
C - 802.1W
D - 802.1AE
B and C
PRECISA VALIDAR A RESPOSTA
Which of the following best describe the BPDUs used in 802.1D? (Select 2 answers)
A - There are two types of BPDUs.
B - 802.1D and 802.1W use the same BPDU format.
C - BPDUs are sent at each 2-second hello interval, even if no BPDU is received on the root port.
D - Configuration BPDUs identify the root bridge.
A and D
802.1D defines two BPDU types, the configuration BPDU and the topology change notification (TCN) BPDU. Several important fields are included in configuration BPDUs, including the root bridge identifier, timers, and cost to the root. 802.1D bridges only forward BPDUs from the root port, where 802.1W bridges generate a BPDU at each hello interval.
Which of the following applies when connecting an MST region to a switch domain running 802.1W when the root bridge exists in the 802.1W domain? (Select 2 answers)
A - The MST region boundary receives superior BPDUs from the 802.1W switch and places the ports into a root inconsistent blocking state.
B - The spanning tree Loop Guard feature can be used to allow the boundary ports to transition to forwarding state.
C - The 802.1W domain automatically detects the presence of the MST region, based on the received BPDUs.
D - The MST region boundary switch automatically detects the presence of the 802.1W domain based on received BPDUs.
A and D
Upon receiving a superior BPDU from the 802.1W domain, the MST region boundary port moves to blocking, root inconsistent state. The PVST simulation mechanism works only when the root bridge is located in the MST region.
Which of the following statements describe how the 802.1D root path cost is calculated? (Select 2 answers)
A - The default port cost of a 1 Gbps interface is 4.
B - The root port is chosen based on the highest path cost to the root bridge.
C - The root path cost is a cumulative value of the path cost received in a BPDU plus the local port cost.
D - The root bridge has a root path cost of 4096.
A and C
The root path cost is determined based on the cumulative port cost to reach the root bridge. Using the default short mode STP cost calculation, a 1 Gbps interface will use a cost of 4. The port cost is used in determining the path to the root bridge. The lowest path cost will be chosen.
Which of the following best describe the VLAN-to-instance mapping in 802.1s? (Select 2 answers)
A - The configuration BPDUs generated by the root bridge contain the VLAN-to-instance mapping for the entire region.
B - All VLANs are mapped to instance 0 by default.
C - The VLAN-to-instance mapping must be manually configured on each switch in the region.
D - When interconnecting multiple MST regions, the VLAN-to-instance mapping must be unique to each region.
B and C
When MST is initially configured, all VLANs are mapped to instance 0. In addition, instance 0 is present on all links in the region even if a VLAN is pruned from that interface or switch. For each switch in the network, the VLAN-to-instance mapping must be configured to the same values.
Switch 1 is capable of running the RSTP protocol. Switch 2 is not configured for RSTP and is connected to Switch 1 on port Gig1/0/1. What is the expected behavior for Gig1/0/1 on Switch 1?
A - Port Gig1/0/1 on Switch 1 will remain in the discarding state.
B - Switch 1 will receive Type 2 BPDUs on Gig1/0/1 from Switch 2.
C - Switch 1 will not receive a proposal agreement and will default to 802.1D behavior.
D - Port Gig1/0/1 on Switch 1 will transition immediately to the forwarding state.
C
A switch operating with RSTP 802.1W has the ability to detect ports that connect to legacy 802.1D switches. When this occurs, the switch reverts to 802.1D STP behavior. The ability to detect RSTP-capable or 802.1D ports relies on the exchange of BPDUs with the proposal and agreement flags set.
Which of the following best describe the 802.1s internal spanning tree (IST) ? (Select 2 answers)
A - Information about all instances is carried in the BPDUs for the IST.
B - Each instance generates its own BPDUs.
C - IST uses instance 0 by default.
D - IST uses instance 15 by default.
A and C
IST is always instance 0 and runs on all interfaces in the MST region. Information about other instances is contained in the IST BPDUs, including the revision, which must match in all switch configurations.