System information
Publication date: Feb., 2012
Revision A1
- 140 -
CLIReferenceGuide
Copyright @ 2012 by Amer Networks
mode: Thecommandletsyoutoconfigurethegloballimit
controlmode
Syntax:
mode disable/ enable
Parameter :
disable: Globally disable port security
enable: Globally enable port security
EXAMPLE:
port‐mode: Thecommandletsyoutoconfiguretheportmode
Syntax:
port-mode <port-list>
disable/ enable
Parameter :
<port-list>: available value is from switch physic port density, format:
1,3-5
disable: Disable port security on selected port
enable: Enable port security on selected port
EXAMPLE:
Switch(port-security)# port-mode 1 enable
Switch(port-security)# show config
Mode : Disabled
Aging : Enabled
Age Period: 20
Port Mode Limit Action
---- -------- ----- ---------------
1 Enabled 999 Trap & Shutdown
2 Disabled 4 None
3 Disabled 4 Shutdown
4 Disabled 4 Trap
5 Disabled 4 None
Switch(port-security)# mode enable
Switch(port-security)# show config
Mode : Enabled
Aging : Enabled
Age Period: 20
Switch(port-security)# limit 1 999
Switch(port-security)# show config
Mode : Disabled
Aging : Enabled
Age Period: 20
Port Mode Limit Action
---- -------- ----- ---------------
1 Disabled 999 Trap & Shutdown
2 Disabled 4 None
3 Disabled 4 Shutdown