Courseiva

CCNA 200-301 study guide · Part 4: Network Services and Security

Chapter 26: Port Security and Switch Attack Defense

Defend the access layer: MAC flooding, VLAN hopping, port security, storm control and violation troubleshooting.

This chapter starts the Layer 2 security material in objective 4.7, working from attacks to the features that stop them. It begins with MAC flooding, where an attacker overflows the CAM table so the switch floods traffic, and with VLAN hopping through switch spoofing and double tagging, and explains the preventive steps for each.

Port security is then covered in depth: secure MAC addresses, sticky learning, the maximum count, aging and the three violation modes of protect, restrict and shutdown. A lab configures it and verifies the result with show port-security. Storm control limits runaway broadcast, multicast and unicast traffic and is configured with rising and falling thresholds.

A closing troubleshooting lesson works through a port security violation, from an err-disabled port to the offending MAC address and the recovery options.

Know what each violation mode does to the port and to logging, because exam questions compare them. The next chapter extends the same defensive approach to DHCP, ARP and IPv6 router advertisements.

6 lessons (4 concept, 1 lab, 1 troubleshooting) · about 2.5 hours · Johnson Ajibi

What you will learn

  • Describe MAC flooding and VLAN hopping
  • Configure port security
  • Apply storm control
  • Recover from violation shutdowns

Sections

Read in order: concepts first, then how to configure and verify, then troubleshooting and exam traps.

  1. 26.1
    MAC Flooding Defense

    The previous chapter protected traffic as it crosses an untrusted WAN; this chapter protects the access layer, where an attacker can plug straight into your switch.

    Concept25m
  2. 26.2
    VLAN Hopping Attacks and Prevention

    VLAN hopping attacks exploit default switch behavior to allow an attacker to bypass VLAN segmentation and gain unauthorized access to traffic on other VLANs.

    Concept25m
  3. 26.3
    Port Security

    Port Security is a critical Layer 2 security feature that prevents unauthorized devices from connecting to your network by limiting which MAC addresses can send traffic through a…

    Concept25m
  4. 26.4
    Lab: Configure Port Security

    Port security is a critical Layer 2 security feature that prevents unauthorized devices from connecting to your network by limiting which MAC addresses can send traffic through a…

    Lab25m
  5. 26.5
    Storm Control Configuration

    Port security controls which devices may use a port; storm control addresses a different Layer 2 threat and is a critical feature for protecting your network from broadcast…

    Concept25m
  6. 26.6
    Troubleshoot: Port Security Violation

    Now that you can configure port security, this section shows how to troubleshoot its violations.

    Troubleshooting25m

Practice this in the sandbox

Type real IOS commands in your browser on a cabled-up network. Each lab checks what the network actually does.

Free practice: open the sandbox

Key terms

Practice

Check what you learned in this chapter with free CCNA 200-301 practice questions and full explanations.

CCNA 200-301 practice questions

↑ Up to Part 4: Network Services and Security · Book contents