With automation and AI technologies being all the rage in 2025, I wanted to explore some of the different ways it can be used with networking. Automating configurations for networking devices is one of the main ways that AI can be used to make networking life easier. It will greatly reduce the time and cost to delpoy networks, and make it easier to manage for IT teams. Today I will test out some AI automation using ChatGPT. I will prompt ChatGPT to create configurations for a topology I provide and see what it comes up with. This is the topology I will be using in this project:

To begin, I took a screenshot of this topology and uploaded it into ChatGPT along with the following prompt:

ChatGPT immediately started generating an IOS output. Here is a portion of the commands that it generated:

I then went into the router consoles and began pasting in the commands, starting with Routers 1, 3 and 4. Everyting seemed to work ok initially, however I immediately noticed one issue, the interfaces are not being enabled so the OSPF processes are not being initited:

I then asked ChatGPT to modify the config so that the interfaces are enabled. It immediately made the changes by adding the "No Shutdown" command where appropriate:

This step turned out to give me some trouble. ChatGPT simply put "No Shutdwon" at the beginning of each output, but not on to each specific interface, therefore the routers were not recognizing the command and the interfaces remained down. After working with the prompt for several minutes I decided to enable the interaces manually. I guess, AI is not perfect after all. After a while of playing with the prompt, I decided to ask ChatGPT to start from scratch, this time being more specific. With the newley created configuration, I was no able to see success. The routers were taking the commands as expected and the interface were up and enabled. Eventually the OSPF neighborships were able to form:

Router 1 has formed neighbor realtions ships with all the connected routers - 2, 3, and 4. The OSPF learned routes now also show up in the routing table, view with the "show ip route" command:

In the end, I was finally able to get the topology configured as envisioned. It took a few iterations of working with the ChatGPT prompts to get everything correct, but overall it was a fun experience. There is clear value in automation in the the networking world as it will simplify operations and reducee errors. However, this project made it clear that having a deep understanding of networking is still necessary when using automation. It is important to know why you are doing things, and how to troubleshoot issues that arise. AI is a valuable tool, but fundamental knowledge is required if you are to use it to its best advantage.
Below is the output of the final configuration generated by ChatGPT:
!
! Router 1 Configuration (OSPF Area 1)
!
hostname Router1
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
ip ospf 1 area 0
interface GigabitEthernet0/1
ip address 192.168.2.1 255.255.255.0
no shutdown
ip ospf 1 area 1
interface GigabitEthernet0/2
ip address 192.168.3.1 255.255.255.0
no shutdown
ip ospf 1 area 1
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 1
network 192.168.3.0 0.0.0.255 area 1
!
! Router 2 Configuration (OSPF Area 0)
!
hostname Router2
interface GigabitEthernet0/0
ip address 192.168.1.2 255.255.255.0
no shutdown
ip ospf 1 area 0
interface GigabitEthernet0/1
ip address 192.168.4.1 255.255.255.0
no shutdown
ip ospf 1 area 2
interface GigabitEthernet0/2
ip address 192.168.5.1 255.255.255.0
no shutdown
ip ospf 1 area 0
interface GigabitEthernet0/3
ip address 192.168.6.1 255.255.255.0
no shutdown
router ospf 1
network 192.168.1.0 0.0.0.255 area 0
network 192.168.4.0 0.0.0.255 area 2
network 192.168.5.0 0.0.0.255 area 0
router eigrp 65001
network 192.168.6.0
!
! Router 3 Configuration (OSPF Area 1)
!
hostname Router3
interface GigabitEthernet0/0
ip address 192.168.2.2 255.255.255.0
no shutdown
ip ospf 1 area 1
router ospf 1
network 192.168.2.0 0.0.0.255 area 1
!
! Router 4 Configuration (OSPF Area 1)
!
hostname Router4
interface GigabitEthernet0/0
ip address 192.168.3.2 255.255.255.0
no shutdown
ip ospf 1 area 1
router ospf 1
network 192.168.3.0 0.0.0.255 area 1
!
! Router 5 Configuration (OSPF Area 2)
!
hostname Router5
interface GigabitEthernet0/0
ip address 192.168.4.2 255.255.255.0
no shutdown
ip ospf 1 area 2
router ospf 1
network 192.168.4.0 0.0.0.255 area 2
!
! Router 6 Configuration (EIGRP 65001)
!
hostname Router6
interface GigabitEthernet0/0
ip address 192.168.6.2 255.255.255.0
no shutdown
router eigrp 65001
network 192.168.6.0
!
Created with © systeme.io