7 switch port-security mac-address macaddr – Asus GigaX2024B User Manual

Page 212

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

192

Command Mode Interface mode
No/clear

no switch port-security

Default

Disable port security

Description

To enable port-security of the port.

Examples

ASUS(config-if)# switch port-security

14.5 switch port-security aging-time <0-1440>

Syntax

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

Parameters

<0-1440>

aging time, 0 means no age.

Command Mode Interface mode
No/clear

no switch port-security aging-time

Default

Aging time is 0.

Description

To enable port-security aging of the port.

Examples

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

14.6 s w i t c h p o r t - s e c u r i t y a g i n g - t y p e
(absolute|inactivity)

Syntax

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

Parameters

Absolute

Absolute aging (default)

Inactivity

Aging based on inactivity time period

Command Mode Interface mode
No/clear

no switch port-security aging type

Default

Absolute aging

Description

To select port-security aging type of the port.

Examples

ASUS(config-if)# switch port-security aging-type inactivity

14.7 switch port-security mac-address MACADDR

Syntax

switch port-security mac-address MACADDR

Parameters

MACADDR

MAC address xxxx.xxxx.xxxx

Advertising