Syntax
context_save ctxt [pattern]
Arguments
(Mandatory) Context name.ctxt
(Optional) Glob-style pattern as used by the string
match Tcl command. If this argument is not specified,
the pattern defaults to the wildcard *.
There are three constructs used in glob patterns:
•
* = all characters
•
? = 1 character
•
[abc] = match one of a set of characters
pattern
Result String
None
Set _cerrno
A string displaying _cerrno, _cerr_sub_num, _cerr_sub_err, _cerr_posix_err,_cerr_str due to appl_setinfo
error.
Sample Usage
For examples showing how to use the context_save and context_retrieve command extension functionality
to save and retrieve data, see the Sample Usage, on page 190.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
193
Configuring and Managing Embedded Event Manager Policies
Tcl Context Library Command Extensions