DXS-1210 Series Smart Managed Switch CLI Reference Guide
249
The default aging type is absolute.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to disable the ageing or set the ageing time for auto-learned dynamic secured
entries. In order for the inactivity setting to take effect, the FDB table ageing function must be enabled.
Example
This example shows how to apply the aging time for automatically learned secure MAC addresses for
interface eth1/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# switchport port-security aging time 1
Switch(config-if)#
This example shows how to configure the port security aging time type for interface eth1/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# switchport port-security aging type inactivity
Switch(config-if)#
31-6
port-security limit
This command is used to configure the maximum secure MAC address number on the system. Use
the no form of this command to revert to the default setting.
port-security limit globalVALUE
no port-security limit global
Parameters
VALUE
Specifies the maximum number of port security entries that can be
learned on the system. The range is from 1 to 6656. If the setting is
smaller than the number of current learned entries, the command will
be rejected.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to set the limit on the port security entry number which can be learned on a system.
Example
This example shows how to configure the maximum secure MAC address number for the system.