Home
You are not currently signed in.

MIB Smithy

  1. Up to Table of Contents

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 to be destroyed.

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.
  1. Up to Table of Contents