Configuring the Sampling Service Set
In addition to next-hop and interface service sets there is also a sampling service set. Interface and next-hop service sets are explained in the Junos Services Interfaces Configuration Guide.
The sampling service set is configured using the sampling-service statement at the [edit services service-set service-set-name] hierarchy level.
The service interface is the interface the sampling is taken from. In the case of a sampling service set, the service interface must be a Multiservices PIC interface with a subunit number of 0 (zero). If the subunit is not specified, 0 is assumed. The reverse-flow statement is not mandatory in this case. If no reverse flow is configured, all the sampled traffic is considered to be forward traffic. The next example makes sure that any sampled packet to the ms-6/1/0.0 interface has the service plug-ins plugin1 and plugin2 applied to it.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1