The snmp target-host mask name command binds an alarm filtering table to an NMS host.
The undo snmp target-host mask command deletes the binding.
By default, the alarm filtering table is not bound to an NMS host.
Parameter | Description | Value |
---|---|---|
hostName |
Specifies the name of an NMS host. The NMS host must exist. |
The value is a string of 1 to 32 characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string. |
name list-name |
Specifies the name of an alarm filtering table. The alarm filtering table must exist. |
The value is a string of 1 to 31 characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
An alarm filtering table can be bound to an NMS host to filter out alarms that users are not concerned about.
Prerequisites
Configuration Impact
After an alarm filtering table is bound to a terminal, the alarms that match the entries in the table are not reported to the terminal.
<HUAWEI> system-view [~HUAWEI] snmp-agent target-host host-name target_host_1 inform address udp-domain 192.168.3.1 params securityname a123 v3 [*HUAWEI] alarm [*HUAWEI-alarm] snmp target-host target_host_1 mask name mask1