Command Manual – SNMP and RMON
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands
Huawei Technologies Proprietary
1-14
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent log all
1.1.15 snmp-agent mib-view
Syntax
snmp-agent mib-view { included | excluded } view-name oid-tree
undo snmp-agent mib-view view-name
View
System view
Parameter
view-name: View name.
oid-tree: The OID MIB subtree of the MIB object subtree. It can be a character string of
the variable OID (such as 1.4.5.3.1), or a variable name (such as system). The
character string can include wildcards (such as 1.4.5.*.*.1).
included: Includes this MIB subtree.
excluded: Excludes this MIB subtree.
Description
Use snmp-agent mib-view command to create or update the view information, limiting
the MIB objects to be accessed by the NMS.
Use the undo snmp-agent mib-view command to cancel the current setting.
By default, the view name is ViewDefault and OID is 1.
Related command: snmp-agent group.
Example
# Create an SNMP MIB view that consists of all the objects of MIB2 (the corresponding
OID is 1.3.6.1.2.1).
<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
1.1.16 snmp-agent packet max-size
Syntax
snmp-agent packet max-size byte-count
undo snmp-agent packet max-size