Use Filter-Based Forwarding to Export Monitored Traffic to Multiple Destinations
The firewall filter called
tunnel-interface-filterthat you made earlier sends UDP traffic into one filter-based forwarding routing instance calledudp-routing-table, sends TCP traffic into a second filter-based forwarding routing instance calledtcp-routing-table, and discards all other packets. Here you will configure the filter-based forwarding instances.Configure an export interface for each of your routing instances by including a static next hop. To configure, include the
routestatement at the [edit routing-instancesinstance-namerouting-options static] hierarchy level and specify a next-hop address or interface.[edit]routing-instances {tcp-routing-table {instance-type forwarding;routing-options {static {route 0.0.0.0/0 next-hop es-3/1/0.0;}}}udp-routing-table {instance-type forwarding;routing-options {static {route 0.0.0.0/0 next-hop 10.9.1.2;}}}}