The snmp-agent trap enable feature-name iplpm command enables the trap function for the IP Local Performance Measurement (LPM) module.
The undo snmp-agent trap enable feature-name iplpm command disables the trap function for the IP LPM module.
By default, the trap function is enabled for the IP LPM module.
snmp-agent trap enable feature-name iplpm [ trap-name { hwiplpmgloballossratioexceed | hwiplpmgloballossratiorecovery | hwiplpmlinkforwardlossratioexceed | hwiplpmlinkforwardlossratiorecovery } ]
undo snmp-agent trap enable feature-name iplpm [ trap-name { hwiplpmgloballossratioexceed | hwiplpmgloballossratiorecovery | hwiplpmlinkforwardlossratioexceed | hwiplpmlinkforwardlossratiorecovery } ]
Parameter | Description | Value |
---|---|---|
trap-name | Enables the trap function for the specified event. | - |
hwiplpmgloballossratioexceed | Enables the trap function about the packet loss ratio exceeding the threshold on the device. | - |
hwiplpmgloballossratiorecovery | Enables the trap function about the packet loss ratio restoration on the device. | - |
hwiplpmlinkforwardlossratioexceed | Enables the trap function about the packet loss ratio exceeding the threshold on the direct link. | - |
hwiplpmlinkforwardlossratiorecovery | Enables the trap function about the packet loss ratio restoration on the direct link. | - |
Usage Scenario
The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements. The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.
The snmp-agent trap enable feature-name iplpm command enables the trap function for the IP LPM module.
Precautions
To enable the trap function for one or several events, specify trap-name. If trap-name is not specified, all trap functions are enabled for the IP LPM module.