< Home

display snmp-agent inform

Function

The display snmp-agent inform command displays parameters for sending traps to the NMS through Inform packets and statistics about the Inform packets.

Format

display snmp-agent inform [ address udp-domain ip-address [ vpn-instance vpn-instance-name ] params securityname { security-name | cipher security-name } ]

Parameters

Parameter Description Value

address udp-domain ip-address

Specifies the IP address of the NMS, with the transmission domain of the target host being based on the User Datagram Protocol (UDP).

NOTE:

The IP address specified by address and the security name specified by securityname together identify a NMS.

The value is dotted decimal notation.

vpn-instance vpn-instance-name

Specifies the VPN instance to which the NMS belongs.

NOTE:

On the VPN, the VPN instance specified by vpn-instance, IP address, and security name together identify an NMS.

The value must be an existing VPN instance name.

params

Indicates information about the NMS.

-

securityname security-name

Specifies the user security name displayed on the NMS.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

cipher security-name

Indicates the unencrypted or encrypted string of security name.

The value is a string of 1 to 32 case-sensitive characters or a string of 32 or 56 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
  • When the community name is a string of 1 to 32 characters, the string is processed as plain text by default and will be encrypted.
  • When the community name is a string of 32 or 56 characters, the string is processed as cipher text by default, and the system will determine whether the string can be parsed.

Views

All views

Default Level

3: Management level

Usage Guidelines

The display snmp-agent inform command displays parameters for sending traps to the NMS through Inform packets and statistics about the Inform packets:
  • Number of times Inform packets are retransmitted when the device receives no acknowledgement message from the NMS.
  • Timeout period for the acknowledgement from the NMS in response to Inform packets.
  • Number of Inform packets retransmitted to the NMS.
  • Number of Inform packets in the Inform buffer to be acknowledged by the NMS.
  • Number of traps sent through Inform packets to the NMS.
  • Number of Inform packets discarded when the Inform buffer is full.
  • Number of retransmitted Inform packets that are not acknowledged.
  • Number of packets acknowledged by the NMS.

If no parameter is specified in the display snmp-agent inform command, global parameters for sending traps through Inform packets, all NMS parameters, and packet statistics mode are displayed.

Example

# Displays global parameters for sending traps through Inform packets, all NMS parameters, and packets statistics mode.

<HUAWEI> 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/Domain/Security name
-/10.1.1.1/-/%^%#O>tf1ssv|~v3.\IY}|@Gk,:%/IX{!OrFazE#1lxR%^%#:
    Config: resend-times 3, timeout 15s
    Status: retries 0, pending 0, sent 0, dropped 0, failed 0, confirmed 0
Table 1 Description of the display snmp-agent inform command output

Item

Description

Global config

Global Inform parameters:

  • resend-times: indicates the number of times Inform packets are retransmitted when the device receives no acknowledgement message from the NMS.
  • timeout: indicates timeout period for the acknowledgement from the NMS in response to Inform packets, in seconds.
  • pending: indicates the number of Inform packets in the Inform buffer to be acknowledged by the NMS.

You can run the snmp-agent inform command to configure these parameters.

Global status

Statistics about global Inform packets.

Target-host ID: VPN instance/IP-Address/Domain/Security name

You can run the snmp-agent inform address command to configure these parameters (except Domain).

Config

Inform packet parameters of the NMS:

  • resend-times: indicates the number of times Inform packets are retransmitted when the device receives no acknowledgement message from the NMS.
  • timeout: Indicates timeout period for the acknowledgement from the NMS in response to Inform packets.

You can run the snmp-agent inform address command to configure these parameters.

Status

Statistics about Inform packets from the switch to the NMS:

  • retries: Number of Inform packets retransmitted to the NMS.
  • pending: indicates the number of Inform packets in the Inform buffer to be acknowledged by the NMS.
  • sent: Number of traps sent through Inform packets to the NMS.
  • dropped: Number of Inform packets discarded when the Inform buffer is full.
  • failed: Number of retransmitted Inform packets that are not acknowledged.
  • confirmed: Number of packets acknowledged by the NMS.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >