Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-20
Note:
z
When SNMP logging is enabled on a device, SNMP logs are output to the
information center of the device. With the output destinations of the information
center set, the output destinations of SNMP logs will be decided.
z
The severity level of SNMP logs is informational, that is, the logs are taken as
general prompt information of the device. To view SNMP logs, you need to enable
the information center to output system information with
informational
level.
z
For detailed description on system information and information center, refer to the
Information Center Configuration
part in this manual.
Examples
# Enable logging for both the get and the set operations performed on the NMS.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent log all
1.1.16 snmp-agent mib-view
Syntax
snmp-agent mib-view
{
included
|
excluded
}
view-name oid-tree
[
mask
mask-value
]
undo snmp-agent mib-view
view-name
View
System view
Parameters
included
: Specifies that the MIB view includes this MIB subtree.
excluded
: Specifies that the MIB view excludes this MIB subtree.
view-name
: View name.
oid-tree
: OID MIB subtree of a MIB subtree. It can be the ID of a node in OID MIB
subtree (such as 1.4.5.3.1) or an OID (such as “system”).
mask
mask-value:
Mask of a MIB subtree, an even number of hexadecimal characters,
in the range 2 to 32. An odd number of characters are invalid.
Description
Use
snmp-agent mib-view
command to create or update the information about a MIB
view to limit the MIB objects the NMS can access.