D-Link DGS-1510 Series Reference Manual page 455

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
This example shows how to configure the Switch to drop all packets from the insecure hosts at the
port-security process level and increment the security violation counter if a security violation is
detected.
Switch# configure terminal
Switch(config)# interface eth1/0/1
Switch(config-if)# switchport port-security violation restrict
Switch(config-if)#
52-5 switchport port-security aging
This command is used to configure the aging time for auto-learned dynamic secure addresses on an
interface. Use the no form of this command to revert to the default settings.
switchport port-security aging {time MINUTES | type {absolute | inactivity}}
no switchport port-security aging {time | type}
Parameters
MINUTES
type
absolute
inactivity
Default
By default, the port security aging feature is disabled.
The default time is 0 minutes.
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 eth1/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.
Specifies the aging time for the auto-learned dynamic secured
address on this port. Its range is from 1 to 1440 in minutes.
Specifies to set the aging type.
Specifies to set absolute aging type. All the secure addresses on
this port age out exactly after the time specified and is removed
from the secure address list. This is the default type.
Specifies to set the inactivity aging type. The secure addresses on
this port age out only if there is no data traffic from the secure
source address for the specified time period.
452

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents