Networking - Spanning Tree Protocol

Exercise : Spanning Tree Protocol - Spanning Tree Protocol
  • Spanning Tree Protocol - Spanning Tree Protocol
11.
Which of the following is a layer 2 protocol used to maintain a loop-free network?
VTP
STP
RIP
CDP
Answer: Option
Explanation:
The Spanning Tree Protocol is used to stop switching loops in a switched network with redundant paths.

12.
You need to allow one host to be permitted to attach dynamically to each switch interface. Which two commands must you configure on your catalyst switch to meet this policy?
  1. Switch(config-if)# ip access-group 10
  2. Switch(config-if)# switchport port-security maximum 1
  3. Switch(config)# access-list 10 permit ip host 1
  4. Switch(config-if)# switchport port-security violation shutdown
  5. Switch(config)# mac-address-table secure
1 and 3
2 and 4
2, 3 and 5
4 and 5
Answer: Option
Explanation:
The switchport port-security is an important command, and it's super easy with the CNA; however, from the CLI, you can set the maximum number of MAC addresses allowed into the port, and then set the penalty if this maximum has been passed.

13.
What command will display the forward/filter table?
show mac filter
show run
show mac address-table
show mac filter-table
Answer: Option
Explanation:
The command show mac address-table displays the forward/filter table on the switch.

14.
If a switch receives a frame and the source MAC address is not in the MAC address table but the destination address is, what will the switch do with the frame?
Discard it and send an error message back to the originating host
Flood the network with the frame
Add the source address and port to the MAC address table and forward the frame out the destination port
Add the destination to the MAC address table and then forward the frame
Answer: Option
Explanation:
Since the source MAC address is not in the MAC address table, the switch will add the source address and the port it is connected to into the MAC address table and then forward the frame to the outgoing port.

15.
What is the result of segmenting a network with a bridge (switch)?
  1. It increases the number of collision domains.
  2. It decreases the number of collision domains.
  3. It increases the number of broadcast domains.
  4. It decreases the number of broadcast domains.
  5. It makes smaller collision domains.
  6. It makes larger collision domains.
1 and 5
2, 3 and 5
3, 4 and 6
1, 3 and 6
Answer: Option
Explanation:
Bridges break up collision domains, which would increase the number of collision domains in a network and also make smaller collision domains.