{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/use-bgp-roles-otc-after-relationship-agreement/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/",
        "slug": "use-bgp-roles-otc-after-relationship-agreement",
        "url": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/use-bgp-roles-otc-after-relationship-agreement/"
        },
        "title": "Use BGP Roles and OTC only after both sides agree on the relationship",
        "summary": "Introduce BGP Roles and the Only-to-Customer attribute with explicit relationship mapping, interoperability tests, and a rollback path.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "important",
            "name": "Important"
        },
        "featured": false,
        "image": {
            "theme": "network-infrastructure",
            "label": "Networks & infrastructure",
            "alt": "Resilient network core with engineered blue and gold data paths.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "cybersecurity",
                "name": "Cybersecurity",
                "url": "https://update.dsesecurity.com/topic/cybersecurity/"
            },
            {
                "slug": "networks-infrastructure",
                "name": "Networks & Infrastructure",
                "url": "https://update.dsesecurity.com/topic/networks-infrastructure/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-08-25T21:34:52+00:00",
        "modified_at": "2026-08-25T21:43:56+00:00",
        "reviewed_on": "2026-08-25",
        "reading_minutes": 3,
        "word_count": 493,
        "potentially_affected": "Organizations operating external BGP sessions with providers, customers, peers, or internal route-server infrastructure",
        "dse_recommendation": "Map each bilateral BGP relationship, confirm support on both ends, and stage Roles and OTC controls before enforcing session or route rejection.",
        "primary_source": {
            "name": "RFC 9234: Route Leak Prevention and Detection Using Roles in UPDATE and OPEN Messages",
            "url": "https://www.rfc-editor.org/rfc/rfc9234.html",
            "published_on": null,
            "authority": "www.rfc-editor.org"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<p>BGP Roles and the Only-to-Customer attribute can help prevent or detect route leaks, but the control begins with an accurate statement of the business relationship. A technically valid configuration built on the wrong relationship can reject a session or propagate the wrong policy signal.</p>\n<h2>Source fact:</h2>\n<p><a href=\"https://www.rfc-editor.org/rfc/rfc9234.html\" target=\"_blank\" rel=\"noopener noreferrer\">IETF RFC 9234</a> defines BGP Roles negotiated in OPEN messages and the Only-to-Customer, or OTC, path attribute carried in UPDATE messages. The roles describe relationships such as provider, customer, peer, route server, and route-server client. The specification applies its leak-prevention and detection rules to IPv4 and IPv6 unicast address families.</p>\n<p>When the two endpoints advertise incompatible roles, a speaker implementing the specification can treat that as a role mismatch. OTC then carries information that lets compliant speakers identify announcements inconsistent with the expected direction of customer-learned routes. The RFC permits a strict mode that rejects a session when a role is absent, but it discourages enabling strict mode by default because a session can fail after one side receives new software while the other side is not yet configured.</p>\n<h2>Boundary</h2>\n<p>RFC 9234 does not discover commercial relationships or repair ordinary import and export filters. It excludes some complex arrangements from its simplified relationship model, and effectiveness depends on implementation and adoption along relevant paths. A successfully negotiated role is not proof that the route policy, IRR objects, RPKI controls, or maximum-prefix settings are correct. Mixed vendor and mixed version environments require their own qualification.</p>\n<h2>Applicability questions</h2>\n<ul>\n<li>Is every external session classified from a current contract and network design rather than a naming convention?</li>\n<li>Do both endpoints support the RFC for the address families in use?</li>\n<li>Which relationships do not fit the standard role model, including hybrid or partial-transit arrangements?</li>\n<li>What telemetry exposes role mismatch, received OTC, or a rejected route?</li>\n<li>Could a staged upgrade unexpectedly activate strict behavior or change attribute propagation?</li>\n</ul>\n<h2>DSE recommendation:</h2>\n<p>Build a peer register that links each session to its owner, autonomous system, address families, contractual relationship, current import/export policy, and intended BGP Role. Reconcile the classification with the remote party. In a lab or low-risk session, capture OPEN and UPDATE behavior, confirm unknown-attribute handling, and test both valid and intentionally invalid announcements.</p>\n<p>Deploy observability before enforcement. Start with mismatch and OTC visibility where the platform permits it, then introduce rejection through approved maintenance windows. Keep explicit route filters in place. Do not enable strict mode fleet-wide until the organization has confirmed peer readiness and a session recovery procedure. Record exceptions for relationships that the model cannot represent cleanly.</p>\n<h2>Verification and evidence</h2>\n<p>Retain the approved peer register, configuration snapshots, packet captures or decoded OPEN capabilities, controlled route-test results, relevant logs, and rollback timing. Verification should demonstrate that expected routes remain reachable, an invalid relationship or leak pattern produces the planned signal, and a legacy peer continues under the documented exception. Monitor route counts and reachability before, during, and after rollout.</p>\n<h2>Official references</h2>\n<ul>\n<li><a href=\"https://www.rfc-editor.org/rfc/rfc9234.html\" target=\"_blank\" rel=\"noopener noreferrer\">IETF RFC 9234</a></li>\n<li><a href=\"https://www.rfc-editor.org/rfc/rfc8212.html\" target=\"_blank\" rel=\"noopener noreferrer\">IETF RFC 8212, Default External BGP Route Propagation Behavior without Policies</a></li>\n</ul>",
        "content_text": "BGP Roles and the Only-to-Customer attribute can help prevent or detect route leaks, but the control begins with an accurate statement of the business relationship. A technically valid configuration built on the wrong relationship can reject a session or propagate the wrong policy signal.\nSource fact:\nIETF RFC 9234 defines BGP Roles negotiated in OPEN messages and the Only-to-Customer, or OTC, path attribute carried in UPDATE messages. The roles describe relationships such as provider, customer, peer, route server, and route-server client. The specification applies its leak-prevention and detection rules to IPv4 and IPv6 unicast address families.\nWhen the two endpoints advertise incompatible roles, a speaker implementing the specification can treat that as a role mismatch. OTC then carries information that lets compliant speakers identify announcements inconsistent with the expected direction of customer-learned routes. The RFC permits a strict mode that rejects a session when a role is absent, but it discourages enabling strict mode by default because a session can fail after one side receives new software while the other side is not yet configured.\nBoundary\nRFC 9234 does not discover commercial relationships or repair ordinary import and export filters. It excludes some complex arrangements from its simplified relationship model, and effectiveness depends on implementation and adoption along relevant paths. A successfully negotiated role is not proof that the route policy, IRR objects, RPKI controls, or maximum-prefix settings are correct. Mixed vendor and mixed version environments require their own qualification.\nApplicability questions\n\nIs every external session classified from a current contract and network design rather than a naming convention?\nDo both endpoints support the RFC for the address families in use?\nWhich relationships do not fit the standard role model, including hybrid or partial-transit arrangements?\nWhat telemetry exposes role mismatch, received OTC, or a rejected route?\nCould a staged upgrade unexpectedly activate strict behavior or change attribute propagation?\n\nDSE recommendation:\nBuild a peer register that links each session to its owner, autonomous system, address families, contractual relationship, current import/export policy, and intended BGP Role. Reconcile the classification with the remote party. In a lab or low-risk session, capture OPEN and UPDATE behavior, confirm unknown-attribute handling, and test both valid and intentionally invalid announcements.\nDeploy observability before enforcement. Start with mismatch and OTC visibility where the platform permits it, then introduce rejection through approved maintenance windows. Keep explicit route filters in place. Do not enable strict mode fleet-wide until the organization has confirmed peer readiness and a session recovery procedure. Record exceptions for relationships that the model cannot represent cleanly.\nVerification and evidence\nRetain the approved peer register, configuration snapshots, packet captures or decoded OPEN capabilities, controlled route-test results, relevant logs, and rollback timing. Verification should demonstrate that expected routes remain reachable, an invalid relationship or leak pattern produces the planned signal, and a legacy peer continues under the documented exception. Monitor route counts and reachability before, during, and after rollout.\nOfficial references\n\nIETF RFC 9234\nIETF RFC 8212, Default External BGP Route Propagation Behavior without Policies",
        "content_markdown": "BGP Roles and the Only-to-Customer attribute can help prevent or detect route leaks, but the control begins with an accurate statement of the business relationship. A technically valid configuration built on the wrong relationship can reject a session or propagate the wrong policy signal.\n\n## Source fact:\n\n[IETF RFC 9234](https://www.rfc-editor.org/rfc/rfc9234.html) defines BGP Roles negotiated in OPEN messages and the Only-to-Customer, or OTC, path attribute carried in UPDATE messages. The roles describe relationships such as provider, customer, peer, route server, and route-server client. The specification applies its leak-prevention and detection rules to IPv4 and IPv6 unicast address families.\n\nWhen the two endpoints advertise incompatible roles, a speaker implementing the specification can treat that as a role mismatch. OTC then carries information that lets compliant speakers identify announcements inconsistent with the expected direction of customer-learned routes. The RFC permits a strict mode that rejects a session when a role is absent, but it discourages enabling strict mode by default because a session can fail after one side receives new software while the other side is not yet configured.\n\n## Boundary\n\nRFC 9234 does not discover commercial relationships or repair ordinary import and export filters. It excludes some complex arrangements from its simplified relationship model, and effectiveness depends on implementation and adoption along relevant paths. A successfully negotiated role is not proof that the route policy, IRR objects, RPKI controls, or maximum-prefix settings are correct. Mixed vendor and mixed version environments require their own qualification.\n\n## Applicability questions\n\n- Is every external session classified from a current contract and network design rather than a naming convention?\n\n- Do both endpoints support the RFC for the address families in use?\n\n- Which relationships do not fit the standard role model, including hybrid or partial-transit arrangements?\n\n- What telemetry exposes role mismatch, received OTC, or a rejected route?\n\n- Could a staged upgrade unexpectedly activate strict behavior or change attribute propagation?\n\n## DSE recommendation:\n\nBuild a peer register that links each session to its owner, autonomous system, address families, contractual relationship, current import/export policy, and intended BGP Role. Reconcile the classification with the remote party. In a lab or low-risk session, capture OPEN and UPDATE behavior, confirm unknown-attribute handling, and test both valid and intentionally invalid announcements.\n\nDeploy observability before enforcement. Start with mismatch and OTC visibility where the platform permits it, then introduce rejection through approved maintenance windows. Keep explicit route filters in place. Do not enable strict mode fleet-wide until the organization has confirmed peer readiness and a session recovery procedure. Record exceptions for relationships that the model cannot represent cleanly.\n\n## Verification and evidence\n\nRetain the approved peer register, configuration snapshots, packet captures or decoded OPEN capabilities, controlled route-test results, relevant logs, and rollback timing. Verification should demonstrate that expected routes remain reachable, an invalid relationship or leak pattern produces the planned signal, and a legacy peer continues under the documented exception. Monitor route counts and reachability before, during, and after rollout.\n\n## Official references\n\n- [IETF RFC 9234](https://www.rfc-editor.org/rfc/rfc9234.html)\n\n- [IETF RFC 8212, Default External BGP Route Propagation Behavior without Policies](https://www.rfc-editor.org/rfc/rfc8212.html)"
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/",
                "url": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-08-25"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Use BGP Roles and OTC only after both sides agree on the relationship",
                        "item": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/#article",
                "identifier": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/",
                "url": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/",
                "headline": "Use BGP Roles and OTC only after both sides agree on the relationship",
                "description": "Introduce BGP Roles and the Only-to-Customer attribute with explicit relationship mapping, interoperability tests, and a rollback path.",
                "abstract": "Introduce BGP Roles and the Only-to-Customer attribute with explicit relationship mapping, interoperability tests, and a rollback path.",
                "articleBody": "BGP Roles and the Only-to-Customer attribute can help prevent or detect route leaks, but the control begins with an accurate statement of the business relationship. A technically valid configuration built on the wrong relationship can reject a session or propagate the wrong policy signal.\nSource fact:\nIETF RFC 9234 defines BGP Roles negotiated in OPEN messages and the Only-to-Customer, or OTC, path attribute carried in UPDATE messages. The roles describe relationships such as provider, customer, peer, route server, and route-server client. The specification applies its leak-prevention and detection rules to IPv4 and IPv6 unicast address families.\nWhen the two endpoints advertise incompatible roles, a speaker implementing the specification can treat that as a role mismatch. OTC then carries information that lets compliant speakers identify announcements inconsistent with the expected direction of customer-learned routes. The RFC permits a strict mode that rejects a session when a role is absent, but it discourages enabling strict mode by default because a session can fail after one side receives new software while the other side is not yet configured.\nBoundary\nRFC 9234 does not discover commercial relationships or repair ordinary import and export filters. It excludes some complex arrangements from its simplified relationship model, and effectiveness depends on implementation and adoption along relevant paths. A successfully negotiated role is not proof that the route policy, IRR objects, RPKI controls, or maximum-prefix settings are correct. Mixed vendor and mixed version environments require their own qualification.\nApplicability questions\n\nIs every external session classified from a current contract and network design rather than a naming convention?\nDo both endpoints support the RFC for the address families in use?\nWhich relationships do not fit the standard role model, including hybrid or partial-transit arrangements?\nWhat telemetry exposes role mismatch, received OTC, or a rejected route?\nCould a staged upgrade unexpectedly activate strict behavior or change attribute propagation?\n\nDSE recommendation:\nBuild a peer register that links each session to its owner, autonomous system, address families, contractual relationship, current import/export policy, and intended BGP Role. Reconcile the classification with the remote party. In a lab or low-risk session, capture OPEN and UPDATE behavior, confirm unknown-attribute handling, and test both valid and intentionally invalid announcements.\nDeploy observability before enforcement. Start with mismatch and OTC visibility where the platform permits it, then introduce rejection through approved maintenance windows. Keep explicit route filters in place. Do not enable strict mode fleet-wide until the organization has confirmed peer readiness and a session recovery procedure. Record exceptions for relationships that the model cannot represent cleanly.\nVerification and evidence\nRetain the approved peer register, configuration snapshots, packet captures or decoded OPEN capabilities, controlled route-test results, relevant logs, and rollback timing. Verification should demonstrate that expected routes remain reachable, an invalid relationship or leak pattern produces the planned signal, and a legacy peer continues under the documented exception. Monitor route counts and reachability before, during, and after rollout.\nOfficial references\n\nIETF RFC 9234\nIETF RFC 8212, Default External BGP Route Propagation Behavior without Policies",
                "datePublished": "2026-08-25T21:34:52+00:00",
                "dateModified": "2026-08-25T21:43:56+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/use-bgp-roles-otc-after-relationship-agreement/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Use BGP Roles and OTC only after both sides agree on the relationship"
                },
                "articleSection": [
                    "Cybersecurity",
                    "Networks & Infrastructure"
                ],
                "keywords": [
                    "Cybersecurity",
                    "Networks & Infrastructure",
                    "Guide",
                    "Important priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "Cybersecurity",
                        "url": "https://update.dsesecurity.com/topic/cybersecurity/"
                    },
                    {
                        "@type": "Thing",
                        "name": "Networks & Infrastructure",
                        "url": "https://update.dsesecurity.com/topic/networks-infrastructure/"
                    }
                ],
                "wordCount": 493,
                "timeRequired": "PT3M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "RFC 9234: Route Leak Prevention and Detection Using Roles in UPDATE and OPEN Messages",
                    "url": "https://www.rfc-editor.org/rfc/rfc9234.html"
                }
            }
        ]
    }
}