[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-05。"],[],[],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:"]]