beautypg.com

4 switchport port-security – Asus GigaX3124 User Manual

Page 250

background image

GigaX3124 Layer3 Switch CLI Command Reference

225

Default
Description

To show port-security status for the specified interface.

Examples

ASUS# show port-security interface gi1/0/1

19.4 switchport port-security

Syntax

switchport port-security

Parameters
Command Mode Interface configuration mode
No/clear

no switchport port-security

Show

show port-security [IFNAME]

Default

Not enable port security

Description

To enable port-security of the interface.

Examples

ASUS(config-if)# switchport port-security

19.5 switchport port-security aging-time <0-1440>

Syntax

switchport port-security aging-time <0-1440>

Parameters

aging-time Age time of port security learnt addresses

<0-1440> Minutes (0 means disabled)

Command Mode Interface configuration mode
No/clear

no switchport port-security aging-time

Show

show port-security [IFNAME]

Default

The default is 0, not aging.

Description

To enable port-security aging and set age time of the interface.

Examples

ASUS(config-if)# switchport port-security aging-time 5

19.6 switchport port-security aging-type

(absolute|inactivity)

Syntax

switchport port-security aging-type (absolute|inactivity)

Parameters

Absolute Absolute aging (default)