3com 8807 Reference Guide

Page of 1099
SNMP Configuration Commands
909
view-name: Specifies 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. By default, OID is 1.3.6.1.
Description
Use the snmp-agent mib-view command to create or update the view 
information.
Use the undo snmp-agent mib-view command to cancel the view information
By default, the view name is ViewDefault. OID is 1.3.6.1.
This command supports the parameter input of both OID and node name.
Related command: snmp-agent group.
Example
# Create a view that consists of all the objects of MIB-II.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] snmp-agent mib-view included mib2 1.3.6.1.2.1 
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: Specifies the size of SNMP packet (measured in bytes), ranging from 
484 to 17940. By default, the size is 2000 bytes.
Description
Use the snmp-agent packet max-size command to configure the size of SNMP 
packet that the Agent can send/receive.
Use the undo snmp-agent packet max-size command to 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.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] snmp-agent packet max-size 1042