Automatic configuration method of routing protocol, routing device and authorization server

The invention provides an automatic configuration method of a routing protocol, a routing device and an authorization server. The automatic configuration method comprises the following steps that: after any two routing devices which are physically and directly connected in a network are processed by a mutual authentication, an interconnection authorization inquiring request is sent to authorization servers of respective local area networks, wherein the interconnection authorization inquiring request carries information for marking the routing devices, which is obtained in the process of the mutual authentication; if the authorization server inquires that a neighbor trust relation is allowed to be established between the two routing devices in a local database, an inquiring response message is returned back to the corresponding routing device, wherein the inquiring response message appoints to the type of the neighbor trust relation which is allowed to be established between the two routing devices; the appointed type of the neighbor trust relation is established between the routing device and the routing device at the opposite end according to the inquiring response message and the two routing devices which have the neighbor trust relation are allowed to carry out communication of routing information. According to the automatic configuration method of the routing protocol provided by the invention, by automatically establishing the neighbor relation between the routing devices in the network, the difficulty of configuring the routing protocol is greatly reduced.