Invalid Device Configuration
  • 16 Jun 2022
  • Dark
    Light
  • PDF

Invalid Device Configuration

  • Dark
    Light
  • PDF

Article Summary

Invalid Device Configuration

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.

  1. Click CLEAR CONFIG to erase the Configuration field.

  2. From the Select NED dropdown, select the Cisco-IOS NED.

  3. 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
    !
    
  4. Click VERIFY CONFIG. Notice the error message in the Validation Results field.

    Figure 1 - Validation Result with Error Message

validationErrorMessage

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

validationErrorMessage

  1. 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
    
  2. Click the VERIFY CONFIG button. Notice the configuration output is now valid.

    Figure 3 - Validation result with Corrected Configuration

validationResult


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.