Description

Following the documentation:


https://www.juniper.net/documentation/us/en/software/session-smart-router/docs/ts_packet_capture/#create-capture-filter


Examples:

create capture-filter router ROUTER_NAME node NODE_NAME device-interface INTERFACE_NAME "port 12345"

create capture-filter router ROUTER_NAME node NODE_NAME device-interface INTERFACE_NAME "net 10.10.10.128/24 and port 12345"

Symptoms

  • Conductor managed environment
  • capture-filter appears correct, but is not capturing any packets on the interface

Solution

vlans are not included in the capture filter unless specified.


To capture all vlans, use:

create capture-filter router ROUTER_NAME node NODE_NAME device-interface INTERFACE_NAME "port 12345 or (vlan and port 12345 )"

create capture-filter router ROUTER_NAME node NODE_NAME device-interface INTERFACE_NAME "net 10.10.10.128/24 and port 12345 or (vlan and net 10.10.10.128/24 and port 12345 )"


Modification History

2025-08-05 : Article Created