Oracle® Switch ES2-72 and Oracle Switch ES2-64 Configuration Guide

Exit Print View

Updated: April 2015
 
 

Enable or Disable Trap Generation on an Interface

This task describes how to enable or disable trap generation either on the physical interface or on the port-channel interface.


Note - Refer to the Oracle ILOM 3.0 Daily Management – CLI Procedures Guide for information to configure the SNMP manager for trap generation.
  1. Connect to SEFOS.

    See Connect to SEFOS.

  2. Disable the SNMP trap on the interface xl-ethernet 0/1.
    1. Enter Global Configuration mode.
      SEFOS-1# configure terminal
      
    2. Enter Interface Configuration mode for xl-ethernet 0/1.
      SEFOS-1(config)# interface xl-ethernet 0/1
      
    3. Type one of the following commands:
      SEFOS-1(config-if)# snmp trap link-status
      
      SEFOS-1(config-if)# no snmp trap link-status
      
    4. Exit Interface Configuration mode.
      SEFOS-1(config-if)# end
      
  3. View the trap state for the interface xl-ethernet 0/1.
    SEFOS-1# show interface xl-ethernet 0/1
    ...
    Link Up/Down Trap is enabled
    ...
    

    or,

    SEFOS-1# show interface xl-ethernet 0/1
    ...
    Link Up/Down Trap is disabled
    ...
    

    If the trap is enabled, the switch sends trap messages to the SNMP manager on specific events such as link up, link down, and so on.

Related Information