Default command level
3: Manage level
Parameters
byte-count: Specifies the maximum size (in bytes) of SNMP packets that the SNMP agent can receive or
send. The value range is 484 to 17940, and the default is 1500.
Usage guidelines
If any device on the path to the NMS does not support packet fragmentation, limit the SNMP packet size
to prevent large-sized packets from being discarded. For most networks, the default value is sufficient.
Examples
# Set the maximum SNMP packet size to 1024 bytes.
<Sysname> system-view
[Sysname] snmp-agent packet max-size 1024
snmp-agent sys-info
Use snmp-agent sys-info to configure system information for the SNMP agent, including the contact,
location, and SNMP versions.
Use undo snmp-agent sys-info contact and undo snmp-agent sys-info location to restore the default.
Use undo snmp-agent sys-info version to disable an SNMP version.
Syntax
In non-FIPS mode:
snmp-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 }* } }
In FIPS mode:
snmp-agent sys-info { contact sys-contact | location sys-location | version v3 }
undo snmp-agent sys-info { contact | location | version v3 }
Default
Contact—Hangzhou H3C Technologies Co., Ltd.
•
Location—Hangzhou China.
•
Version—SNMPv3.
•
Views
System view
Default command level
3: Manage level
Parameters
contact sys-contact: Specifies the system contact, a string of 1 to 200 characters.
location sys-location: Specifies the system location, a string of 1 to 200 characters.
version: Specifies SNMP versions.
all: Specifies SNMPv1, SNMPv2c, and SNMPv3.
•
117