To enable the Perl script, you must uncomment the Perl callout lines in the BASEDIR/smarts/conf/eigrp|isis/DISCOVERY_CUSTOM.import files. Those lines are identified in Figure 20 on page 58 and Figure 21 on page 59.

To enable the Perl script:

  1. Go to the BASEDIR/smarts/bin directory in the Network Protocol Manager installation area and use the sm_edit utility to open the DISCOVERY_CUSTOM.import file. For example:

                   sm_edit conf/eigrp/DISCOVERY_CUSTOM.import
                
  2. Uncomment the lines that are identified in Figure 20 on page 58.

  3. Save and close the script.

    The modified version of the .import file is saved to the BASEDIR/smarts/local/conf/eigrp directory.

    .
    .
    .
    #ICF_ScriptDiscoveryDriver::End-Device-Custom-Perl-Driver {
    #    ScriptAction = ACT_PerlScript::End-Device-Custom-Perl-RS {
    #        scriptName = "eigrp/custom/custom-perl-discovery.pl"
    #    }
    #    waitForCompletion = TRUE
    #    ElementTypeGlob = "EIGRP"
    #    Priority = 9900
    #}
    .
    .
    .
    .
    .
    .
    #ICF_ScriptDiscoveryDriver::End-Device-Custom-Perl-Driver {
    #    ScriptAction = ACT_PerlScript::End-Device-Custom-Perl-RS {
    #        scriptName = "isis/custom/custom-perl-discovery.pl"
    #    }
    #    waitForCompletion = TRUE
    #    ElementTypeGlob = "ISIS"
    #    Priority = 9900
    #}
    .
    .
    .