The display snmp-agent target-host command displays information about all target hosts, including the IP address of each target host, VPN instance names, modes of sending trap messages, security names used to send trap messages, protocol versions, and security levels.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display snmp-agent target-host
Target-host NO. 1
-----------------------------------------------------------
Host-name : targetHost_1_55062
IP-address : 10.18.27.183
Source interface : -
VPN instance : -
Security name : %#%#j!IJ)6sI%#%#j!IJ6^(sI<z~CMH5@^@zj(&.G^ylO4#{n4sXq&-A*;iAW(:-!@0&rY'5x\6%#%#
Port : 162
Type : trap
Version : v2c
Level : No authentication and privacy
NMS type : NMS
With ext-vb : No
Notification filter profile name : -
-----------------------------------------------------------
Target-host NO. 2
-----------------------------------------------------------
Host-name : targetHost_2_25846
IP-address : 10.18.27.184
Source interface : -
VPN instance : -
Security name : %#%#[7SCH}$<HX.vZ8%7YS3L:IsCPA^LbRRK-`/6"i"$%#%#
Port : 162
Type : trap
Version : v1
Level : No authentication and privacy
NMS type : NMS
With ext-vb : No
Notification filter profile name : -
-----------------------------------------------------------
Item | Description |
---|---|
Target-host NO | Index of a target host. |
Host-name | Name of a target host. |
IP-address | IP address of a target host. |
Source interface | Source IP address of an NMS. |
VPN instance | VPN instance name. |
Security name | Security user name in ciphertext for SNMPv1 and SNMPv2c and simple text for SNMPv3. |
Port | Number of a UDP port through which SNMP Request messages are sent. The default port number is 162. |
Type | Type of SNMP notification:
|
Version | SNMP version:
|
Level | Security level defined in a security mechanism:
|
NMS type | Type of host NM:
|
With ext-vb | Whether an SNMP trap sent to a destination host carries extended VB information:
|
Notification filter profile name | Filter profile name. |