Snmp-Agent Packet Max-Size - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

You need to define the MIB view access right of the community name or group in the configuration of an
SNMP community name or group name. For the configurations, refer to the snmp-agent community
and snmp-agent group commands.
Examples
# Create an SNMP MIB view with the name of rip2, and MIB subtree of 1.3.6.1.2.1.23 to configure MIB
view for the NMS to display or configure rip2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent mib-view included rip2 1.3.6.1.2.1.23
# Create a read community name with the name of rip2read, and a write community name with the
name of rip2write. Specify the MIB view as the configured rip2 MIB view, and the NMS using this
community name to access the device can only display or configure rip2 related configurations.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]snmp-agent community read rip2read mib-view rip2
[Sysname]snmp-agent community write rip2write mib-view rip2
# Create an SNMP MIB view with the name of view-a, MIB subtree of 1.3.6.1.5.4.3.4 and subtree mask
of FE. MIB nodes with the OID of 1.3.6.1.5.4.3.x are included in this view, with x indicating any integer
number.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent mib-view included view-a 1.3.6.1.5.4.3.4 mask FE

snmp-agent packet max-size

Syntax
snmp-agent packet max-size byte-count
undo snmp-agent packet max-size
View
System view
Parameters
byte-count: Maximum SNMP packet size (in bytes) to be set, ranging from 484 to 17,940.
Description
Use the snmp-agent packet max-size command to set the maximum SNMP packet size allowed by an
agent.
Use undo snmp-agent packet max-size command to restore the default maximum SNMP packet
size.
The configuration of the maximum SNMP packet size is to prevent giant packets being discarded due to
existence of devices not supporting fragmentation on a routing path. Typically, the maximum size of a
packet can keep the default value of 1500 bytes.
By default, the maximum SNMP packet size allowed by an agent is 1,500 bytes.
1-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents