-
Prefix Details エンドポイント で、検証中に問題が見つかったかを確認します。
At least one of the following token permissions is required:Required API token permissions
Magic Transit ReadMagic Transit WriteIP Prefixes: WriteIP Prefixes: ReadIP Prefixes: BGP On Demand WriteIP Prefixes: BGP On Demand Read
Prefix Detailsbash curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/prefixes/$PREFIX_ID" \ --request GET \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"レスポンスjson "result": { "id": "72823e95d6c64d48a8111fec81179816", "created_at": "2025-02-25T00:34:11.423722Z", "modified_at": "2025-02-25T00:34:11.423722Z", "cidr": "203.0.113.0/24", "account_id": "654c5f71c324478cc9f68d60065d4620", "description": "", "approved": "P", "on_demand_enabled": false, "on_demand_locked": false, "advertised": null, "advertised_modified_at": null, "loa_document_id": "b9ff4afe312246a8b2e7324d98f40b23", "asn": 13335, "ownership_validation_token": "<OWNERSHIP_VALIDATION_TOKEN>", "delegate_loa_creation" : true, "irr_validation_state": "valid", "rpki_validation_state": "valid", "ownership_validation_state": "missing", } -
API レスポンスで返された状態(
missing、invalid、mismatch_asnなど)を踏まえ、IRR レコード、ROA、所有権検証の方法を見直します。-
IRR と ROA レコードの情報は、オンボードの前提条件 を満たしている必要があります。
-
所有権の検証 では、一致する ROA と、すべての DNS TXT レコードまたは IRR レコードにある正しい検証トークンが必要です。
-
-
必要な変更を適用したあと、Validate Prefix エンドポイントを使って検証チェックを開始します。
At least one of the following token permissions is required:Required API token permissions
Magic Transit WriteIP Prefixes: Write
Validate Prefixbash curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/addressing/prefixes/$PREFIX_ID/validate" \ --request POST \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
プレフィックス検証のトラブルシューティング
役に立ちましたか?