CCNP Switch - HotSpot - Spanning-Tree
la salida del comando "show spanning-tree" en SW-C:
Which spanning Tree Protocol has been implemented on SW-B?
Explicación: On the Fa0/2 interface we can see the type of connection is P2p Peer (STP) and Cisco says that: “!— Type P2p Peer(STP) represents that the neighbor switch runs PVST.” Please visit this link to understand morehttp://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_example09186a00807b0670.shtml
Which bridge ID belongs to SW-B?
Explicación: Have a look at the output at VLAN0047:
Notice there are two “Cost” value in the picture, the above “Cost” is the total cost from the current switch to the root bridge while the second “Cost” refers to the cost on that interface (Fa0/2). Both these “Cost” are the same so we can deduce that the root bridge is connectly directly to this switch on Fa0/2 interface -> the root bridge is Switch B, and the “Address” field shows its MAC address 000f.34f5.0138. Notice Bridge ID = Bridge Priority + MAC address.
Which port role has interface Fa0/2 of SW-A adopted for VLAN 47?
Explicación: We learned that Switch B is the root bridge for VLAN 47 so port Fa0/1 on SwitchA and Fa0/2 on SwitchC should be the root ports, and from the output of SwitchC, we knew that port Fa0/1 of SwitchC is in blocking state. Therefore its opposite port on SwitchA must be in designated state (forwarding).
So, can Fa0/2 of SW-A be in blocking state? The answer is no so that BPDU packets can be received on Fa0/1 of SW-C. It will remain in blocking state as long as a steady ﬂow of BPDUs is received.
Which port state is interface Fa0/2 of SW-B in for VLANs 1 and 106?
Explicación: As explained in question 2, we can deduce SW-A is the root bridge for VLANs 1 and 106 so ports Fa0/1 on SW-B and SW-C will be the root ports. From the output of SW-C for VLANs 1 and 106, port Fa0/2 of this switch is designated (forwarding) so we can deduce interface Fa0/2 of SW-B is in blocking status.
Which bridge ID belongs to SW-A?
Explicación: SW-A is the root bridge for VLANs 1 and 106 and we can easily find the MAC address of this root bridge from the output of SW-C, it is 000d.65db.0102. Notice that SW-A has 2 bridge IDs for VLANs 1 and 106, they are 32769.000d.65db.0102 and 24682.000d.65db.0102