nerdexam
Cisco

300-320 · Question #731

A Layer 2 loop was created on the LAN when an end user connected several hosts to the LAN by using a hub. Which control method does an engineer use to limit the number of connected hosts allowed on…

The correct answer is D. Port security. Port security limits the number of MAC addresses allowed on a switch port, directly controlling how many hosts connected through a hub can be active on the upstream switch.

Advanced Enterprise Campus Networks

Question

A Layer 2 loop was created on the LAN when an end user connected several hosts to the LAN by using a hub. Which control method does an engineer use to limit the number of connected hosts allowed on the upstream switch?

Options

  • ABPDU guard
  • BBPDU fitter
  • CLoopguard
  • DPort security

How the community answered

(52 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    4% (2)
  • D
    88% (46)

Why each option

Port security limits the number of MAC addresses allowed on a switch port, directly controlling how many hosts connected through a hub can be active on the upstream switch.

ABPDU guard

BPDU guard disables a port upon receipt of a BPDU, protecting against unauthorized switches being connected - it does not limit the number of end hosts.

BBPDU fitter

BPDU filter suppresses BPDU transmission and reception on a port and has no mechanism for counting or limiting connected host MAC addresses.

CLoopguard

Loop guard prevents a non-designated port from becoming a designated port when BPDUs stop arriving, protecting against unidirectional link failures rather than controlling host counts.

DPort securityCorrect

Port security enforces a maximum MAC address count on a switch port using the 'switchport port-security maximum' command, allowing only a configured number of distinct hosts to become active at any time. When a hub connects multiple hosts, each host's MAC address appears on the upstream switch port - port security counts and limits these MACs. If the limit is exceeded, the port can be configured to shut down, restrict, or protect, preventing unauthorized additional hosts from gaining access.

Concept tested: Port security limiting host count on a switch port

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/port_sec.html

Topics

#port security#MAC limiting#Layer 2 security#loop prevention

Community Discussion

No community discussion yet for this question.

Full 300-320 Practice