CmdID / az / az network / az network route-filter / az network route-filter rule
az network route-filter rule list-service-communities
Gets all the available BGP service communities. Azure CLI reference
2 examples Its page in the Azure CLI reference
Examples
Gets all the available BGP service communities.
az network route-filter rule list-service-communities -o tableIdentify-oOutput formatGet the community value for Exchange.
az network route-filter rule list-service-communities --query '[].bgpCommunities[?communityName==`Exchange`].[communityValue][][]' -o tsvIdentify--queryJMESPath query string.-oOutput format