There is EPC for most switches:
...and a similar function on the ASA firewalls.
Both allow you to read the contents of the buffer, but not do great analysis. For that you need to export the buffers to PCAP and feed into wireshark off-box.
There isn't anything like the monitor traffic interface command from Junos.
In my experience you are normally performing packet captures on fairly sizeable switches/ firewalls so the capture process has very little impact.
If the devices which you are looking at do not have the feature to save monitor sessions to internal buffers, you also have SPAN:
Keep in mind that will be caveats/ limitations depending on platform, but it is at least available on every cisco switching platform.
….in which case ERSPAN is probably not available on your device either.
What is the device you are trying to capture on? Is the host traffic which is being captured routed on a device that supports EPC further upstream?
If not, then your best option is to have someone connect a laptop locally to the switch and configure a SPAN port which you can capture directly from.