Configuration Guide Vol. 1


20.2.7 Suppressing Link Traps

The Switch sends a SNMP notification (linkUp or linkDown) when an Ethernet interface is linked up or down as the default operation. This is called a link trap. You can suppress the sending of link traps for each Ethernet interface by specifying suppression in the configuration file. For example, the Switch, networking, and SNMP manager can reduce unnecessary processes by sending SNMP notifications only to the lines that connect to the servers and suppressing the sending of link traps for other lines.

Points to note

Determine the link trap configuration based on the operation policies of the entire network.

Figure 20-30: Configuration of link traps

[Figure Data]

In this example, since SNMP notification is sent for Port1/0/1, configuration settings are not required. For ports 1/0/12, configure the switch not to send SNMP notifications.

Command examples

  1. (config)# interface gigabitethernet 1/0/12

    (config-if)# no snmp trap link-status

    Does not send SNMP notification at link up/link down.

  2. (config-if)# exit