3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2342 CHAPTER 154: SNMP CONFIGURATION COMMANDS
version: The SNMP version in use.
all: Specifies SNMPv1, SNMPv2c, and SNMPv3.
v1: SNMPv1.
v2c: SNMPv2c.
v3: SNMPv3.
Description Use the
snmp-agent sys-info command to configure system information,
including the contact information, the location, and the SNMP version in use.
Use the
undo snmp-agent sys-info contact command and the undo
snmp-agent sys-info location command to restore the default.
Use the
undo snmp-agent sys-info version command to disable use of the
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.
Related command: 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.
Example # 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
Syntax 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 ]
View System view
Parameter 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.