arXiv:2610.19958cs.NIOct 2026

Manuscript Offprint

arXiv:2610.19958

An Experimental Study on the Functional Correctness of Network Device Configurations Produced by Large Language Models

Anastasios C. Politis

Anastasios C. Politis

Dept. of Computer, Informatics and Telecommunications Engineering

International Hellenic University

Serres, Greece

anpol@ihu.gr

Abstract—This paper presents a preliminary study on the efficacy of network device configuration produced by Large Language Models (LLMs). Currently, the study focuses on routing protocol configurations in a predefined small internetwork with Cisco-based routing devices. The capability of three freely available LLMs with standard capabilities (i.e., with no enhanced features) to produce effective setups is investigated. Prompt engineering methods are excluded in order to assess the "first-response" configurations of the models under consideration. The assessment method is based on the contents of the resulting routing table, aiming at measuring the device functional correctness. For that purpose, the Jaccard index is used to indicate the percentage of correct network prefixes contained in the routing table constructed by the model-based configuration commands. The work provides insights on the maturity and limitations of modern LLMs on aiding network administrators with network device configurations in real deployments.

Index Terms—Network Devices, Configuration, Large Language Models, Command Line Interface

I. INTRODUCTION

Network devices form the infrastructure through which communication takes place. Moreover, they are the points in the network where the organization's operational intentions (e.g., the application of specific security policies) are applied. Hence, their proper and prompt configuration is critical in order to provide seamless services to end users and to implement organizational strategies. These devices may include routers, switches, wireless access points, firewalls etc.

Traditionally, device configuration and parameterization was a manual process which was achieved through access to the Command Line Interface (CLI) of the appliance. Access to that interface is possible either locally or remotely 1^{1}, where vendor-specific commands or configuration files can be imported to the operating system of the device. In more recent years, the Software Defined Network (SDN) technology allows operators to use protocols (e.g., Netconf and Restconf) and tools (e.g., Yang language) to simplify the configuration task through a central controller (e.g., OpenDaylight). However, in practical systems the presence of legacy and proprietary networking machinery, prohibits the full adoption of SDNs [1], [2]. Thus, human intervention in the configuration process through CLI is still frequently required [3], [4].

Manual configuration is considered a difficult task, which requires familiarity with vendor-specific software and documentation, often leading to erroneous system behaviour due to misconfigurations [3], [5]. To tackle the issue, several research works propose the use of configuration tools that translate intent-based languages into device-specific configuration commands [6], [7]. Nevertheless, such approaches require familiarity with these high-level languages, adding an extra burden to the network administrating team.

LLMs have infiltrated the life of internet users, helping them in performing tasks such as researching, content creation and programming, by simply guiding the tool with the use of natural language. Hence, it is reasonable for one to question if these models are able to aid network device configuration, and thus, largely relieve network engineers from this cumbersome process. Unsurprisingly, the answer to that question is in the affirmative and naturally gives birth to a follow-up inquiry: is the network device configuration produced by LLMs sufficient to make the system operate as intended?.

Arguably, repetitively prompting an LLM with corrective input (a process known as prompt engineering) may lead to the desired outcome. However, such a procedure requires progressively greater human effort and introduces significant time overhead. Hence, we believe that a study on the ability of LLMs to produce device configurations, directly from their initial response (without exploiting prompt engineering methods), that lead to a functional networking system, is practically meaningful.

This paper performs a preliminary study on the functional correctness of network device configuration generated by general-purpose LLMs. The free version of three popular LLMs were specifically chosen to reflect the realistic setting

© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. The final authenticated version is available at: https://doi.org/10.1109/IAICT71158.2026.11621016.

1^{1}Remote access requires previous device configuration through local access for that purpose.

of wide accessibility, without the leverage of any premium or enhanced capabilities. For the time being, the interest is restricted on routing protocol configurations. The LLMs chosen for the investigation include OpenAI's GPT, Google's Gemini and Mistral AI's Le Chat. Aiming at evaluating their capability to produce immediate functional configurations, prompt engineering approaches are avoided.

The rest of the paper is structured as follows. In Section II we review the works related to the current paper. Section III outlines the methodology followed and Section IV describes the experiments performed. Section V reports and discusses the outcome of the experiments and the paper is concluded in Section VI with final remarks and future directions.