testsnmpserver

Use the testsnmpserver command to send a test Simple Network Management Protocol (SNMP) trap. A result message will only be displayed if the SNMP server is configured to use TLS.

Syntax

Read syntax diagramSkip visual syntax diagramtestsnmpserverserver_idserver_nameall

Parameters

testsnmpserver server_id | server_name | all
(Required) Send a test trap to all configured SNMP servers.

Description

An invocation example to test a single SNMP server by ID

testsnmpserver 0

The resulting output:

No feedback.

An invocation example to test a single SNMP server by name

testsnmpserver my_snmp_server

The resulting output:

No feedback.

An invocation example to test a single SNMP server by ID that is using TLS

testsnmpserver 0

The resulting output:

CMMVC1087I The test trap was sent successfully. Verify that the server(s) have received the trap.