How to shutdown an interface or drop a BGP session on that same interface if a second interface goes down or loses IP routing?
Looking at the attached jpeg the problem is if interface Te1/1 goes down or loses ip routing then shutdown interface Te1/2 or drop the BGP session between Te1/2 ip address 10.0.0.1 and the BGP neighbor 10.0.0.2.
I suspect this is something that might be done by:
a) object-tracking line protocol on the second interface
b) object-tracking ip routing on the second interface