Cisco Switches Quiz

The following Quiz comprises multiple choice questions which tests the knowledge of a user in various areas of Cisco Switches.

Cisco Switches Quiz


Ready for the Quiz? Click Play button below to get started.

Cisco Switches Quiz

Question 1 of 30.

What is the default bridge priority of a Cisco switch in Spanning Tree?

Type the value in the box given below

GUESS
I give up

Default STP priority of Cisco switch is 32768

Question 2 of 30.

How many bits are there in Ethernet address?

1. 64-bits
2. 48-bits
3. 32-bits
4. 16-bits

Ethernet address or MAC address is a 48-bits hexadecimal identifier assigned to each device by its manufacturer

Question 3 of 30.

If you want to disable STP on a port connected to a server, which command would you use?

Type the command in box and press Guess button or press Enter

GUESS
I give up

spanning-tree portfast is the right answer. If you you're totally sure that the connected device won't create a switching loop when STP is disabled, you can use what is known as portfast on that port. Enabling portfast means the port won't spend the usual 50 seconds to come up while STP is converging; it directly enters the forwarding state.

Question 4 of 30.

Enter the command that displays the blocked ports in spanning tree

Type the command in box and press Guess button or hit enter

GUESS
I give up

show spanning-tree blockedports command displays the blocked ports in spanning tree

Question 5 of 30.

Which of the following commands you can use to see which VLAN a port is assigned to?

1. show vlan brief
2. show vtp status
3. show interface trunk
4. None of above

show vlan brief command reports a brief listing of VLANs and switchports assigned to those VLANs

Question 6 of 30.

A switch has a port status LED that is alternating between green and amber. What could this indicate?

1. The port is shut down
2. The port is experiencing errors
3. The port is in STP blocking mode
4. Nothing; this is normal

When you connect to a switch port, at first the link light is amber, and then it turns green, indicating normal operation. If the link light is alternating amber and green, it means the port is experiencing error.

Question 7 of 30.

You have two switches connected together with two crossover cables for redundancy, and STP is disabled. Which of the following will happen between the switches?

1. The routing tables on the switches will not update
2. The MAC forward/filter table will not update on the switch
3. The switches will automatically load-balance between the two links
4. Broadcast storms will occur on the switched network

If spanning tree protocol is disabled on a switch and you have redundant links to another switch, broadcast storms will occur.

Question 8 of 30.

Enter the command to display the contents of Flash memory.

Type the command in box and press Guess button or hit enter

GUESS
I give up

show flash command displays the layout and contents of Flash memory

Question 9 of 30.

Which command would you use to enable the new 802.1w STP on a switch?

Type the command in following box and hit enter  or press Guess

GUESS
I give up

spanning-tree mode rapid-pvst

802.1w is also known as Rapid Spanning Tree Protocol. It is not enabled by default on Cisco switches, but it is a better STP to run since it offers whole lot of improvements than that of 802.1d. The spanning-tree mode rapid-pvst is a global configuration mode command that enables rapid spanning-tree on a switch.

Question 10 of 30.

Layer 2 switching provides which of the following?

1. Hardware-based bridging (ASIC)
2. Wire speed
3. Low latency
4. All of above

Switches, unlike bridges, are hardware based. According to Cisco, their switches are wire speed and provide low latency.

Question 11 of 30.

What is the result of segmenting a network with a switch or bridge?

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

Switches & bridges break up the collision domains, which would increase the number of collision domains in a network and also make smaller collision domains.

Question 12 of 30.

A receiving host has failed to receive all of the segments that it should acknowledge. What can the host do to improve the reliability of this communication session?

1. Decrease the window size
2. Send a different source port number
3. Restart the virtual circuit
4. Decrease the sequence number

A receiving host can control the transmitter by using flow control (by default, TCP uses Windowing). By decreasing the window size, the receiving host can slow down the transmitting host so the receiving host does not overflow its buffers

Question 13 of 30.

What is the purpose of Spanning Tree Protocol in a switched LAN?

1. To provide a mechanism for network monitoring in switched environments
2. To prevent routing loops in networks with redundant paths
3. To prevent switching loops in networks with redundant switched paths
4. To manage the VLAN database across multiple switches

The Spanning Tree Protocol (STP) was designed to stop switching loops. By default, all Cisco switches have the STP enabled.

Question 14 of 30.

Which of the following is true regarding VTP?

1. All switches are VTP servers by default
2. All switches are VTP clients by default
3. All switches are VTP transparent by default
4. VTP is on by default with a domain name of Cisco on all Cisco switches

All Cisco switches are VTP servers by default. No other VTP information is configured on a Cisco switch by default. You must set the VTP domain name on all switches to be the same domain name or they will not share the VTP database.

Question 15 of 30.

You need to allow only One host to attach dynamically to each switchport. Which command would you configure your catalyst switch to meet this policy?

Type the command in following box and press Guess or hit enter

GUESS
I give up

The switchport port-security maximum 1 is an important command. You can set the maximum number of MAC addresses allowed to be attached to the port, and then you can also set the penalty with the switchport port-security violation shutdown command, if this policy has been violated.

Question 16 of 30.

Enter the command that forces an IOS switchport to perform trunking

