Home > Articles > Certification > Cisco Certification > CCNP Security / CCSP

CCSP SNRS Exam Self-Study: Mitigating Layer 2 Attacks

📄 Contents

  1. "Do I Know This Already?" Quiz
  2. Foundation Topics
  3. Foundation Summary
  4. Q&A
  • Print
  • + Share This
This excerpt from the official Cisco SNRS study guide discusses Layer 2 attacks, mitigations, best practices, and functionality within the scope of the CCSP SNRS exam framework.
This chapter is from the book

This chapter is from the book

This chapter covers the following subjects:

  • Layer 2 Attacks
  • Mitigation of Layer 2 Attacks

Unlike hubs, switches cannot regulate the flow of data between their ports by creating almost "instant" networks that contain only the two end devices communicating with each other. Data frames are sent by end systems, and their source and destination addresses are not changed throughout the switched domain. Switches maintain content-addressable memory (CAM) lookup tables to track the source addresses located on the switch ports. These lookup tables are populated by an address-learning process on the switch. If the destination address of a frame is not known or if the frame received by the switch is destined for a broadcast address, the switch forwards the frame out all ports. With their ability to isolate traffic and create the "instant" networks, switches can be used to divide a physical network into multiple logical or VLANs through the use of Layer 2 traffic segmentation.

VLANs enable network administrators to divide their physical networks into a set of smaller logical networks. Like their physical counterparts, each VLAN consists of a single broadcast domain isolated from other VLANs and work by tagging packets with an identification header and then restricting the ports that the tagged packets can be received on to those that are part of the VLAN. The two most prevalent VLAN tagging techniques are the IEEE 802.1q tag and the Cisco Inter-Switch Link (ISL) tag.

This chapter discusses Layer 2 attacks, mitigations, best practices, and functionality.

"Do I Know This Already?" Quiz

The purpose of the "Do I Know This Already?" quiz is to help you decide whether you really need to read the entire chapter. If you already intend to read the entire chapter, you do not necessarily need to answer these questions now.

The 11-question quiz, derived from the major sections in "Foundation Topics" section of the chapter, helps you determine how to spend your limited study time.

Table 14-1 outlines the major topics discussed in this chapter and the "Do I Know This Already?" quiz questions that correspond to those topics.

Table 14-1. "Do I Know This Already?" Foundation Topics Section-to-Question Mapping

Foundation Topics Section

Questions Covered in This Section

Types of Attacks


Factors Affecting Layer 2 Mitigation Techniques


  1. What is the default inactivity expire time period on a Cisco Catalyst switch CAM table?
    1. 1 minute
    2. 5 minutes
    3. 10 minutes
    4. 50 minutes
  2. What are three methods of implementing port security?
    1. Active secure MAC addresses, fixed secure MAC address, and closed secure MAC address
    2. Static secure MAC address, dynamic secure MAC addresses, and sticky secure MAC addresses
    3. Default secure MAC address, evasive secure MAC address, and evading secure MAC address
    4. Stinky secure MAC addresses, dynamite secure MAC, and clammy secure MAC addresses
  3. Which command enables port security on an interface?
    1. switchport mode port-security
    2. switchport mode interface-security
    3. switchport interface-security
    4. switchport port-security
  4. What is the default action mode for security violations?
    1. Protect
    2. Restrict
    3. Shutdown
  5. The DTP state on a trunk port may be set to what?
    1. Auto, on, off, undesirable, or non-negotiate
    2. Auto, on, off, desirable, or non-negotiate
    3. Auto, on, off, desirable, or negotiate
    4. Auto, on, off, undesirable, or negotiate
  6. What are the two different types of VLAN hopping attacks?
    1. Switch spoofing and double tagging
    2. Switch goofing and double teaming
    3. Switch impersonation and double grouping
    4. Switch imitation and double alliance
  7. Which features of Cisco IOS Software enable you to mitigate STP manipulation? (Select two.)
    1. spanning-tree portfast bpduguard
    2. spanning-tree guard rootguard
    3. set spantree global-default loopguard enable
    4. set udld enable
  8. What are the three types of private VLAN ports?
    1. Neighborhood, remote, and loose
    2. Community, isolated, and promiscuous
    3. Communal, remote, and licentious
    4. Area, secluded, and wanton
  9. What common tool is used to launch MAC overflow attacks?
    1. Dsniff
    2. Macof
    3. Arpspoof
    4. Tablstuf
  10. Protect mode security is recommended for trunk ports.
    1. True
    2. False
  11. What are the three factors when designing a Layer 2 protected network?
    1. Number of users groups
    2. Number of DNS zones
    3. Number of switches
    4. Number of buildings
    5. Number of security zones

The answers to the "Do I Know This Already?" quiz are found in the appendix. The suggested choices for your next step are as follows:

  • 9 or less overall score— Read the entire chapter. This includes the "Foundation Topics" and "Foundation Summary" sections and the "Q&A" section.
  • 10 or 11 overall score— If you want more review on these topics, skip to the "Foundation Summary" section and then go to the "Q&A" section. Otherwise, move on to Chapter 15, "Context-Based Access Control."
  • + Share This
  • 🔖 Save To Your Account