Comparing formatted files using the command line

You can compare any two NetConfig formatted files in the file system by specifying file paths as the values of the first and second parameters. In this case, the setroot and setsite commands also must be invoked before the command line is available.

  1. setroot and setsite to the correct site.
  2. Run the hcinetdiff.htc command to compare a given NetConfig formatted file with the current NetConfig formatted file.
    The syntax for running hcinetdiff.htc is:
    hcinetdiff baseNetConfig [anotherNetConfig]

    baseNetConfig is a required parameter that specifies the path to the name of a Network Configurator file.

    [anotherNetConfig] is an optional parameter that specifies the path to the name of the second Network Configurator file to be compared with baseNetConfig . If this parameter is not specified, then the comparison is performed between the current NetConfig formatted file and the file specified in baseNetConfig.

    Note: The path to the name of the Network Configurator file is relative. That is, the path is relative to the current site in the host server file system. For example, if the current site is C:\cloverleaf\cis6.2\curr_site, ...\anothersite\NetConfig represents the C:\cloverleaf\cis6.2\anothersite\NetConfig file.