The display snmp-agent inform command displays parameters for sending traps to the NMS through Inform packets and statistics about the Inform packets.
display snmp-agent inform [ address udp-domain ip-address [ vpn-instance vpn-instance-name ] params securityname { security-name | cipher security-name } ]
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.
|
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.
# 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
Item |
Description |
---|---|
Global config |
Global Inform parameters:
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:
You can run the snmp-agent inform address command to configure these parameters. |
Status |
Statistics about Inform packets from the switch to the NMS:
|