Re: Removing a MIB instance from an agent

Douglas Rabe (darabe@ans.net)
Mon, 23 Sep 1996 15:13:52 -0400 (EDT)

> Douglas Rabe <darabe@ans.net> said:
>
> Douglas> I am creating an agent that maintains MIB instances
> Douglas> indexed by IP address. How do I remove a MIB instance
> Douglas> in the agent when one of the IP addresses becomes
> Douglas> invalid?
>
> Douglas> To create the instance I do:
> Douglas> $s_agent instance X.$ipaddr X($ipaddr)
>
> The lifetime of the MIB instance is bound to the Tcl variable. Try
>
> unset X($ipaddr)
>
> and the MIB instance will disappear.
> Juergen

Great, that is what I wanted to know. Thanks

-- 
Douglas Rabe
ANS Senior Associate Engineer
darabe@ans.net