Switchport Port-Security Aging Type - Cisco Nexus 7000 Series Command Reference Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

S Commands

switchport port-security aging type

To configure the aging type for dynamically learned, secure MAC addresses, use the switchport port-security
aging type command. To return to the default aging type, which is absolute aging, use the no form of this
command.
switchport port-security aging type {absolute| inactivity}
no switchport port-security aging type {absolute| inactivity}
Syntax Description
absolute
inactivity
Command Default
absolute
Command Modes
Interface configuration
Command History
Release
4.2(1)
4.0(1)
Usage Guidelines
The default aging type is absolute aging.
You must enable port security by using the feature port-security command before you can use the switchport
port-security aging type command.
Before using this command, you must use the switchport command to configure the interface to operate as
a Layer 2 interface.
This command does not require a license.
Examples
This example shows how to configure the aging type to be "inactivity" on the Ethernet 2/1 interface:
switch# configure terminal
switch(config)# interface ethernet 2/1
Specifies that the dynamically learned, secure MAC
addresses age is based on how long ago the device
learned the address.
Specifies that the dynamically learned, secure MAC
addresses age is based on how long ago the device
last received traffic from the MAC address on the
current interface.
Modification
Support for Layer 2 port-channel interfaces was added.
This command was introduced.
Cisco Nexus 7000 Series Security Command Reference
switchport port-security aging type
677

Advertisement

Table of Contents
loading

Table of Contents