2340 CHAPTER 154: SNMP CONFIGURATION COMMANDS

set-operation:Enables logging of SNMP SET operation.

Description Use the snmp-agent log command to enable SNMP logging.

Use the undo snmp-agent log command to restore the default.

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.

Example # 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

Syntax

snmp-agent mib-view { excluded included } view-nameoid-tree[ mask

 

mask-value ]

 

undo snmp-agent mib-view view-name

View

System view

Parameter

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.

Description

Use the snmp-agentmib-viewcommand to create or update MIB view

 

information so that MIB objects can be specified.

 

Use the undo snmp-agentmib-viewcommand to delete the current

 

configuration.

 

By default, MIB view name is ViewDefault.

Page 2340
Image 2340
3Com MSR 30, MSR 50 manual Snmp-agent mib-view, Undo snmp-agent mib-view view-name