The snmp-agent trap enable feature-name trap-name command, enables the router to send an alarm of a specified feature to the NM station.
The undo snmp-agent trap enable feature-name trap-name command deletes the current setting.
snmp-agent trap enable feature-name feature-name [ trap-name trap-name ]
undo snmp-agent trap enable feature-name feature-name [ trap-name trap-name ]
| Parameter | Description | Value |
|---|---|---|
feature-name feature-name |
Specifies the feature that generates alarms. NOTE:
The value of feature-name must be included in the fixed character strings defined in the system. After entering feature-name, type a question mark (?) following a space to display all the predefined character strings. Select one from the displayed character strings. |
It is a string of 1 to 256 characters, which are case-insensitive and cannot be blank spaces. |
trap-name trap-name |
Specifies the name of an alarm. NOTE:
The value of trap-name must be included in the fixed character strings defined in the system. After entering trap-name, type a question mark (?) following a space to display all the predefined character strings. Select one from the displayed character strings. |
It is a string of 1 to 256 characters, which are case-insensitive and cannot be blank spaces. |
By default, only certain alarms can be sent to the NM station.
Run the snmp-agent trap enable feature-name feature-name trap-name trap-name command. If the alarm is an excessive alarm, the system prompts the user about whether to send this alarm to the NM station.
The NM station can receive this alarm only after being configured with the IP address by running the snmp-agent target-host inform command or the snmp-agent target-host trap command.