Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mengelola pengumuman BGP (v2)
Saat Anda membuat awalan yang diiklankan publik v2 dan awalan yang didelegasikan publik v2,
awalan tersebut tidak otomatis diumumkan. Anda dapat memilih kapan akan mengumumkan atau
menarik awalan.
Spesifikasi
Mengumumkan awalan yang diiklankan secara publik akan mengumumkan seluruh awalan yang diiklankan
secara publik ke internet.
Mengumumkan awalan yang didelegasikan publik akan mengumumkan awalan yang didelegasikan publik
dalam Google Cloud.
Anda dapat mengumumkan awalan yang didelegasikan publik tanpa mengumumkan awalan
yang diiklankan publik induk. Dalam konfigurasi ini, awalan yang didelegasikan publik
diumumkan dalam Google Cloud, dan tidak diumumkan ke internet.
Anda harus mengumumkan minimal satu awalan yang didelegasikan publik sebelum dapat mengumumkan awalan induk yang diiklankan secara publik.
Anda tidak dapat membatalkan pengumuman untuk awalan yang didelegasikan secara publik jika awalan tersebut
adalah satu-satunya awalan yang didelegasikan secara publik yang diumumkan untuk awalan induk
yang diiklankan secara publik. Pertama, batalkan awalan yang diiklankan secara publik induk, lalu
batalkan awalan yang didelegasikan publik.
Permintaan pengumuman dan permintaan pengunduran diri dibatasi kapasitasnya. Untuk mengetahui informasi selengkapnya, lihat
kuota untuk menggunakan IP Anda sendiri.
Sebelum memulai
Pastikan awalan yang didelegasikan publik Anda menggunakan v2.
Jalankan perintah ini untuk memverifikasi versi yang Anda gunakan:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 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."]]