Wiki5 · Security Fundamentals · securityIn both courses

Port Security

Also: switchport port-securitysticky MACsticky MAC addresssecure MAC addresssecure MAC addresses

Limits which and how many source MAC addresses may use a switch port; the default maximum is 1 and the default violation action is shutdown (err-disabled). Sticky learning saves dynamically learned MACs to the running-config, and it only works on ports statically set to access or trunk.

NetworkChuck1

  1. Day 14 you NEED to learn Port Security…….RIGHT NOW!!

    Port SecurityA Layer 2 security feature on Cisco switches that restricts input to an interface by limiting and identifying MAC addresses of the stations allowed to access the port.

    13:32It's actually pretty cool. Now, configuring port security does have a few steps. I encourage you to go check out Bzon's lab here, NetSim. They have two labs, security 1, security 2, and then one called troubleshooting po…
    Said 25×

Jeremy's IT Lab7

  1. Day 49 Port Security

    Port SecurityA Cisco switch feature that controls which source MAC addresses, and how many, may enter a port. Defaults: 1 MAC, violation mode shutdown, no aging. It needs a statically configured access or trunk port. Sticky learning (switchport port-security mac-address sticky) writes learned MACs to the running config.

    3:51There are two ways to enable an interface that has been disabled by port security, but I'll cover those later. Okay, let's cover a few more points about port security.
    Said 95×
  2. Day 49 Lab Port Security

    Port SecurityConfigured on SW1's PC ports with defaults plus a 60-minute aging time, and on SW2's uplink with restrict mode, maximum 4 and sticky learning. It needs switchport mode access or trunk first.

    1:23By default, the violation mode is shutdown, and the maximum number of MAC addresses allowed is also 1. Sticky MAC address learning is also disabled by default, so we don’t have to configure any of those.
    Said 22×
  3. Mega Lab Complete Network Configuration
    128:23…nd apply an extended ACL to limit traffic from Office A’s PCs to Office B’s PCs in step 1, and then configure Port Security, DHCP Snooping,
    Said 10×
  4. Day 50 DHCP Snooping
    15:07If the rate of DHCP messages crosses the configured limit, the interface is err-disabled. Then, similar to port security, the interface can be manually re-enabled with SHUTDOWN and then NO SHUTDOWN, or automatically re-e…
    Said 4×
  5. Day 42 SSH
    1:57First console Port security by default no password is needed to access the CLI of a Cisco IOS device via the console Port you can take a new device out of the box use a console cable to connect your laptop to it.
    Said 3×
  6. Day 51 Dynamic ARP Inspection
    0:23…ic 5.7, which says you must be able to configure Layer 2 security features, including DHCP snooping, DAI, and port security.
    Said 2×
  7. Day 52 LAN Architectures
    5:48Security services like port security, DAI, etc are typically performed here, too. Also, switchports might be PoE, Power over Ethernet-enabled if there are wireless access points or IP phones in the LAN.
    Said 2×

Related terms

Flashcards that test it