The display snmp-agent inform command displays inform parameters configured globally and on a specified destination host.
display snmp-agent inform [ address udp-domain ip-address [ vpn-instance vpn-instance-name ] params securityname [ cipher ] security-string ]
| Parameter | Description | Value |
|---|---|---|
| address | Specifies the IP address of the destination host to which SNMP messages are sent. The IP address specified by address and the security name specified by securityname together identify a host. | - |
| udp-domain | Specifies that packets are sent to the destination host over UDP. | - |
| ip-address | Specifies the IP address of the destination host. | The address is in dotted decimal notation. |
| vpn-instance vpn-instance-name | Specifies the name of a VPN instance. | The value is a string of 1 to 31 characters without spaces. This parameter is optional. A group of vpn-instance, address, and securityname identifies a host in a VPN. |
| params | Specifies the host that generates SNMP messages. | - |
| securityname security-string | Specifies the security name displayed on the NMS. | The value is a string of 1 to 32 simple text characters or 48 or 68 ciphertext characters, spaces not supported. A string of 32 or 56 ciphertext characters are also supported. NOTE:
When double quotation marks are used around the string, spaces are allowed in the string. |
| cipher | Specifies the password in ciphertext. The simple password or the ciphertext password can be entered. The password in the configuration file is displayed in ciphertext. |
- |
You can run the display snmp-agent inform command to view configurations of informs (trap messages sent in inform mode), including:
Number of retransmission occurrences configured for informs globally
Timeout period
Maximum number of pending informs in the trap queue
Number of informs not confirmed in the trap queue
You can also view configurations of informs and packet statistics on a specified destination host, including:
Number of retransmission occurrences configured for informs globally
Timeout period
Number of occurrences informs were retransmitted
Pending informs in the trap queue
Number of sent informs
Number of dropped informs (that is, the number of the informs that are discarded because the trap queue is full)
Number of failed informs (that is, the number of informs that are discarded because no ACK message is received)
Number of confirmed informs (that is, the number of informs that have been acknowledged by the destination host)
# Display inform parameters configured globally and on a specified destination host.
<sysname> display snmp-agent inform
Global config: resend-times 3, timeout 15s, pending 39
Global status: current notification count 1
Target-host ID: VPN instance/IP-Address/Security name
a/1.1.1.1/%$%${14m(pX,mBF]GY0{4%U3v-@!%$%$:
Config: resend-times 3, timeout 15s
Status: retries 0, pending 0, sent 0, dropped 0, failed 0, confirmed 0
Parameter |
Description |
|---|---|
Global config |
Global inform parameters |
Global status |
Global packet statistics |
resend-times |
Retransmission occurrences of informs |
timeout |
Timeout period of informs |
pending |
Maximum number of informs in the trap queue |
current notification count |
Number of pending informs in the trap queue |
Target-host ID: VPN instance/IP-Address/Security name |
Destination host, which is in the format of VPN name/IP address/security name |
retries |
Number of notifications sent to a destination host |
sent |
Number of notifications successfully sent |
dropped |
Number of notifications discarded because the trap buffer is full |
failed |
Number of notifications discarded because no ACK message is returned within the specified period |
confirmed |
Number of notifications that have been acknowledged by the destination host |