interface gigabit-ethernet <port> snmp-trap


Users can eable or disable snmp trap when necessary.


Command Syntax
set interface gigabit-ethernet <port> snmp-trap <bool>
delete interface gigabit-ethernet <port> snmp-trap


Parameter
• <port>ethernet switching port identifier,the valid ports range 1-52
•<bool> Snmp trap when port link up and down

  • true enable snmp-trap
  • false disable snmp-trap


Example
• This example enable snmp-trap for ge-1/1/1:

admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 snmp-trap true
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.