Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Gerenciar aviso do BGP (v2)
Quando você cria prefixos anunciados públicos v2 e prefixos delegados públicos v2, eles não são anunciados automaticamente. Você escolhe quando anunciar
ou remover os prefixos.
Especificações
Anunciar um prefixo público anunciado anuncia todo o prefixo público anunciado na Internet.
O anúncio de um prefixo delegado público informa que ele
está no Google Cloud.
É possível anunciar um prefixo público delegado sem anunciar o prefixo público
anunciado pai. Nessa configuração, o prefixo público delegado
é anunciado no Google Cloud e não é anunciado para a Internet.
É necessário anunciar pelo menos um prefixo público delegado antes de anunciar o prefixo público anunciado pai.
Não será possível retirar o aviso de um prefixo público delegado se ele for o
único prefixo público delegado anunciado para o prefixo público
pai anunciado. Primeiro, retire o prefixo público anunciado principal e,
em seguida, cancele o prefixo público delegado.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-12-06 UTC."],[],[],null,["# Manage BGP announcement (v2)\n============================\n\nWhen you create v2 public advertised prefixes and v2 public delegated prefixes,\nthey are not automatically announced. You choose when to announce or\nwithdraw the prefixes.\n\nSpecifications\n--------------\n\n- Announcing a public advertised prefix announces the whole public advertised prefix to the internet.\n- Announcing a public delegated prefix announces that public delegated prefix within Google Cloud.\n- You can announce a public delegated prefix without announcing the parent public advertised prefix. In this configuration, the public delegated prefix is announced within Google Cloud, and isn't announced to the internet.\n- You must announce at least one public delegated prefix before you can announce the parent public advertised prefix.\n- You can't withdraw announcement for a public delegated prefix if it is the only public delegated prefix being announced for the parent public advertised prefix. First withdraw the parent public advertised prefix, then withdraw the public delegated prefix.\n- Announce and withdraw requests are rate limited. For more information, see [quotas for bring your own IP](/vpc/docs/quota#byoip).\n\nBefore you begin\n----------------\n\n- Verify that your public delegated prefix uses v2.\n\n\n Run this command to verify which version you are using: \n\n ```\n gcloud compute public-delegated-prefixes describe PDP_NAME \\\n --region=REGION | grep byoipApiVersion\n ```\n\n \u003cbr /\u003e\n\n### Announce BGP advertisement for a prefix\n\n### Console\n\n1. In the Google Cloud console, go to **Bring your own IP**.\n\n [Go to Bring your own IP](https://console.cloud.google.com/networking/byoip)\n2. Select the prefix that you want to announce.\n\n3. Click **Announce**.\n\n A dialog is displayed to confirm announcing the public advertised\n prefix.\n4. Click **Announce** to confirm.\n\n### gcloud\n\n- To announce a public delegated prefix, use the\n [`public-delegated-prefixes update`\n command](/sdk/gcloud/reference/compute/public-delegated-prefixes/update).\n\n ```\n gcloud compute public-delegated-prefixes update PDP_NAME \\\n --region=PDP_REGION \\\n --announce-prefix\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePDP_NAME\u003c/var\u003e: the public delegated prefix that you want\n to announce.\n\n - \u003cvar translate=\"no\"\u003ePDP_REGION\u003c/var\u003e: the region of the public delegated\n prefix.\n\n- To announce a public advertised prefix, use the\n [`public-advertised-prefixes update`\n command](/sdk/gcloud/reference/compute/public-advertised-prefixes/update).\n\n ```\n gcloud compute public-advertised-prefixes update PAP_NAME \\\n --announce-prefix\n ```\n\n Replace \u003cvar translate=\"no\"\u003ePAP_NAME\u003c/var\u003e with the name of the public advertised\n prefix that you want to announce.\n\n### Withdraw advertisement of a prefix\n\n### Console\n\n1. In the Google Cloud console, go to **Bring your own IP**.\n\n [Go to Bring your own IP](https://console.cloud.google.com/networking/byoip)\n2. Select the prefix that you want to withdraw.\n\n3. Click **Withdraw**.\n\n A dialog is displayed to confirm withdrawing the public advertised\n prefix.\n4. Click **Withdraw** to confirm.\n\n### gcloud\n\n- To withdraw a public delegated prefix, use the\n [`public-delegated-prefixes update`\n command](/sdk/gcloud/reference/compute/public-delegated-prefixes/update).\n\n ```\n gcloud compute public-delegated-prefixes update PDP_NAME \\\n --region=PDP_REGION \\\n --withdraw-prefix\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePDP_NAME\u003c/var\u003e: the public delegated prefix that you want\n to withdraw.\n\n - \u003cvar translate=\"no\"\u003ePDP_REGION\u003c/var\u003e: the region of the public delegated\n prefix.\n\n- To withdraw a public advertised prefix, use the\n [`public-advertised-prefixes update`\n command](/sdk/gcloud/reference/compute/public-advertised-prefixes/update).\n\n ```\n gcloud compute public-advertised-prefixes update PAP_NAME \\\n --withdraw-prefix\n ```\n\n Replace \u003cvar translate=\"no\"\u003ePAP_NAME\u003c/var\u003e with the name of the public advertised\n prefix that you want to withdraw."]]