| < Prev | Back to Table of Contents | Next > |
Pending requests are those that have been sent to the agent but no response has yet been received back. Sometimes it is desireable to cancel pending requests if, for example, session configuration has changed or it is determined that no response will be received before the timeout occurs.
% snmpcmd cancel ?id ...?
..where snmpcmd is the name of session,
and zero or more id parameters specify the
unique request identifiers returned by asynchronous request calls
that are to be cancelled.
Nothing.
% foreach id [$sess pending] { $sess cancel $id }
...or...
% eval $sess cancel [$sess pending]
% $sess cancel {expand}[$sess pending]
| < Prev | Back to Table of Contents | Next > |