87Examples# Set the maximum SNMP packet size to 1,024 bytes. system-view[Sysname] snmp-agent packet max-size 1024snmp-agent sys-infoSyntaxsnmp-agent sys-info { contact sys-contact | location sys-location | version { all | { v1 | v2c | v3 }* } }undo snmp-agent sys-info { contact | location | version { all | { v1 | v2c | v3 }* } }ViewSystem viewDefault level3: Manage levelParameterscontact sys-contact: Specifies a string of 1 to 200 characters that describes the contact information forsystem maintenance.location sys-location: Specifies a string of 1 to 200 characters that describes the location of the device.version: The SNMP version in use, which can be one of the following:• all: Specifies SNMPv1, SNMPv2c, and SNMPv3.• v1: Specifies SNMPv1.• v2c: Specifies SNMPv2c.• v3: Specifies SNMPv3.DescriptionUse the snmp-agent sys-info command to configure system information, including the contactinformation, the location, and the SNMP version in use.Use the undo snmp-agent sys-info contact and undo snmp-agent sys-info location command to restorethe default.Use the undo snmp-agent sys-info version command to disable use of the SNMP function of the specifiedversion.By default, the location information is Hangzhou, China, version is SNMPv3, and the contact isHangzhou H3C Tech. Co., Ltd..Successful interaction between an NMS and the agents requires consistency of SNMP versionsconfigured on them.Related commands: display snmp-agent sys-info.NOTE:Network maintenance engineers can use the system contact information to get in touch with themanufacturer in case of network failures. The system location information is a management variableunder the system branch as defined in RFC 1213-MIB, identifying the location of the managed object.