228
Related commands
• snmp mib event trigger
• test
context (action-set view)
Use context to configure a context for the set action.
Use undo context to restore the default.
Syntax
context context-name
undo context
Default
A set action does not have a context.
Views
Action-set view
Predefined user roles
network-admin
Parameters
context-name: Specifies a context, a case-sensitive string of 1 to 32 characters.
Usage guidelines
To uniquely identify a set action, configure a context for the set action.
Examples
# Configure the context contextname1 for the set action for the event EventA.
<Sysname>system-view
[Sysname] snmp mib event owner owner1 name EventA
[Sysname-event-owner1-EventA] action set
[Sysname-event-owner1-EventA-set] context contextname1
Related commands
• action
• snmp mib event owner
• wildcard context
context (trigger view)
Use context to configure a context for a monitored object.
Use undo context to restore the default.
Syntax
context context-name
undo context