/
interface gigabit-ethernet <port> port-security violation

interface gigabit-ethernet <port> port-security violation


Users can configuring Port Security Violation Mode on a Port.


Command Syntax
set interface gigabit-ethernet <port> port-security violation <action>
delete interface gigabit-ethernet <port> port-security violation


Parameter
<port> ethernet switching port identifier,the valid ports range 1-52
<action> the violation action identifier.

  • protect Drop packets with unknown source addresses
  • restrict Drop packets with unknown source addresses and log violation
  • shutdown Disable interface
  • shutdown-temp Disable interface temporarily(20 seconds for the default)


Example
• This example configures the violation mode for ge-1/1/1

admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 port-security violation restrict 
admin@XorPlus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.