< Home

snmp-agent sys-info

Function

The snmp-agent sys-info command sets SNMP system information and an SNMP version.

The undo snmp-agent sys-info command cancels the current setting.

Format

snmp-agent sys-info { contact contact | location location | version { { v1 | v2c | v3 } * | all } }

undo snmp-agent sys-info { contact | location | version { { v1 | v2c | v3 } * | all } }

Parameters

Parameter Description Value
contact contact Indicates contact information of system maintenance. The value is a string of 1 to 225 case-sensitive characters, with spaces supported.
location location Indicates the location of a device. The value is a string of 1 to 255 case-sensitive characters, with spaces supported.
version Sets the SNMP version number used by the system. -
v2c Specifies SNMPv2c. -
v3 Specifies SNMPv3. -
all Specifies SNMPv2c and SNMPv3. -

Views

System view

Default Level

3: Management level

Usage Guidelines

By default, the system maintenance information is " R&D, Huawei Technologies Co.,Ltd.": the system location is " China" and the version is SNMPv3.

Usage Scenario

When information about devices (such as system maintenance information, physical location information about a node of a device or the current SNMP version information) is changed, run the snmp-agent sys-info command to configure information about devices.SNMPv2c is not secure enough.

After information about devices is configured using the snmp-agent sys-info command, you can run the display snmp-agent sys-info command to view information about devices.

Precautions

SNMPv2c have security risks. Using SNMPv3 is recommended.

If a fault occurs on a device, device maintenance engineers can contact the device vendor based on system maintenance contact information.

Example

# Set the contact information of the system maintenance as "call Operator at 010-12345678".

<sysname> system-view
[sysname] snmp-agent sys-info contact call Operator at 010-12345678
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >