The invention relates to the field of communication, wherein the embodiment of the invention discloses a test method of multi-layer
protocol stack network equipment based on OPNET. The method comprises the following steps: a
peripheral interface circuit of a network
test equipment hardware edition;
software interface design of a network test hardware; a protocol extension test method; a multi-layer
protocol stack conversion method,
data stream encapsulation and binary bit mapping process; and hardware protocol test with segmentation function; and a test method of
Web application type based ona struct frame and
interface design. The method provides the
peripheral test interface with commercial mature OPNET
network simulation software, communicates a hardware interface plate with real network equipment, tests
protocol overhead and protocol
work flow, etc. By using the OPNET
simulation software, the method realizes the test requirement of the network and the hardware, analyzes various critical issues currently existed in the multi-layer
protocol stack and gives a complete solving method, and improves the reliability for testing the hardware equipment by means of
network simulation. The method can solve the problems of the simplification of the test network hardware equipment and the lack of the
simulation performance of the real network, and gives the
interface design method withhigher expansibility and commonality.