285
Examples
# Specify the contexts for the monitored object as
contextname
and enable wildcard search for the
contexts.
<Sysname> system-view
[Sysname] snmp mib event trigger owner owner1 name triggerA
[Sysname-trigger-owner1-triggerA] context contextname
[Sysname-trigger-owner1-triggerA] wildcard context
Related commands
context
snmp mib event trigger
wildcard oid (action-set view)
Use
wildcard oid
to enable wildcard search for the set-action object OIDs.
Use
undo wildcard oid
to restore the default.
Syntax
wildcard oid
undo wildcard oid
Default
The set-action object OID is fully specified.
Views
Action-set view
Predefined user roles
network-admin
Usage guidelines
This command must be used in conjunction with the
oid
command. A wildcarded OID has two parts:
the OID specified by the
oid
command and the wildcarded part.
Examples
# Specify the set-action object by its OID
1.3.6.1.2.1.2.2.1.7
for the event with the owner
owner1
and
the name
EventA
. Enable wildcard search for the sec-action object OIDs.
<Sysname> system-view
[Sysname] snmp mib event owner owner1 name EventA
[Sysname-event-owner1-EventA] action set
[Sysname-event-owner1-EventA-set] oid 1.3.6.1.2.1.2.2.1.7
[Sysname-event-owner1-EventA-set] wildcard oid
Related commands
action set
oid