F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100

177
Related commands
snmp-agent community
snmp-agent group
snmp-agent packet max-size
Use snmp-agent packet max-size to set the maximum size (in bytes) of SNMP packets that the SNMP
agent can receive or send.
Use undo snmp-agent packet max-size to restore the default packet size.
Syntax
snmp-agent packet max-size byte-count
undo snmp-agent packet max-size
Default
The SNMP agent can receive and send SNMP packets up to 1500 bytes.
Views
System view
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.
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: