Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-18
Parameters
contact sys-contact
: A string of 1 to 200 characters that describes the contact
information for system maintenance.
location sys-location
: A string of 1 to 200 characters that describes the location of the
device.
version
: The SNMP version in use.
z
all
: Specifies SNMPv1, SNMPv2c, and SNMPv3.
z
v1
: SNMPv1.
z
v2c
: SNMPv2c.
z
v3
: SNMPv3.
Description
Use the
snmp-agent sys-info
command to configure system information, including the
contact information, and the location, and enable the specified SNMP version.
Use the
undo snmp-agent sys-info
command to restore the default system
information and disable the specified SNMP version.
By default, the location information is Hangzhou, China, version is SNMPv3, and the
contact is Hangzhou H3C Technologies Co., Ltd.
Related commands:
display snmp-agent sys-info
.
Note:
Network maintenance engineers 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.
Examples
# 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
1.1.19 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
] ]