Changing OSPF routing policy through the configuration of routing information can meet the requirements in complicated networks. In addition, the advertising and receiving of OSPF routing information can be controlled and the routes of other protocols can be imported.