Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q1831: What command is used to configure the port cost of an interface in STP?
- A: spanning-tree cost value
- B: spanning-tree port cost
- C: spanning-tree set cost
- D: spanning-tree update cost
View Answer
A
Q1832: Fill in the blank: The path cost is equal to the sum of all the _______ along the path to the root bridge.
- A: default values
- B: port costs
- C: broadcast frames
- D: root IDs
View Answer
B
Q1833: What does the extended system ID in a BID help determine?
- A: The type of spanning tree used
- B: The root bridge
- C: The spanning tree instance
- D: The path cost
View Answer
C
Q1834: What does the Protocol ID field in a BPDU frame indicate?
- A: The type of protocol being used
- B: The version of the protocol
- C: The type of message
- D: The status flags
View Answer
A
Q1835: Fill in the blank: The _______ field in a BPDU frame indicates the root bridge by listing its 2-byte priority and 6-byte MAC address.
- A: Cost of path
- B: Root ID
- C: Bridge ID
- D: Port ID
View Answer
B
Q1836: What does the Cost of path field in a BPDU frame represent?
- A: The cost of the path from the root bridge to the sending bridge
- B: The cost of the path from the sending bridge to the root bridge
- C: The total cost of all paths in the network
- D: The default cost of all switch ports
View Answer
B
Q1837: Fill in the blank: The Port ID field in a BPDU frame indicates the _______ from which the configuration message was sent.
- A: switch number
- B: port number
- C: bridge number
- D: MAC address
View Answer
B
Q1838: What does the Message Age field in a BPDU frame indicate?
- A: The time since the root bridge sent the configuration message
- B: The time since the BPDU was received
- C: The time since the message was sent from the sending bridge
- D: The maximum age of the BPDU
View Answer
A
Q1839: Fill in the blank: The Hello Time field in a BPDU frame defines the interval between _______ configuration messages.
- A: root bridge
- B: switch
- C: bridge
- D: port
View Answer
A
Q1840: What is the default value for the Hello Time field in a BPDU frame?
- A: 1 second
- B: 2 seconds
- C: 5 seconds
- D: 10 seconds
View Answer
B