Depends on your OS. zebra will get realtime notification on Linux with netlink, and on *bsd with "routing socket".
And then there are times when netlink communication dies and causes a bgp prefix to get 'stuck' as kernel route :( hahah Never had problems with socket/ioctl though. -hc -- Sincerely, Haesu C. TowardEX Technologies, Inc. WWW: http://www.towardex.com E-mail: haesu@towardex.com Cell: (978) 394-2867
Looks like an expect script telneting to the ospfd and removing the network statement from the router ospf section is the best way, or is there some more elegant mechanism people use? Thanks Vtysh is somewhat simpler than telnetting.
Alex Pilosov | DSL, Colocation, Hosting Services President | alex@pilosoft.com (800) 710-7031 Pilosoft, Inc. | http://www.pilosoft.com