Command Guide of WGSW-28040
241
no dot1x port-control address-limit
Parameter:
<1-256>
The learning-limit number. It specifies how many MAC addresses this port can learn
forward
Forward this packet whose SMAC is new to system and exceed the learning-limit
number
discard
Discard this packet whose SMAC is new to system and exceed the learning-limit
number.
shutdown
Shutdown this port when receives a packet whose SMAC is new to system and exceed
the learning limit number.
Default:
The address-limit default is 10 and action is “discard”.
Mode:
Interface Configuration
Usage Guide:
Use the “
port-security address-limit
” command to set the learning-limit number and the violation action. Use the
no
form of this command to restore the default settings.
Example:
The following 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.3 show port-security
Command:
show port-security interface
IF_PORTS
Parameter: