Enabling the trap function

With the trap function enabled on a call module, when it originates a call, traps with the severity level warning are generated by the module to inform the important events. These traps will be sent to the information center of the device. You can set parameters for the information center to determine the output rules of traps. For more information about the parameter settings of the information center, see HPE FlexNetwork MSR Router Series Comware 5 Network Management and Monitoring Configuration Guide.

You can enable the trap function either globally or for an entity. If it is enabled globally, traps will be generated for all entities. If it is enabled only for a specified entity, traps are generated only for this entity.

To enable the trap function globally:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the trap function globally.

snmp-agent trap enable voice dial

Optional.

Disabled by default.

To enable the trap function for an entity:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter voice view.

voice-setup

N/A

3. Enter voice dial program view.

dial-program

N/A

4. Create a POTS or VoIP voice entity and enter its view.

entity entity-number { pots | voip }

N/A

5. Enable the trap function for the entity.

dial-trap enable

Optional.

Disabled by default.