To modify a common ASL script:
-
Go to the BASEDIR/smarts/bin directory in the Network Protocol Manager installation area and use the sm_edit utility to open the ASL script. For example:
sm_edit rules/bgp/custom/custom-end-system.asl
-
Add your ASL code to the script.
-
Save and close the script.
The modified version of the ASL script is saved to the BASEDIR/smarts/local/rules/bgp/custom directory.
-
If Network Protocol Manager for BGP was running before you edited the ASL script, restart Network Protocol Manager for BGP.
Included in a Network Protocol Manager software distribution is an example of a modified custom-end-system.asl file. That file is located in the following directory:
BASEDIR/smarts/examples/dynamic-model/example2/rules/discovery/custom