Configuring the Script Service for Packet Mirroring
To configure the script service for packet mirroring:
- Create a script service in the services global service name hierarchy or the services scope name service name hierarchy. For example:
- Set the type to script.
- (Optional) Configure other properties as needed for your service.
- Configure the script properties.
- Access the script hierarchy for the configured script service.
- Specify URL as the script type.
- Specify the name of the Java class that implements the script service.
- Configure the URL of the script service or the path and filename of the service.
- Verify the configuration.
[edit services global service packetMirroring script] user@host# show type script; status active; available; script { script-type url; class-name net.juniper.smgt.sae.packetMirroring.LiService; file file:///opt/UMC/sae/var/run/pm.jar; } - Configure the parameters for the script service.
See Configuring Parameters for the Script Service for Packet Mirroring.
