Related Documentation
- M Series
- Configuring FlowTapLite
- MX Series
- Configuring FlowTapLite
- T Series
- Configuring FlowTapLite
Configuring the Flow-Tap Service
This section describes the following tasks for configuring flow-tap service:
Configuring the Flow-Tap Interface
To configure an adaptive services interface for flow-tap service, include the interface statement at the [edit services flow-tap] hierarchy level:
You can assign any Adaptive Services or Multiservices PIC in the active monitoring router for flow-tap service, and use any logical unit on the PIC.
You can specify the type of traffic for which you want to apply the flow-tap service by including the family inet | inet6 statement. If the family statement is not included, the flow-tap service is, by default, applied to the IPv4 traffic. To apply flow-tap service to IPv6 traffic, you must include the family inet6 statement in the configuration. To enable the flow-tap service for IPv4 and IPv6 traffic, you must explicitly configure the family statement for both inet and inet6 families.
![]() | Note: You cannot configure dynamic flow capture and flow-tap features on the same router simultaneously. |
You must also configure the logical interface at the [edit interfaces] hierarchy level:
![]() | Note: If you do not include the family inet6 statement in the configuration, IPv6 flows will not be intercepted. |
Strengthening Flow-Tap Security
You can add an extra level of security to Dynamic Tasking Control Protocol (DTCP) transactions between the mediation device and the router by enabling DTCP sessions on top of the SSH layer. To configure SSH settings, include the flow-tap-dtcp statement at the [edit system services] hierarchy level:
To configure client permissions for viewing and modifying flow-tap configurations and for receiving tapped traffic, include the permissions statement at the [edit system login class class-name] hierarchy level:
The permissions needed to use flow-tap features are as follows:
- flow-tap—Can view flow-tap configuration
- flow-tap-control—Can modify flow-tap configuration
- flow-tap-operation—Can tap flows
You can also specify user permissions on a RADIUS server, for example:
For details on [edit system] and RADIUS configuration, see the Junos OS System Basics Configuration Guide.
Restrictions on Flow-Tap Services
The following restrictions apply to flow-tap services:
- You cannot configure dynamic flow capture and flow-tap features on the same router simultaneously.
- On routers that support LMNR-based FPCs, you cannot configure the flow-tap service for IPv6 along with port mirroring or sampling of IPv6 traffic. This restriction applies even if the router does not have any LMNR-based FPC installed in it. However, there is no restriction on configuring flow-tap service on routers that are configured for port mirroring or sampling of IPv4 traffic.
- Flow-tap service does not support interception of MPLS and virtual private LAN service (VPLS).
- Flow-tap service cannot intercept Address Resolution Protocol (ARP) and other Layer 2 exceptions.
- IPv4 and IPv6 intercept filters can coexist on a system, subject to a combined maximum of 100 filters.
- When the dynamic flow capture process or the Adaptive Services or Multiservices PIC configured for flow-tap processing restarts, all filters are deleted and the mediation devices are disconnected.
- Only the first fragment of an IPv4 fragmented packet stream is sent to the content destination.
- Port mirroring might not work in conjunction with flow-tap processing.
- Running the flow-tap application over an IPsec tunnel on the same router can cause packet loops and is not supported.
- M10i routers do not support the standard flow-tap application, but do support FlowTapLite (see Configuring FlowTapLite). Flow-tap and FlowTapLite cannot be configured simultaneously on the same chassis.
- PIC-based flow-tap is not supported on M7i and M10i routers equipped with an Enhanced Compact Forwarding Engine Board (CFEB-E).
- You cannot configure flow-tap services on channelized interfaces.
Related Documentation
- M Series
- Configuring FlowTapLite
- MX Series
- Configuring FlowTapLite
- T Series
- Configuring FlowTapLite
