Hi,
Its related to two things
1. Tracking reachability of Next hops of the routes
2. Eliminating all routes learnt via a Neighbor, if neighnor relationship is down..
These are already inbuilt in default BGP config in new IOS 12.2/3..
HTH , plz rate the posts :)
Regards,
Gaurav