India and China today discussed ways to enhance security and cooperation to combat terror as officials from the two sides exchanged information on policies and legislation to deal with terrorism at the first high-level dialoguewhere they reached “important consensus”.