3com 4500 PWR 26-PORT 用户手册

下载
页码 466
386
C
HAPTER
 12: U
SING
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
View
System view
Parameter
included: 
Include this MIB subtree.
excluded:
 Exclude this MIB subtree.
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.
Description
Use the 
snmp-agent mib-view
 command to create or update the view 
information. Use the 
undo snmp-agent mib-view
 command to 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.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]snmp-agent mib-view included mib2 1.3.6.1.3 
[SW4500]
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
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 environments.