<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-xu-idr-route-target-orf-01"
     ipr="trust200902">
  <front>
    <title abbrev="Route Target ORF">Route Target ORF</title>

    <author fullname="Xiaohu Xu" initials="X." surname="Xu">
      <organization>China Mobile</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>xuxiaohu_ietf@hotmail.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Shraddha Hegde" initials="S." surname="Hegde">
      <organization>Juniper</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>shraddha@juniper.net</email>

        <uri/>
      </address>
    </author>

    <author fullname="Srihari Sangli  " initials="S." surname="Sangli">
      <organization>Juniper</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>ssangli@juniper.net</email>

        <uri/>
      </address>
    </author>

    <author fullname="Shunwan" initials="S." surname="Zhang">
      <organization>Huawei</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>zhuangshunwan@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Jie" initials="J." surname="Dong">
      <organization>Huawei</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <region/>

          <code/>

          <country/>
        </postal>

        <phone/>

        <facsimile/>

        <email>jie.dong@huawei.com</email>

        <uri/>
      </address>
    </author>

    <date day="25" month="April" year="2024"/>

    <abstract>
      <t>This document defines a new Outbound Router Filter (ORF) type for
      BGP, referred to as "Route Target Outbound Route Filter", that can be
      used to perform route target based route filtering.</t>
    </abstract>
  </front>

  <middle>
    <section title="Introduction">
      <t>The Outbound Route Filtering Capability defined in <xref
      target="RFC5291"/> provides a mechanism for a BGP speaker to send to its
      BGP peer a set of Outbound Route Filters (ORFs) that can be used by its
      peer to filter its outbound routing updates to the speaker.</t>

      <t>This document defines a new Outbound Router Filter (ORF) type for
      BGP, referred to as "Route Target Outbound Route Filter", that can be
      used to perform route target based route filtering.</t>

      <section title="Requirements Language">
        <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
        "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
        document are to be interpreted as described in <xref
        target="RFC2119">RFC 2119</xref>.</t>
      </section>
    </section>

    <section title="Route Target ORF Entry Encoding">
      <t>The value of the ORF-Type for the Route Target ORF is TBD.</t>

      <t>The Route Target ORF entry is encoded as follows: the "Action",
      "Match" and "Reserved" fields are encoded in the common part <xref
      target="RFC5291"/>, while the "Route Target" field of 8 octets is
      encoded in the "type specific part" <xref target="RFC5291"/> . When the
      Action component of an ORF entry specifies REMOVE-ALL, the entry
      consists of only the common part.</t>

      <t>The Route Target field is filled with a route target value used for
      searching matching routes. A route target value of zero&#65292;referred
      to as the default route target, means any route target value would be
      considered as matched.</t>
    </section>

    <section title="Route Target ORF Matching">
      <t>In addition to the general procedures defined in <xref
      target="RFC5291"/>, the following procedures are specified as
      follows:</t>

      <t>When performing route matching search on VPN routes, those VPN routes
      are associated with the Route Target as specified in the received Route
      Target ORF entries would be considered as matched routes . If the Route
      Target as specified in the received Route Target ORF entries is filled
      with all zeros, all VPN routes would be considered as matched
      routes.</t>
    </section>

    <section anchor="IANA" title="IANA Considerations">
      <t>The value of the ORF-Type for the Route Target ORF is to be allocated
      by IANA.</t>
    </section>

    <section anchor="Security" title="Security Considerations">
      <t>This extension to BGP does not change the underlying security issues
      in <xref target="RFC4271"/></t>
    </section>

    <section anchor="Acknowledgements" title="Acknowledgements">
      <t>The authors would like to thank xxx for their valuable comments and
      suggestions on this document.</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc include="reference.RFC.2119"?>

      <?rfc include="reference.RFC.8174"?>

      <?rfc include="reference.RFC.4271"?>

      <?rfc include="reference.RFC.4364"?>

      <?rfc include="reference.RFC.4659"?>

      <?rfc include="reference.RFC.4684"?>

      <?rfc include="reference.RFC.5291"?>

      <!---->
    </references>

    <references title="Informative References">
      <!---->
    </references>
  </back>
</rfc>
