No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
snmp-agent target-host trap-hostname

snmp-agent target-host trap-hostname

Function

The snmp-agent target-host trap-hostname configures the target host of trap messages.

The undo snmp-agent target-host trap-hostname deletes the target host of trap messages.

Format

snmp-agent target-host trap-hostname hostname { address { ipv4-addr } | domain domain-name } [ udp-port udp-portid ] trap-paramsname paramsname

undo snmp-agent target-host trap-hostname hostname

Parameters

Parameter

Description

Value

hostname

Specifies the name of the target host.

The value is a string of 1 to 32 characters.

address ipv4-addr

Indicates the IPv4 address of the target host.

The value is in dotted decimal notation, ranging from 0.0.0.0 to 255.255.255.255.

domain domain-name

Specifies the domain name of the destination host.

The value is a string of 1 to 64 characters without spaces.

udp-port udp-portid

Indicates the ID of the port on the target host for receiving trap messages.

The value is an integer that ranges from 1 to 65535. The default value is 162.

trap-paramsname paramsname

Indicates the name of the trap sending parameter list used by the target host.

The value is a string of 1 to 32 characters.

Views

System view

Default Level

3: Management level

Usage Guidelines

Only the terminal configured as the target host of trap messages can receive traps. The NMS is generally configured as the target host of trap messages. Currently, the system supports a maximum of 20 target hosts.

If the IP address of the destination host changes dynamically and a fixed domain name is used, configure a destination host by configuring its domain name.

Example

# Set the IP address of the target host to 10.1.1.1, the host name to aaa, and the trap sending parameter list name to abc.

<Huawei> system-view
[Huawei] snmp-agent target-host trap-hostname aaa address 10.1.1.1 trap-paramsnam abc
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205352

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next