126
C
HAPTER
2: S
YSTEM
M
AINTENANCE
& M
ANAGEMENT
C
OMMANDS
Parameter
view-name: Name of the view.
oid-tree: OID MIB subtree for the Mib object subtree, which can be a character
string of the variable OID or a character string of variable name. For example, it
can be character strings such as 1.4.5.3.1 and system character strings or use "*"
as wildcard, for example, 1.4.5.*.*.1.
included: Indicates to include the MIB subtree.
excluded: Indicates to exclude the MIB subtree.
Description
Using the snmp-agent mib-view command, you can create or update the
information about a view. Using the undo snmp-agent mib-view command, you
can delete the view information.
By default, the view name is ViewDefault and the OID is 1.3.6.1.
Currently, this command supports not only the input of the character string of the
variable OID as a parameter but also the input of the node name as a parameter.
For the related command, see snmp-agent group.
Example
Create a view that includes all MIB-II objects.
[3Com] snmp-agent mib-view included mib2 1.3.6.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: The maximum length of the SNMP packets that Agent can
receive/send, in the range of 484 to 17940 bytes. The default value is 1500 bytes.
Description
Using the snmp-agent packet max-size command, you can set the maximum
length of the SNMP message packets that Agent can receive/forward. Using the
undo snmp-agent packet max-size command, you can remove the current setting.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...