268
Parameters
object-identifier
: Specifies a notification OID, a case-sensitive string of 1 to 255 characters. It must
be a trap node.
Usage guidelines
The notification OID configured by using this command will be carried in the notification when the
notification action is taken.
Examples
# Specify the notification OID
1.3.6.1.2.1.14.16.2.1
for the event with the owner
owner1
and name
EventA
.
<Sysname> system-view
[Sysname] snmp mib event owner owner1 name EventA
[Sysname-event-owner1-EventA] action notification
[Sysname-event-owner1-EventA-notification] oid 1.3.6.1.2.1.14.16.2.1
Related commands
action
snmp mib event owner
oid (action-set view)
Use
oid
to specify a set-action object.
Use
undo oid
to restore the default.
Syntax
oid object-identifier
undo oid
Default
The OID is 0.0. No object is specified for a set action.
Views
Action-set view
Predefined user roles
network-admin
Parameters
object-identifier
: Specifies an object by its OID or name, a case-sensitive string of 1 to 255
characters. The object can be a table node, conceptual row node, table column node, leaf node, or
parent leaf node.
Examples
# Specify the object with the OID
1.3.6.1.2.1.2.2.1.7.3
for the set action of an event with the owner
owner1
and name
EventA
.