An important function of network management is configuration management. It requires lots of work and skills to properly configure a large scale network. It will pose the network operators a great deal of burden. The fast speed and correctness of human configurations are difficult to achieve. And a small configuration error may cause the network to run abnormally. In order to reduce the network configuration errors and speedup the configuration process, we should make the network configure itself automatically as possible as it can.