< Home

display snmp-agent target-host

Function

The display snmp-agent target-host command displays the configurations of destination hosts of all alarms.

Format

display snmp-agent target-host

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

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.

Example

# 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
-----------------------------------------------------------
Table 1 Description of the display snmp-agent target-host command output

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:
  • trap
  • inform

Version

SNMP version:
  • v1
  • v2c
  • v3

Level

Security mode of packets:
  • Authentication: Packets only need to be authenticated.
  • Privacy: Packets need to be authenticated and encrypted.
  • No authentication and privacy: Packets need neither to be authenticated nor encrypted.

NMS type

Type of the target host:
  • NSM: indicates a network management system, which can be a Huawei NMS or an NMS from another vendor.

  • HW NMS: indicates a Huawei NMS. The traps sent to the Huawei NMS can contain more detailed information.

With ext-vb

Whether the trap sent to the target host carries extended bound variables:
  • No

  • Yes

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >