To configure the script service for packet mirroring:
- [edit]
- user@host# edit services global service packetMirroring
- [edit services global service packetMirroring]
- user@host# set type script
- [edit services global service packetMirroring]
- user@host# edit script
- [edit services global service packetMirroring script]
- user@host# set script-type url
- [edit services global service packetMirroring script]
- user@host# set class-name net.juniper.smgt.sae.packetMirroring.LiService
- [edit services global service packetMirroring script]
- user@host# set file file:///opt/UMC/sae/var/run/pm.jar
[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;
}
See Configuring Parameters for the Script Service for Packet Mirroring.