Chinese and Indian military commanders agree