[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# BGP route policy attribute reference\n====================================\n\nThis page shows example BGP route policies, using the Common Expression\nLanguage (CEL) for Cloud Router.\n\nBGP route policies are defined as an ordered list of terms. Each term is\nevaluated in the order that you specify, and include both a condition and a\ncorresponding action for when a route matches that term. A particular BGP route\npolicy can be applied only in one direction, either inbound for learned routes,\nor outbound for advertised routes, but not both simultaneously. However, BGP\nroute policies can be applied to multiple BGP peers on Cloud Router.\n\nMatch attributes\n----------------\n\nThe following table describes match attributes available for BGP route policies:\n\nMatch operations\n----------------\n\nThe following table describes match operations available for BGP route policies:\n\nDue to the rules for `||` (OR) operations, all conditions are\neffectively zero or more `destination` match operations\nconnected by OR.\n\n`(D0 || D1 || ... || Dm)`\n\nThe following table is an example of using `prefix` to build complex regular\nexpressions compared to some router vendors:\n\n### Match all routes\n\nThe following table describes examples that match all routes in a BGP route\npolicy's match expression:\n\nAction attributes\n-----------------\n\nThe following table describes action attributes available for BGP route\npolicies:\n\nAction operations\n-----------------\n\nThe following table describes action operations available for BGP route\npolicies:"]]