$ metlo traffic-mirror gcp new✔ GCP Project Name · metlo-security✔ GCP Network to mirror · default✔ Select your GCP zone · us-central1-a✔ Path to GCP key file · <PATH TO GCP KEY FILE>✔ Validated account detailsValidated account details succesfully✔ Select your mirror source type · SUBNET✔ Enter the mirror source subnet name · default✔ Verified mirror source details✔ Created destination subnet✔ Created Firewall rule✔ Obtained router details✔ Mirror Instance Type · e2-standard-2✔ Metlo URL · http://<YOUR_METLO_HOST>:8081✔ Metlo API Key · <YOUR_METLO_API_KEY>✔ Created MIG for metlo✔ Created health check✔ Creating Backend service for packet mirroring✔ Created load balancer✔ Started packet mirroring
$ metlo traffic-mirror gcp new✔ GCP Project Name · metlo-security✔ GCP Network to mirror · default? Select your GCP zone …✔ Select your GCP zone · us-central1-a✔ Path to GCP key file · <PATH TO GCP KEY FILE>✔ Validated account details✔ Select Packet Mirroring instance · metlo-packet-mirroring-ABCD1234✔ Select your mirror source type · TAG✔ Enter the mirror source tag name · https-server✔ Updated packet mirroring✨ Done in 46.69s.
Mirrored items can be removed by metlo traffic-mirror gcp remove
Bash
Copy
$ metlo traffic-mirror gcp remove✔ GCP Project Name · metlo-security✔ GCP Network to mirror · default? Select your GCP zone …✔ Select your GCP zone · us-central1-a✔ Path to GCP key file · <PATH TO GCP KEY FILE>✔ Validated account details✔ Select Packet Mirroring instance · metlo-packet-mirroring-ABCD1234✔ Select your mirror source type · INSTANCE✔ Enter the mirror source instance name to remove · <INSTANCE NAME>✔ Deleted resource from packet mirroring succesfully✨ Done in 60.01s.