Command Guide of WGSW-28040
240
4.18 Port Security
4.18.1 port-security
Command:
port-security
no port-security
Default:
Default is disabled
Mode:
Global Configuration
Usage Guide:
The “
port-security
” command enables the port security functionality on this port.
Use the
no
form of this command to disable
Example:
This example shows how to enable port security on port 1 and set the learning limit number to 10.
switch(config)#
interface gi1
switch(config-if)#
port-security address-limit 10 action discard
switch(config-if)#
port-security
switch(config)#
show port-security interfaces gi1
Port | Mode | Security | CurrentAddr | Action
-------------+------------+-----------------------+---------------+----------------------
gi1 | Dynamic | Enabled ( 10) | 0 | Discard
4.18.2 port-security address-limit
Command:
port-security address-limit
<1-256>
action
(forward|discard|shutdown)
Содержание WGSW-28040
Страница 1: ...Command Guide of WGSW 28040 1 ...
Страница 163: ...Command Guide of WGSW 28040 163 gi1 replace gi2 deny gi3 deny gi4 deny gi5 deny More ...
Страница 167: ...Command Guide of WGSW 28040 167 gi1 1 00 11 22 33 44 55 192 168 1 55 255 255 255 255 Static NA ...
Страница 173: ...Command Guide of WGSW 28040 173 7 8 ...
Страница 300: ...Command Guide of WGSW 28040 300 fa1 enable 200 Off 10000 Off 10000 Shutdown ...