Parameter | Description | Value |
---|---|---|
linkup | Sends the LinkUp trap to the NMS. | - |
linkdown | Sends the LinkDown trap to the NMS. | - |
Usage Scenario
The traps configured by trigger trap are used to check whether the network between the NMS and device functions properly. If the NMS receives a trap sent from the interface, the network between the NMS and device functions properly; otherwise, a fault may occur on the network.
Prerequisites
Run the snmp-agent trap enable feature-name command to enable the LinkUp and LinkDown traps.
Precautions
The trigger trap command is used on loopback interfaces to check the network between the NMS and device. The interface status does not change according to the meaning of the trap. For example, if the trigger trap linkdown command is used, the loopback interface sends a LinkDown trap to the NMS but does not change its status to Down. If you have used the trigger trap linkdown command, you must run the trigger trap linkup command to clear the LinkDown trap on the NMS.