Type the command in following box and press Guess button or hit enter

GUESS
I give up

switchport mode trunk is an interface configuration command that forces a switchport to enter into trunking mode

Question 17 of 30.

What would the result be when the following commands are executed on a Cisco Catalyst switch:

SW1 (config-if)# switchport port-security
SW1 (config-if)# switchport port-security mac-address sticky

1. The MAC address learned dynamically is saved in the switch's running-configuration
2. The MAC address learned dynamically is saved in the switch's startup-configuration
3. The MAC address learned dynamically is saved permanently in the VLAN database
4. The first MAC address "seen" on the specific port is allowed to access the network until the port-security timer expires

When the switchport port-security mac-address sticky command is used without specifying a MAC address at the end, the MAC address of the attached device is dynamically learned and placed in the running-configuration of the switch.

Question 18 of 30.

A VLAN cannot be created or modified on a switch in which of the following VTP modes?

1. Server
2. Client
3. Transparent
4. Access

VLANs cannot be created on the Switch if it is in VTP Client mode. In this mode, switch learns the VLANs from the switch which is in VTP Server mode.

Question 19 of 30.

What are the distinct functions of layer 2 switching that increase available bandwidth on the network?

1. Address learning
2. Forwarding and filtering
3. Loop avoidance
4. All of above

Layer 2 features include address learning, forwarding and filtering, and loop avoidance

Question 20 of 30.

In classless addressing, there are no classes but addresses are still granted in?

1. Blocks
2. IPs
3. Pairs
4. Codes

In classless addressing, there are no classes but addresses are still granted in blocks.

Question 21 of 30.

What does a switch do when a frame is received on an interface and the destination hardware address is unknown or not in the filter table?

1. Forward the Frame to the first available link
2. Drops the Frame
3. Sends back a message to originating device asking for name resolution
4. Floods the Frame to whole network looking for the device

Switches flood (broadcast) the frame that has an unknown destination address. If a device answers the frame, the switch will update its MAC address table to reflect the location of the device

Question 22 of 30.

What command will you use display the forward/filter table on Switch?

Type the command in following box and hit enter

GUESS
I give up

The show mac address-table command displays the forward/filter table on a switch.

Question 23 of 30.

In which circumstance are multiple copies of the same unicast frame likely to be transmitted in a switched LAN?

1. During high-traffic
2. After broken links are re-established
3. When upper layer protocols requires re-transmission
4. In an improperly implimented redundant topology

If STP is not running on your switches and you setup redundant links, you are most likely to face broadcast storms and multiple frame copies

Question 24 of 30.

Which of the following is the default mode for a Layer 2 port on an IOS switch?

1. switchport mode access
2. switchport mode dynamic auto
3. switchport mode nonegotiate
4. switchport mode dynamic desirable

switchport mode dynamic desirable command makes the LAN port actively attempt to convert the link to a trunk link. The LAN port becomes a trunk port if the neighboring LAN port is set to trunk, desirable, or auto mode. This is the default mode for all LAN ports.

Question 25 of 30.

A Switch receives a frame and the source MAC address is not in it's MAC address table but the destination address is, what will the switch do to the frame?

1. Flood the network with the frame
2. Discard the Frame and send an error message back to the originating host
3. Add the source address and port to it's MAC address table and forward the frame out to destination port
4. Add the destination to the MAC address table and then forward the frame

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 it's MAC address table (known as Learning). The switch will then forward the frame to the destination port.

Question 26 of 30.

What command will you use to delete VLAN 10 on a switch?

Type the command in box and press Guess button or hit enter

GUESS
I give up

no vlan 10 command will delete the VLAN with ID 10

Question 27 of 30.

Which of the following statement is true?

1. A switch creates a single collision domain and a single broadcast domain. A router creates a single collision domain
2. A switch creates separate collision domains but one broadcast domain. A router provides a separate broadcast domain
3. A switch creates a single collision domain and separate broadcast domains. A router provides a separate broadcast domain as well
4. A switch creates separate collision domains and separate broadcast domains. A router provides separate collision domains

Switches break up collision domains, and routers break up broadcast domains.

Question 28 of 30.

Which technique reduces administrative overhead in a switched network by allowing the configuration of all VLANs to be distributed to all the new switches?

1. STP
2. VTP
3. ISL
4. DHCP

VLAN Trunking Protocol (VTP) is used to distribute the VLAN database to any or all switches in the switched network.

Question 29 of 30.

What is the header size of UDP packet?

1. 8 bytes
2. 8 bits
3. 32 bytes
4. 16 bytes

The fixed size of the UDP packet header is 8 bytes.

Question 30 of 30.

Which statement describes a Spanning-tree network that has converged?

1. All switch or bridge ports are either blocking or looping
2. All switch or bridge ports are assigned as either root or designated ports
3. All switch or bridge ports are in either forwarding or blocking state
4. All switch or bridge ports are in forwarding state

Convergence occurs when all ports on bridges and switches have transitioned to either the forwarding or blocking states. No data is forwarded until convergence is complete.

Next question 1 of 30

All 30 questions completed!


Share results:

Cisco Switches Quiz

Want more stuff like this?

Get the best viral stories straight into your inbox!
Don`t worry, we don`t spam