View multicast configurations
This page describes how to list and view the details of multicast configurations.
For more information about the multicast resources mentioned on this page, see Multicast resource model.
Before you begin
Set the gcloud CLI to use the project for which you want to
view multicast resources. Alternatively you can include the
--project=PROJECT_ID flag for each command in the
following procedures.
gcloud config set project PROJECT_ID
Replace PROJECT_ID with the ID of the project.
About multicast resource states
The multicast resources that you have configured include a read-only property that
describes their current state. When you view multicast configurations by using
the procedures on this page, you can view the state of individual resources in the
state field in the output of the command or request.
The following table describes the possible states:
| State | Description |
|---|---|
CREATING |
The resource is being created. |
ACTIVE |
The resource is in a normal state and ready to use. |
DELETING |
The resource is being deleted. |
DELETE_FAILED |
An attempt to delete the resource failed. |
UPDATING |
The resource is being updated. |
UPDATE_FAILED |
An attempt to update the resource failed. |
INACTIVE |
This state applies to multicast consumer configurations. It indicates that the multicast administrator performed an action that deactivated a multicast consumer resource, such as by revoking access to a domain or group range. An existing multicast consumer resource that has an |
View multicast domain configurations
This section describes how to view existing configurations for multicast domains.
View multicast domain groups
gcloud
To list multicast domain groups, use the
network-services multicast-domain-groups listcommand.gcloud network-services multicast-domain-groups list --location=global
To describe a multicast domain group, use the
network-services multicast-domain-groups describecommand.gcloud network-services multicast-domain-groups describe DOMAIN_GROUP_NAME \ --location=globalReplace
DOMAIN_GROUP_NAMEwith the name of the domain group.
API
To list multicast domain groups, use the
multicastDomainGroups.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/global/multicastDomainGroups
To describe a multicast domain group, use the
multicastDomainGroups.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/global/multicastDomainGroups/DOMAIN_GROUP_NAME
Replace
DOMAIN_GROUP_NAMEwith the name of the domain group.
View multicast domains
gcloud
To list multicast domains, use the
network-services multicast-domains listcommand.gcloud network-services multicast-domains list --location=global
To describe a multicast domain, use the
network-services multicast-domains describecommand.gcloud network-services multicast-domains describe DOMAIN_NAME \ --location=globalReplace
DOMAIN_NAMEwith the name of the domain.
API
To list multicast domains, use the
multicastDomains.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/global/multicastDomains
To describe a multicast domain, use the
multicastDomains.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/global/multicastDomains/DOMAIN_NAME
Replace
DOMAIN_NAMEwith the name of the domain.
View multicast domain activations
gcloud
To list multicast domain activations, use the
network-services multicast-domain-activations listcommand.gcloud network-services multicast-domain-activations list --location=ZONE
Replace
ZONEwith the zone for which to list domain activations.To describe a multicast domain activation, use the
network-services multicast-domain-activations describecommand.gcloud network-services multicast-domain-activations describe DOMAIN_ACTIVATION_NAME \ --location=ZONEReplace the following values:
DOMAIN_ACTIVATION_NAME: the name of the domain activationZONE: the zone where the domain was activated
API
To list multicast domain activations, use the
multicastDomainActivations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastDomainActivations
Replace
ZONEwith the zone for which to list domain activations.To describe a multicast domain activation, use the
multicastDomainActivations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastDomainActivations/DOMAIN_ACTIVATION_NAME
Replace the following values:
DOMAIN_ACTIVATION_NAME: the name of the domain activationZONE: the zone where the domain was activated
View multicast group range configurations
This section describes how to view existing configurations for multicast groups.
View multicast group ranges
gcloud
To list multicast group ranges, use the
network-services multicast-group-ranges listcommand.gcloud network-services multicast-group-ranges list --location=global
To describe a multicast group range, use the
network-services multicast-group-ranges describecommand.gcloud network-services multicast-group-ranges describe GROUP_RANGE_NAME \ --location=globalReplace
GROUP_RANGE_NAMEwith the name of the group range.
API
To list multicast group ranges, use the
multicastGroupRanges.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/global/multicastGroupRanges
To describe a multicast group range, use the
multicastGroupRanges.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/global/multicastGroupRanges/GROUP_RANGE_NAME
Replace
GROUP_RANGE_NAMEwith the name of the group range.
View multicast group range activations
gcloud
To list multicast group range activations, use the
network-services multicast-group-range-activations listcommand.gcloud network-services multicast-group-range-activations list --location=ZONE
Replace
ZONEwith the zone for which to list group range activations.To describe a multicast group range activation, use the
network-services multicast-group-range-activations describecommand.gcloud network-services multicast-group-range-activations describe GROUP_RANGE_ACTIVATION_NAME \ --location=ZONEReplace the following values:
GROUP_RANGE_ACTIVATION_NAME: the name of the group range activationZONE: the zone where the group range was activated
API
To list multicast group range activations, use the
multicastGroupRangeActivations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupRangeActivations
Replace
ZONEwith the zone for which to list group range activations.To describe a multicast group range activation, use the
multicastGroupRangeActivations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupRangeActivations/GROUP_RANGE_ACTIVATION_NAME
Replace the following values:
GROUP_RANGE_ACTIVATION_NAME: the name of the group range activationZONE: the zone where the group range was activated
View multicast producer configurations
This section describes how to view existing multicast producer configurations.
View multicast producer associations
gcloud
To list multicast producer associations, use the
network-services multicast-producer-associations listcommand.gcloud network-services multicast-producer-associations list --location=ZONE
Replace
ZONEwith the zone for which to list multicast producer associations.To describe a multicast producer association, use the
network-services multicast-producer-associations describecommand.gcloud network-services multicast-producer-associations describe PRODUCER_ASSOCIATION_NAME \ --location=ZONEReplace the following values:
PRODUCER_ASSOCIATION_NAME: the name of the multicast producer associationZONE: the zone in which the multicast producer association was created
API
To list multicast producer associations, use the
multicastProducerAssociations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastProducerAssociations
Replace
ZONEwith the zone for which to list multicast producer associations.To describe a multicast producer association, use the
multicastProducerAssociations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastProducerAssociations/PRODUCER_ASSOCIATION_NAME
Replace the following values:
PRODUCER_ASSOCIATION_NAME: the name of the multicast producer associationZONE: the zone in which the multicast producer association was created
View multicast group producer activations
gcloud
To list multicast group producer activations, use the
network-services multicast-group-producer-activations listcommand.gcloud network-services multicast-group-producer-activations list --location=ZONE
Replace
ZONEwith the zone for which to list multicast group producer activations.To describe a multicast group producer activation, use the
network-services multicast-group-producer-activations describecommand.gcloud network-services multicast-group-producer-activations describe GROUP_PRODUCER_ACTIVATION_NAME \ --location=ZONEReplace the following values:
GROUP_PRODUCER_ACTIVATION_NAME: the name of the multicast group producer activationZONE: the zone in which the multicast producer network was activated
API
To list multicast group producer activations, use the
multicastGroupProducerActivations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupProducerActivations
Replace
ZONEwith the zone for which to list multicast group producer activations.To describe a multicast group producer activation, use the
multicastGroupProducerActivations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupProducerActivations/GROUP_PRODUCER_ACTIVATION_NAME
Replace the following values:
GROUP_PRODUCER_ACTIVATION_NAME: the name of the multicast group producer activationZONE: the zone in which the multicast producer network was activated
View multicast consumer configurations
This section describes how to view existing multicast consumer configurations.
View multicast consumer associations
gcloud
To list multicast consumer associations, use the
network-services multicast-consumer-associations listcommand.gcloud network-services multicast-consumer-associations list --location=ZONE
Replace
ZONEwith the zone for which to list multicast consumer associations.To describe a multicast consumer association, use the
network-services multicast-consumer-associations describecommand.gcloud network-services multicast-consumer-associations describe CONSUMER_ASSOCIATION_NAME \ --location=ZONEReplace the following values:
CONSUMER_ASSOCIATION_NAME: the name of the multicast consumer associationZONE: the zone in which the multicast consumer association was created
API
To list multicast consumer associations, use the
multicastConsumerAssociations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastConsumerAssociations
Replace
ZONEwith the zone for which to list multicast consumer associations.To describe a multicast consumer association, use the
multicastConsumerAssociations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastConsumerAssociations/CONSUMER_ASSOCIATION_NAME
Replace the following values:
CONSUMER_ASSOCIATION_NAME: the name of the multicast consumer associationZONE: the zone in which the multicast consumer association was created
View multicast group consumer activations
gcloud
To list multicast group consumer activations, use the
network-services multicast-group-consumer-activations listcommand.gcloud network-services multicast-group-consumer-activations list --location=ZONE
Replace
ZONEwith the zone for which to list multicast group consumer activations.To describe a multicast group consumer activation, use the
network-services multicast-group-consumer-activations describecommand.gcloud network-services multicast-group-consumer-activations describe GROUP_CONSUMER_ACTIVATION_NAME \ --location=ZONEReplace the following values:
GROUP_CONSUMER_ACTIVATION_NAME: the name of the multicast group consumer activationZONE: the zone in which the multicast consumer network was activated
API
To list multicast group consumer activations, use the
multicastGroupConsumerActivations.listmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupConsumerActivations
Replace
ZONEwith the zone for which to list multicast group consumer activations.To describe a multicast group consumer activation, use the
multicastGroupConsumerActivations.getmethod.GET https://networkservices.googleapis.com/v1/projects/PROJECT_ID/locations/ZONE/multicastGroupConsumerActivations/GROUP_CONSUMER_ACTIVATION_NAME
Replace the following values:
GROUP_CONSUMER_ACTIVATION_NAME: the name of the multicast group consumer activationZONE: the zone in which the multicast consumer network was activated