4 - LAN Troubleshooting Flashcards
What show cmds help in determining the root switch?
- show spanning-tree vlan 10
- show spanning-tree vlan 10 root
What rules out a switch as being a possible root switch?
The presence of an RP. Root switches do not have RPs.
What is one way to find the root switch?
Follow the RPs. They will lead you to the root.
What show cmd tells you the priority and BID of the root regardless of where the cmd is run?
show spanning-tree 10 root
What information does an incoming Hello BPDU that allows a switch to determine the root port?
- root cost of sending switch
- In the event of a tie the BPDU also lists:
- sending switches BID
- sending interface ID (i.e. fa0/1, fa0/2)
- In the event of a tie the BPDU also lists:
How does a switch determine its root port?
adds the root cost of incoming Hello BPDUs to the cost of the interface that BPDU came in on.
When determining RP, what is wrong with noting each interface cost on all link on a diagram to figure out everyone’s RP?
- This doesn’t take into account:
- whether the interface is running at its maximum speed or not
- if an interface cost has been manually configured.
What if a there is a tie in costs to the root? How is the tie broken?
- choose the neighbor with the lowest BID
- If there is a tie (two ports going to same switch):
- choose the neighbor with the lowest port priority
- then choose the neighbor with the lowest internal port number. fa0/1 fa0/2
What is a switches internal port number?
Cisco switches assign an internal integer to identify each interface on the switch, like fa0/1, fa0/2,
What is a switchports default port priority?
- The lower the priority the better.
What is the command to change a switchports port priority?
spanning-tree vlan 10 port-priority 110
A switch is trying to determine its RP. The costs along two paths are identical. The switch then compares BIDs. When is the only time the second two tie-breaking methods would be tried?
When the switch has two or more connections to the same switch.
What are valid commands to bring up a PAgP Etherchannel?
channel-group 1 mode auto, channel-group 1 mode desireable
What are valid commands to bring up a LACP Etherchannel?
channel-group 1 mode active, channel-group 1 mode passive
What show command helps diagnose faulty Etherchannel configuration?
show etherchannel summary