H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 1
SNMP Configuration Commands
1-13
undo snmp-agent mib-view view-name
View
System view
Parameters
included: Includes the MIB subtree.
excluded: Excludes the MIB subtree.
view-name: View name, a character string of 1 to 32 characters.
oid-tree: OID MIB subtree of the MIB object subtree. It is a character string of 1 to 255
characters. 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).
Description
Use snmp-agent mib-view command to create or update MIB view information, in
order to limit 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 commands: snmp-agent group.
Examples
# Create an SNMP MIB view containing all the objects of MIB-II.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] snmp-agent mib-view included mib2 1.3.6.1.2.1
1.1.14 snmp-agent packet max-size
Syntax
snmp-agent packet max-size byte-count
undo snmp-agent packet max-size
View
System view
Parameters
byte-count: Maximum size of the SNMP packet (in bytes) that the agent can
send/receive, ranging from 484 to 17,940.