The display snmp-agent target-host command displays the configurations of destination hosts of all alarms.
You can use the display snmp-agent target-host command to display the configurations of destination hosts of all traps, including IP addresses of the hosts, modes in which traps are sent, security name used to send traps, and SNMP versions. At present, the system can save the configuration of a maximum of 20 destination hosts. Therefore, the display snmp-agent target-host command can view the configuration of a maximum of 20 destination hosts.
# Display the configurations of destination hosts of all alarms.
<HUAWEI> display snmp-agent target-host Target-host NO. 1 ----------------------------------------------------------- IP-address : 10.1.2.1 Domain : - Source interface : - VPN instance : - Security name : %^%#uq/!YZfvW4*vf[~C|.:Cl}UqS(vXd#wwqR~5M(rU%%^%# Port : 162 Type : trap Version : v2c Level : No authentication and privacy NMS type : HW NMS With ext-vb: : No -----------------------------------------------------------
Parameter |
Description |
---|---|
Target-host NO |
Target host number, which is generated based on the sequence in which the target host is configured. You can run the snmp-agent target-host inform or snmp-agent target-host trap command to configure parameters of the target host. |
IP-address |
IP address of the target host. |
Domain | Domain name of the target host. |
Source interface |
Source interface that sends traps. |
VPN instance |
VPN instance to which the target host belongs. |
Security name |
Security name used to send traps. |
Port |
UDP port number used to send traps. |
Type |
Mode in which traps are sent:
|
Version |
SNMP version:
|
Level |
Security mode of packets:
|
NMS type |
Type of the target host:
|
With ext-vb |
Whether the trap sent to the target host carries extended
bound variables:
|