liveBook · Manning

Static secure mac address

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A static secure MAC address is a port-security MAC address manually configured and stored in both the MAC address table and the running configuration.

A static secure MAC address is manually configured on a port and stored in both the MAC address table and the running configuration. It lets Port Security specify exactly which device may connect, rather than accepting any dynamically learned address. section 12.1.2 section 12.2.3

Apply these operational rules when configuring static secure MAC addresses:

  • Use switchport port-security mac-address mac-address in interface configuration mode; add the voice VLAN keywords when the address belongs to the port’s voice VLAN. section 12.1.2 section 12.3
  • Count static and dynamic secure MAC addresses together against the port’s maximum, so one static address leaves only the remaining capacity for dynamic learning. section 12.1.2
  • Keep a static address across a port outage; unlike a dynamic secure address, it remains configured until manually removed. section 12.2.3
  • Leave static aging disabled by default; enable it per port with switchport port-security aging static when automatic removal is required. section 12.2.2

Server and phone-port configuration

A server connected to F0/4 can be restricted to one manually configured MAC address. On F0/5, configure the phone’s MAC address statically while allowing the connected PC’s MAC address to be learned dynamically. Both addresses still consume the port’s maximum. section 12.1.2

Figure 12.5 Configuring static secure MAC addresses. There can be a mix of static and dynamic secure MAC addresses on a port, as in F0/5’s case.

Use the topology figure to compare a port restricted to one static device with a port combining static and dynamic secure MAC addresses. section 12.1.2

Verify secure addresses with show mac address-table secure, where secure entries appear with type STATIC, or show port-security address, where manually configured entries appear as SecureConfigured. section 12.1.2

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines storage, persistence, capacity, aging, configuration, and verification, but does not detail violation-mode behavior.
Examples
Uses a restricted server port and a phone-PC port combining one static address with one dynamically learned address.
What it assumes
Assumes familiarity with switch interfaces and Port Security while distinguishing dynamic, static, and sticky secure MAC behavior.
What you can do after
Configure and verify manually permitted MAC addresses with Cisco IOS interface commands and show commands.
How it connects
Connects Port Security with dynamic secure MAC addresses, sticky secure MAC addresses, MAC address tables, and voice VLANs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.