The design and implementation of a campus network automatic certification in a router