Abstract: Method for transmitting data packets between a network management station monitoring a network and network devices on which agents are installed, the network management station communicating with the agent of a network device via instructions; said method is characterized in that the network management station accesses a management information base of a network device by means of a configurable instruction and retrieves data packets corresponding to the configuration of the instruction.