This paper considers the leader-following tracking problem of second-order nonlinear multi-agent systems with a reference leader. It is assumed that all following agents can only access the relative position information with its neighbors, the position and velocity information of the leader is only accessed by a subset of the following agents, and the leader׳s bounded reference input cannot be available by any following agents. To track the active leader, a distributed discontinuous observer-based consensus protocol is proposed for each following agent, whose observer is used to estimate the agent׳s unmeasured velocity. Under connected undirected interaction topology, the proposed protocol can be used to solve the second-order nonlinear multi-agent consensus problem. While the reference input of the leader is known, the proposed protocol can solve the consensus problem under a class of directed switching interaction topologies. Furthermore, to make the designed approach in fully distributed fashion, the distributed adaptive laws are provided to design the protocol coupling parameters. Finally, a numerical example is presented to illustrate our obtained result.