NED Validator (IAP 2022.1)
  • 21 Nov 2024
  • Dark
    Light
  • PDF

NED Validator (IAP 2022.1)

  • Dark
    Light
  • PDF

Article summary

Verifying Cisco IOS Configuration

The NED Validator accepts device configurations for various supported NEDs that are part of Cisco NSO (Network Services Orchestration). You can verify a configuration using the NED Validator before applying the configuration to your network devices.

From the Itential Automation Platform (IAP) home page menu, select NED Validator to open the application. Refer to the table below for a basic overview of the user interface (UI) and how the various elements are used to check the validity of your device configuration.

Figure 1: NED Validator UI
NED-ValidatorView02

Label UI Element Function
1 Select an Adapter Dropdown to select the adapter that holds the device information.
2 Select a NED Dropdown to select the name and version of the NED ID.
3 Upload File Click to upload a configuration file for import.
4 Configuration Field Used to enter and edit the device configuration.
5 Clear Config Click to delete any device configuration entered in the Configuration Field.
6 Verify Config Click to run verification of the configuration for the selected NED.
7 Validation Results The output of the verification run is displayed in this field.
8 Export Report Click to export the verification results in a text file.

To verify configuration for Cisco-IOS:

  1. Open the NED Validator.

  2. From the Select an Adapter dropdown, select Local NSO.

  3. From the Select a NED dropdown, select Cisco-IOS.

  4. Click in the Configuration field and type your configuration. A sample configuration is provided below if you do not have one readily available.

    Sample Configuration (Cisco-IOS)

    interface Loopback 0
        description Hello. Enter a string here.
        ip address 1.1.1.1 255.255.255.255
        no shut
    !
    router ospf 10
        network 1.1.0.0 0.0.255.255 area 0
    !
    
  5. Click the VERIFY CONFIG button. The NED Validator will check the configuration to verify its validity and display the output in the Validation Results field.

Figure 2 : Valid Configuration Result
validConfigurationResult

Verifying Cisco IOSXR Configuration

To confirm the NED Validator works for multiple NEDs, you can verify device configuration for the Cisco IOS XR NED.

  1. Click CLEAR CONFIG to erase the configuration in the Configuration field.

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

  3. Enter your device configuration in the Configuration field. A sample configuration is provided below if you do not have one readily available.

    Sample Configuration (Cisco IOS XR NED)

    interface Loopback 0
        description Hello. Enter a string here.
        no shut
    !
    
  4. Click the VERIFY CONFIG button. The NED Validator will check the configuration to verify its validity and display the output in the Validation Results field.

Figure 3: Cisco IOSXR Configuration Result
configurationResult

Exporting Configuration Results

Along with directly viewing your output in the Validation Results field, you can export your results to a text file.

  1. Click EXPORT REPORT.
  2. A report is automatically generated and downloaded to your computer.

Handling Device Config Errors 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.

  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 4: 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 5: 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 6: 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.