Snmp-Agent Mib-View - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2340
C
154: SNMP C
HAPTER
Description
Example

snmp-agent mib-view

Syntax
View
Parameter
Description
C
ONFIGURATION
OMMANDS
set-operation: Enables logging of SNMP SET operation.
Use the
snmp-agent log
Use the
undo snmp-agent log
By default, SNMP logging is disabled.
If a specified SNMP logging is enabled, when NMS performs a specified operation
to SNMP Agent, the latter records the operation-related information and saves it
to the information center.
# Enable logging of SNMP GET operation.
<Sysname> system-view
[Sysname] snmp-agent log get-operation
# Enable logging of SNMP SET operation.
<Sysname> system-view
[Sysname] snmp-agent log set-operation
snmp-agent mib-view { excluded | included } view-name oid-tree [ mask
mask-value ]
undo snmp-agent mib-view view-name
System view
excluded: Indicates that not all nodes of the MIB tree are included in current view.
included: Indicates that all nodes of the MIB tree are included in current view.
view-name: View name, a string of 1 to 32 characters.
oid-tree: MIB subtree. It can only be an OID string, such as 1.4.5.3.1, or an object
name string, such as "system". OID is made up of a series of integers, which
marks the position of the node in the MIB tree and uniquely identifies a MIB
object.
mask mask-value: Mask for an object tree, in the range 1 to 32 hexadecimal
digits. It must be an even digit.
Use the
snmp-agent mib-view
information so that MIB objects can be specified.
Use the
undo snmp-agent mib-view
configuration.
By default, MIB view name is ViewDefault.
command to enable SNMP logging.
command to restore the default.
command to create or update MIB view
command to delete the current

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents