80 port-security violation, 81 port-security violation – PLANET MGSW-28240F User Manual

Page 122

Advertising
background image

Command Guide of MGSW-28240F

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # port-security maximum 100

4.2.56.80 port-security violation

Command:

port-security violation [protect | shutdown | trap | trap-shutdown]

port-security Enable/disable port security per interface.

violation The action involved with exceeding the limit.

protect Don't do anything

shutdown Shut down the port

trap Send an SNMP trap

trap-shutdown Send an SNMP trap and shut down the port

Default:

None (Protected)

Usage Guide:

To configure protected mode of Port-security for specific interface

Example:

To configure protected mode (trap-shutdown) of Port-security for GigabitEthernet X/X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # port-security violation trap-shutdown

4.2.56.81 port-security violation

Command:

port-security violation [protect | shutdown | trap | trap-shutdown]

port-security Enable/disable port security per interface.

violation The action involved with exceeding the limit.

protect Don't do anything

shutdown Shutdown the port

trap Send an SNMP trap

trap-shutdown Send an SNMP trap and shut down the port

-122-

Advertising