- 01 Jul 2024
-
DarkLight
-
PDF
Invalid Device Configuration
- Updated on 01 Jul 2024
-
DarkLight
-
PDF
Device Config Error in NED Validator
When an error in device configuration occurs, the NED Validator displays an error message. This section provides an example of an error when checked against the Cisco-IOS NED.
-
Click CLEAR CONFIG to erase the Configuration field.
-
From the Select NED dropdown, select the Cisco-IOS NED.
-
Enter the configuration sample shown below in the Configuration field.
Sample Invalid Configuration (Cisco-IOS)
interface Loopback 0 description Loopback address is our OSPF router ID ip address 1.1.1.1 255.255.255.255 no shut ! interface Fast 1/0 ipv4 address 10.10.10.10 255.255.255.0 no shut ! router ospf 10 router-id 1.1.1.1 network 1.1.0.0 0.0.255.255 area 0 !
-
Click VERIFY CONFIG. Notice the error message in the Validation Results field.
Figure 1 - Validation Result with Error Message
Correcting Invalid Cisco IOS Configuration
From the pevious example that was shown, the output message in the Validation Results field indicated a syntax error on line 2 which points to an invalid IP address.
Figure 2 - Syntax Error on Line 2
-
Replace the incorrect configuration line by inserting the correct IP address shown below.
Correct Line of Configuration
ip address 10.10.10.10 255.255.255.0
-
Click the VERIFY CONFIG button. Notice the configuration output is now valid.
Figure 3 - Validation result with Corrected Configuration