Snmp-Agent Target-Host - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2342
C
154: SNMP C
HAPTER
Description
Related command:
Example

snmp-agent target-host

Syntax
View
Parameter
C
ONFIGURATION
OMMANDS
version: The SNMP version in use.
all: Specifies SNMPv1, SNMPv2c, and SNMPv3.
v1: SNMPv1.
v2c: SNMPv2c.
v3: SNMPv3.
Use the
snmp-agent sys-info
including the contact information, the location, and the SNMP version in use.
Use the
undo snmp-agent sys-info contact
snmp-agent sys-info location command to restore the default.
Use the
undo snmp-agent sys-info version
SNMP function of the specified version.
By default, the location information is Hangzhou China, version is SNMPv3, and
the contact is Hangzhou H3C Technology Co., Ltd.
display snmp-agent sys-info.
n
Network maintenance switch fabricers can use the system contact information to
get in touch with the manufacturer in case of network failures. The system
location information is a management variable under the system branch as
defined in RFC1213-MIB, it identifies the location of the managed object.
# Configure the contact information as "Dial System Operator at beeper #
27345".
<Sysname> system-view
[Sysname] snmp-agent sys-info contact Dial System Operator at beeper # 27345
snmp-agent target-host trap address udp-domain { ip- address | ipv6 ipv6-
address } [ udp-port port-number ] [ vpn-instance vpn-instance-name ] params
securityname security-string [ v1 | v2c | v3 [ authentication | privacy ] ]
undo snmp-agent target-host { ip- address | ipv6 ipv6- address } securityname
security-string [ vpn-instance vpn-instance-name ]
System view
trap: Specifies the host to be the Trap host.
address: Specifies the IP address of the target host for the SNMP messages.
udp-domain: Indicates that the Trap message is transmitted using UDP.
ip-address: The IPv4 address of the Trap host.
command to configure system information,
command and the undo
command to disable use of the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents