GigaX2024B/M L2 Managed Switch CLI Manual
Command Mode Interface mode
No/clear
Default
Description
Examples
14.5 switch port-security aging-time <0-1440>
Syntax
Parameters
Command Mode Interface mode
No/clear
Default
Description
Examples
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
Parameters
Command Mode Interface mode
No/clear
Default
Description
Examples
14.7 switch port-security mac-address MACADDR
Syntax
Parameters
192
no switch port-security
Disable port security
To enable port-security of the port.
ASUS(config-if)# switch port-security
switch port-security aging-time <0-1440>
<0-1440>
no switch port-security aging-time
Aging time is 0.
To enable port-security aging of the port.
ASUS(config-if)# switch port-security aging-time 5
switch port-security aging-type (absolute|inactivity)
Absolute
Inactivity
no switch port-security aging type
Absolute aging
To select port-security aging type of the port.
ASUS(config-if)# switch port-security aging-type inactivity
switch port-security mac-address MACADDR
MACADDR
aging time, 0 means no age.
Absolute aging (default)
Aging based on inactivity time period
MAC address xxxx.xxxx.xxxx