bottrap
< Prev Back to Table of Contents Next >

Closing SNMP Sessions

Destroying (closing) an SNMP Session deletes its command from Tcl, cancels all pending requests, and frees up all memory associated with the session.

Syntax:

% snmpcmd destroy

..where snmpcmd is the name of the session (e.g. snmplib or snmplib1).

Returns:

Nothing.

Notes:

The master session is the only session that is reinitialized after being destroyed. Issuing the "snmplib destroy" command closes the master session, cancelling any pending requests, and reinitalizes the session to use default configuration values. See Opening SNMP Sessions for defaults.
< Prev Back to Table of Contents Next >