R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
151
Description
Use the snmp-agent packet max-size command to configure the maximum size of the SNMP packets that
can be received or sent by the agent.
Use the undo snmp-agent packet max-size command to restore the default packet size.
By default, the maximum size of the SNMP packets that can be received or sent by the agent is 1,500
bytes.
If devices not supporting fragmentation exist on the routing path between the NMS and the agent, you
can use the command to configure the maximum SNMP packet size, and thus to prevent giant packets
from being discarded.
Typically, HP recommends that you apply the default value.
Examples
# Configure the maximum size of the SNMP packets that can be received or sent by the SNMP agent as
1,0 42 b y t e s .
<Sysname> system-view
[Sysname] snmp-agent packet max-size 1042
snmp-agent sys-info
Syntax
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 }* } }
View
System view
Default level
3: Manage level
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.
• all: Specifies SNMPv1, SNMPv2c, and SNMPv3.
• v1: SNMPv1.
• v2c: SNMPv2c.
• v3: SNMPv3.
Description
Use the snmp-agent sys-info command to configure system information, including the contact
information, 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 restore
the default.
Use the undo snmp-agent sys-info version command to disable use of the SNMP function of the specified
version.