Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring Traffic Sampling for Junos Applications

You enable sampling for Junos applications much as you do for with the regular Junos operating system (OS). But only family inet and family inet6 are supported for Junos applications receiving traffic on an ms- interface.

Developed for Junos applications, the extension-service statement provides a section of the configuration hierarchy in which the provider of your application may have added its own traffic-monitoring configuration statements. The extension-service statement is available at the following hierarchy levels:

  • [edit services service-set service-set-name]
  • [edit forwarding-options sampling family family output]
  • [edit forwarding-options sampling instance instance-name family family output]

To enable sampling for applications and be able to use any application-specific configuration statements your application provider may have added, you must include the extension-service statement at the [edit forwarding-options sampling family family output] or [edit forwarding-options sampling instance instance-name family family output] hierarchy level. For application-specific configuration guidelines, see the documentation provided with your application.

Note: If you use the extension-service statement, the only other statement you can include at the [edit forwarding-options sampling family family output] hierarchy level is the interface statement. In this case, you must set the interface statement to an interface with an ms- prefix.

[edit]
forwarding-options {sampling {family family {output {extension-service service-name {provider-specific rules;}interface ms-fpc/pic/port;}}}}

Published: 2013-03-06