Command Manual – System Management 
Quidway S8500 Series Routing Switches  Chapter 5  SNMP Configuration Commands
 
Huawei Technologies Proprietary 
5-13 
View 
System view 
Parameter 
included: Includes this MIB subtree. 
excluded: Excludes this MIB subtree. 
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. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] snmp-agent mib-view included mib2 1.3.6.1.2.1 
5.1.13  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.