Use Suricata to receive mirrored traffic from the switch

I want to use Suricata to receive mirrored traffic from the switch for monitoring network threats. How should I configure it? Thank you!