mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -19,19 +19,18 @@ EXAMPLES
|
|||
us-central1, and send the mirrored traffic to the collector-fr Forwarding
|
||||
Rule.
|
||||
|
||||
$ gcloud beta compute packet-mirrorings create my-pm
|
||||
--network my-network --region us-central1
|
||||
--mirrored-subnets my-subnet --collector-ilb collector-fr
|
||||
--filter-protocols tcp
|
||||
$ gcloud beta compute packet-mirrorings create my-pm \
|
||||
--network my-network --region us-central1 \
|
||||
--mirrored-subnets my-subnet --collector-ilb collector-fr \
|
||||
--filter-protocols tcp
|
||||
|
||||
Mirror all traffic between instances with tag t1 and external server with
|
||||
IP 11.22.33.44 in us-central1, and send the mirrored traffic to the
|
||||
collector-fr Forwarding Rule.
|
||||
|
||||
$ gcloud beta compute packet-mirrorings create my-pm
|
||||
--network my-network --region us-central1
|
||||
--mirrored-tags t1 --collector-ilb collector-fr
|
||||
--filter-cidr-ranges 11.22.33.44/32
|
||||
$ gcloud beta compute packet-mirrorings create my-pm \
|
||||
--network my-network --region us-central1 --mirrored-tags t1 \
|
||||
--collector-ilb collector-fr --filter-cidr-ranges 11.22.33.44/32
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue