liveBook · Manning

Inactivity aging type

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

Inactivity aging is a secure-MAC aging mode in which receiving a frame from the address resets its aging timer.

Inactivity aging is a Port Security mode in which a secure MAC address’s aging timer resets whenever the switch receives a frame from that address. Unlike absolute aging, it keeps active secure addresses in the MAC address table. section 12.2.2

Key operational facts:

  • Configure it per port with switchport port-security aging type inactivity. section 12.2.2
  • Set a nonzero aging time separately; the default aging time is 0 minutes, so secure MAC addresses do not age out. section 12.2.2 section 12.3
  • Apply static secure MAC aging separately with switchport port-security aging static; static secure addresses do not age by default. section 12.2.2

Configure and verify inactivity aging

SW1(config)# interface f0/1 SW1(config-if)# switchport port-security aging time 5 SW1(config-if)# switchport port-security aging type inactivity SW1(config-if)# do show port-security interface f0/1 Aging Time : 5 mins Aging Type : Inactivity SecureStatic Address Aging : Disabled section 12.2.2

Figure 12.7 Absolute vs. inactivity aging types. With absolute aging enabled, the aging timer does not reset upon receiving new frames from the same MAC. With inactivity aging enabled, the aging timer resets each time a new frame is received.

Compare absolute aging, which never resets on received frames, with inactivity aging, which resets whenever the secure MAC sends traffic. section 12.2.2

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

How deep it goes
Explains timer-reset behavior, defaults, CLI configuration, verification, and static-address limitations.
Examples
Uses FastEthernet0/1, a five-minute timer, show port-security interface output, and an absolute-versus-inactivity comparison.
What it assumes
Assumes Port Security and secure MAC addresses, while defining aging defaults and inactivity behavior explicitly.
What you can do after
Operate/configure it per port with Cisco switchport commands and verify the timer and aging type.
How it connects
Connects Port Security with secure MAC address aging, absolute aging, dynamic MAC addresses, and static secure MAC addresses.

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.