Switch 7700 Command reference Guide, v2.0

Table Of Contents
476 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
Parameter
view-name: Specify the view name, with a character string, ranging from 1 to 32
characters.
oid-tree: MIB object subtree. It can be a character string of the variable OID, or a
variable name, ranging from 1 to 255 characters.
included: Include this MIB subtree.
excluded: Exclude this MIB subtree.
Description
Using the snmp-agent mib-view command, you can create or update the view
information. Using the
undo snmp-agent mib-view command, you can delete the
view information
By default, the view name is v1default. OID is 1.3.6.1.
Both the character string of OID and the node name can be input as parameter.
Example
Create a view that consists of all the objects of MIB-II.
[SW7700]snmp-agent mib-view mib2 5.6.1.3 included
snmp-agent packet
max-size
Syntax
snmp-agent packet max-size byte-count
undo snmp-agent packet max-size
View
System view
Parameter
byte-count: Specify the size of SNMP packet (measured in bytes), ranging from
484 to 17940; the default size is 1500 bytes.
Description
Using the snmp-agent packet max-size command, you can configure the size of
SNMP packet that the Agent can send/receive. Using the
undo snmp-agent
packet max-size
command, you can restore the default size of SNMP packet.
The sizes of the SNMP packets received/sent by the Agent are different in different
network environment.
Example
Set the size of SNMP packet to 1042 bytes.
[SW7700]snmp-agent packet max-size 1042