<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="rfc7991bis.rnc"?> 
<!DOCTYPE rfc [
]>

<rfc
  xmlns:xi="http://www.w3.org/2001/XInclude"
  category="info"
  docName="draft-srld-teas-5g-slicing-01"
  ipr="trust200902"
  obsoletes=""
  updates=""
  submissionType="IETF"
  xml:lang="en"
  version="3">
<!-- [REPLACE] 
       * docName with name of your draft
     [CHECK] 
       * category should be one of std, bcp, info, exp, historic
       * ipr should be one of trust200902, noModificationTrust200902, noDerivativesTrust200902, pre5378Trust200902
       * updates can be an RFC number as NNNN
       * obsoletes can be an RFC number as NNNN 
-->

  <front>
    <title abbrev="5G Transport Slices">A Realization of IETF Network Slices for 5G Networks Using Current IP/MPLS Technologies</title>

    <seriesInfo name="Internet-Draft" value="draft-srld-teas-5g-slicing-01"/>
   
    <author fullname="Krzysztof G. Szarkowicz" initials="K" role="editor" surname="Szarkowicz">
      <organization>Juniper Networks</organization>
      <address>
        <postal>
          <city>Wien</city>
          <country>AT</country>
        </postal>        
        <email>kszarkowicz@juniper.net</email>  
      </address>
    </author>

    <author fullname="Richard Roberts" initials="R" surname="Roberts">
      <organization>Juniper Networks</organization>
      <address>
        <postal>
          <city>Rennes</city>
          <country>FR</country>
        </postal>        
        <email>rroberts@juniper.net</email>  
      </address>
    </author>

    <author fullname="Julian Lucek" initials="J" surname="Lucek">
      <organization>Juniper Networks</organization>
      <address>
        <postal>
          <city>London</city>
          <country>GB</country>
        </postal>        
        <email>jlucek@juniper.net</email>  
      </address>
    </author>    

    <author fullname="John E. Drake" initials="J" surname="Drake">
      <organization>Juniper Networks</organization>
      <address>
        <postal>
          <city>Sunnyvale</city>
          <region>CA</region>
          <country>US</country>
        </postal>        
        <email>jdrake@juniper.net</email>  
      </address>
    </author>    

    <author fullname="Mohamed Boucadair" initials="M" surname="Boucadair">
      <organization>Orange</organization>
      <address>
        <postal>
          <city>Rennes</city>
          <country>FR</country>
        </postal>        
        <email>mohamed.boucadair@orange.com</email>  
      </address>
    </author>   

    <author fullname="Luis M. Contreras" initials="LM" surname="Contreras">
      <organization>Telefonica</organization>
      <address>
        <postal>
          <street>Ronda de la Comunicacion, s/n</street>
          <city>Madrid</city>
          <code>28050</code>
          <country>ES</country>
        </postal>        
        <email>luismiguel.contrerasmurillo@telefonica.com</email>
        <uri>http://lmcontreras.com/</uri>
      </address>
    </author>  

    <author fullname="Ivan Bykov" initials="I" surname="Bykov">
      <organization>Ribbon Communications</organization>
      <address>
        <postal>
          <city>Tel Aviv</city>
          <country>IL</country>
        </postal>        
        <email>ivan.bykov@rbbn.com</email>  
      </address>
    </author>  

    <author fullname="Reza Rokui" initials="R" surname="Rokui">
      <organization>Ciena</organization>
      <address>       
        <postal>
          <city>Ottawa</city>
          <country>CA</country>
        </postal>    
        <email>rrokui@ciena.com</email>  
      </address>
    </author>  

    <author fullname="Luay Jalil" initials="L" surname="Jalil">
      <organization>Verizon</organization>
      <address>
        <postal>
          <city>Dallas</city>
          <region>TX</region>
          <country>US</country>
        </postal>        
        <email>luay.jalil@verizon.com</email>  
      </address>
    </author>  

    <author fullname="Beny Dwi Setyawan" initials="B" surname="Setyawan">
      <organization>XL Axiata</organization>
      <address>
        <postal>
          <city>Jakarta</city>
          <country>ID</country>
        </postal>        
        <email>benyds@xl.co.id</email>  
      </address>
    </author>  

    <date year="2022"/>

    <area>General</area>
    <workgroup>TEAS Working Group</workgroup>
    <!-- "Internet Engineering Task Force" is fine for individual submissions.  If this element is 
          not present, the default is "Network Working Group", which is used by the RFC Editor as 
          a nod to the history of the RFC Series. -->

    <keyword>5G</keyword>
    <keyword>slicing</keyword>
    <keyword>transport slicing</keyword>

    <abstract>
      <t>5G slicing is a new feature that was introduced by the 3rd Generation Partnership Project (3GPP) in mobile networks.  It covers slicing requirements for all mobile domains, including the Radio Access Network (RAN), Core Network (CN), and Transport Network (TN).</t>
      <t>This document describes a basic IETF Network Slice realization model in IP/MPLS networks with a focus on fulfilling 5G slicing connectivity requirements. This IETF Network Slice realization model reuses many building blocks currently commonly used in service provider networks.</t>
    </abstract>
    
  </front>

  <middle>
    
    <section anchor="Introduction">
      <name>Introduction</name>
      <t><xref target="I-D.ietf-teas-ietf-network-slices"/> introduces the framework for network slicing in the context of networks built using IETF technologies.  The IETF network slicing framework introduces the concept of a Network Resource Partition (NRP), which is simply a collection of resources identified in the underlay network.  There could be multiple realizations of high-level IETF Network Slice and NRP concepts, where each realization might be optimized for the different network slicing use cases that are listed in <xref target="I-D.ietf-teas-ietf-network-slices"/>.</t>
      
      <t>This document describes a basic - using only single NRP - IETF Network Slice realization model in IP/MPLS networks, with a focus on fulfilling 5G slicing connectivity requirements. This IETF Network Slice realization model reuses many building blocks currently commonly used in communication service provider (CSP) networks.</t>
      
      <t>The reader may refer to <xref target="I-D.ietf-teas-ns-ip-mpls"/> for more advanced realization models.</t>

      <t>Also, the reader may refer to <xref target="RFC6459"/> and <xref target="TS-23.501"/> for more details about 3GPP network architectures.</t>

      <section>
        <name>Requirements Language</name>
        <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL",
          "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT
          RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
          interpreted as described in BCP 14 <xref target="RFC2119"/>
          <xref target="RFC8174"/> when, and only when, they appear in
          all capitals, as shown here.</t>
      </section>

    </section>
    

    <section>
      <name>5G Network Slicing Integration in Transport Networks</name>
      <section>
        <name>5G Network Slicing versus Transport Network Slicing</name>
        <t>Network Slicing has a different meaning in the mobile and transport worlds. Hence, for the sake of precision, this section provides a brief description of the objectives of 5G Network Slicing and Transport Network Slicing.</t>
        <ul>
          <li>
            <t>The objective of 5G network slicing is to provide dedicated resources of the whole 5G infrastructure to certain users, application, customers or PLMN (e.g., RAN sharing). These resources are from the Transport Network, RAN and CORE Network Functions and the underlying infrastructure. <xref target="TS-28.530"/> defines 5G network slicing by introducing the concept of Network Slice Subnet (NSS) to represent slices within each of these domains: RAN, CORE and Transport Network (i.e., RAN NSS, CN NSS and TN NSS). As per 3GPP specifications, NSS can be shared or dedicated to a single slice.</t>
          </li>
          <li>
            <t>The objective of Transport Network slicing is to isolate, guarantee or prioritize Transport Network resources for slices such as buffers, link bandwidth or even RIB/FIB. Transport Network Slicing has two main flavors: Hard and Soft slicing. Hard slicing provides dedicated network capacity to slices. Soft Slicing provides shared network capacity with guarantees for each slice. There are different options to implement TN slices based on tooling such as VRFs for traffic separation, QoS and TE. Also, TN slice realization for 5G slices might combine elements of hard slicing in one part of the transport network, with elements of soft slicing in other parts of the transport network. An optimized 5G network slicing architecture should integrate Transport Network Slicing, however, it is possible to implement 5G network slicing without Transport Network Slicing, as explained in the next section.</t>
            <t>Slicing in the transport network is implemented using IETF technologies, therefore, inline with <xref target="I-D.ietf-teas-ietf-network-slices"/>, in this document the term "IETF Network Slice" (IETF NS, or INS in short) is used to describe the slice in the Transport Network domain of overall 5G architecture, composed from RAN, TN and CN domains.</t>
          </li>
        </ul>
      </section>
      <section>
        <name>NF to NF Datapath vs Transport Network</name>
        <t>The 3GPP specifications loosely define the Transport Network and its integration in RAN and Core Network domains: the role of the Transport Network is to interconnect Network Functions. In other words, it is the end-to-end datapath between two Network Functions. In practice, this end-to-end datapath is often a non-uniform architecture made up of several segments potentially managed by different organizations. In this document, we rather define the Transport Network with a service provider scope: the TN extends up to the PE or the CE if it is also managed by the TN Orchestration. Additionally, we assume that the Transport Network is MPLS or SRv6 capable.</t>
        <section>

          <name>Segmentation of NF-to-NF Datapath</name>
     <t>This section introduces a decomposition of the datapath between two Network Functions (NFs) into two segments based on the Orchestration domains: TN segments and Local segments.</t>
       <ul>
        <li><t>TN Segment: the realization of this segment is driven by the IETF NSC / Transport Network Orchestrator (TNO). Generally speaking, a TN Segment provides connectivity between two sites.</t></li>
        <li><t>Local segment: this segments permits either to connect Network Functions within a given site or to connect a Network Function to the Transport Network. The realization of this segment is directly or indirectly driven by the 5G Orchestration without any involvement of the Transport Network Orchestration. Generally speaking, the Local Segment is a datapath local to a site. This site can be either DC, POP, CO or a virtualized infrastructure in a Public Cloud.</t></li>
       </ul>
      <t>Note that more complex scenarios are possible, for example with extra segmentation of TN or Local Segments. Additionally, sites can be of different types such as Edge, Data Center, or Public Cloud, each with specific network design, hardware dependencies, management interface and diverse networking technologies (e.g MPLS, SRv6, VXLAN, L2VPN vs L3VPN, ...). The objective of this section is to clarify the scope of the Transport Network rather than to cover any technology or design combination.</t><t>The realization of IETF Network Slices (i.e. connectivity with performance commitments) applies therefore to the TN Segments. We consider Local Segments as an extension of the connectivity of the RAN/CORE domain without slice-specific performances requirements by assuming that the local infrastructure is overprovisioned and implements traditional QoS/Scheduling logic.</t>
      <t> 
       In parallel, since the TN domain can extend either to the CE or to the PE, we introduce the term Edge Transport Node (ETN) to define this boundary. The ETN is therefore a Transport Node that stitches Local segments and TN Segments. Note that depending on the design, the placement of the SDP as defined in <xref target="I-D.ietf-teas-ietf-network-slices"/> may or may not be enforced on the ETN itself.
       The following figure is a representation of the end-to-end datapath between Network Functions including Segments and ETN (in practice PE or a managed CE), where applicable.</t> 
      <figure anchor="NF-NF-multi-site">
        <name>Segmentation of the NF-NF datapath</name>
        <artset>
          <artwork type="ascii-art">
 SMO / Site              TN              SMO / Site  
Orchestration       Orchestration       Orchestration
          │               │               │          
          │               │               │          
┌ ─ ─ ─ ─ ┼ ┐      ┌ ─ ─ ─│─ ─ ─ ┐      ┌ ┼ ─ ─ ─ ─ ┐
          │               │               │          
│   ┌──┐  ▼ │    ┌─┴─┐    ▼    ┌─┴─┐    │ ▼  ┌──┐   │
    │NF├─────────┤ETN├─────────┤ETN├─────────┤NF│    
│   └──┘    │    └─┬─┘Transport└─┬─┘    │    └──┘   │
  5G Site 1            Network            5G Site 2  
└ ─ ─ ─ ─ ─ ┘      └ ─ ─ ─ ─ ─ ─ ┘      └ ─ ─ ─ ─ ─ ┘
       └─────────┘   └─────────┘   └─────────┘       
          Local          TN           Local          
         Segment       Segment       Segment         
                                                     
                   ■─────────────■                   
                 IETF Network Slice                  
                                                     
       ◀─────────────────────────────────────▶       
           End-to-end datapath between NFs                                                       
          </artwork>
        </artset>
      </figure>
      <t>NFs may also be placed in the same site and interconnected via a Local Segment. In this case, there is no TN segment (i.e. no Transport Network Node is present in the datapath).</t> 
      <figure anchor="NF-NF-single-site">
        <name>NF-NF datapath within single site</name>
        <artset>
          <artwork type="ascii-art">
                     SMO / Site                      
                    Orchestration                    
                          │                          
                          │                          
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
                          │                          
│   ┌──┐                  ▼                  ┌──┐   │
    │NF├─────────────────────────────────────┤NF│    
│   └──┘                                     └──┘   │
                       5G Site                       
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
       └─────────────────────────────────────┘       
                    Local Segment                    
                                                     
       ◀─────────────────────────────────────▶       
           End-to-end datapath between NFs                                                     
          </artwork>
        </artset>
      </figure>
      <t>Next, the following picture provides examples of different realizations of Local and TN segments, as well the Service Demarcation Points.</t>
        <ul>
          <li><t>L2 vs L3 Local Segment: the Local Segment can interconnect the NF and the ETN thanks to a unique vlan/LAN  with no intermediate routing hop (the simplest example is an NF  directly connected to a PE): A1, A2, A3 and A4. Alternatively, the NF interfaces may be attached in a different LAN/vlan than the ETN interface thanks to additional local routing between the ETN and the NF (e.g. CE, IP Fabric...): B1, B2, B3 and B4.</t></li>
          <li><t>ETN: the ETN can be either the PE or the CE if it is managed by the TN Orchestration (A1, A2, B1, B2).</t></li>
          <li><t>SDP: the SDP can be located in multiple places as per <xref target="I-D.ietf-teas-ietf-network-slices"/> section 4.2: A1 + B1 for case i), A2 + B2 for case i), B3 + A3 for case iii) and B4 + A4 for case iv)    </t></li>
          <li><t>Redundancy/Scale-out: no example of redundancy/multihoming/scale-out is provided for the sake of simplicification. Nonetheless, each Node/NF can be multiple.</t></li>
        </ul>
      <figure>
        <name>Examples of various combinations of Local Segments, ETN and SDP</name>
        <artset>
          <artwork type="ascii-art">
       Local segment              Transport Network      
◀───────────────────────────▶◀─────────────────── ─ ─ ─ ─
                                                         
┌─────────────────────┐      ┌─────────────────── ─ ─ ─ ┐
│ Site Type A1        │      │                           
│ ┌────┐              │    ┌─■──┐    ┌────┐      .      │
│ │ NF ├───────────────────┤ CE ├────┤ PE ├─────╱ ╲      
│ └────┘              │    └─┬──┘    └────┘    ;   :    │
└─────────────────────┘      │                 ;   :     
┌─────────────────────┐      │                ;     :   │
│ Site Type A2        │      │                │     │    
│ ┌────┐              │ ┌────┤       ┌────┐   │     │   │
│ │ NF ├────────────────┤ CE ■───────┤ PE ├───│     │    
│ └────┘              │ └────┤       └────┘   ;     :   │
└─────────────────────┘      │               ; ┌───┐ :   
┌─────────────────────┐      │               │ │ P │ │  │
│ Site Type A3        │      │               │ └───┘ │   
│ ┌────┐              │      ├────┐          │       │  │
│ │ NF ├─────────────────────■ PE ├──────────│       │   
│ └────┘              │      ├────┘          │       │  │
└─────────────────────┘      │               │       │   
┌─────────────────────┐      │               │       │  │
│ Site Type A4        │      │               ;       :   
│ ┌────┐              │    ┌─■──┐           ;         : │
│ │ NF ├───────────────────┤ PE ├───────────│  ┌───┐  │  
│ └────┘              │    └─┬──┘           │  │ P │  │ │
└─────────────────────┘      │              │  └───┘  │  
┌─────────────────────┐      │              │         │ │
│ Site Type B1.───.   │      │              │         │  
│           ,'     `. │      │              │         │ │
│          ;  Local  :│      │              │         │  
│ ┌────┐   │ Routing ││    ┌─■──┐    ┌────┐ │         │ │
│ │ NF ├───┤ managed ├─────┤ CE ├────┤ PE ├─┤         │  
│ └────┘   : by SMO  ;│    └─┬──┘    └────┘ │         │ │
│           ╲       ╱ │      │              │         │  
│            `.   ,'  │      │              │  ┌───┐  │ │
│              `─'    │      │              │  │ P │  │  
└─────────────────────┘      │              │  └───┘  │ │
┌─────────────────────┐      │              │         │  
│ Site Type B2.───.   │      │              │         │ │
│           ,'     `. │      │              │         │  
│          ;  Local  :│      │              │         │ │
│ ┌────┐   │ Routing ││ ┌────┤       ┌────┐ │         │  
│ │ NF ├───┤ managed ├──┤ CE ■───────┤ PE ├─┤         │ │
│ └────┘   : by SMO  ;│ └────┤       └────┘ │         │  
│           ╲       ╱ │      │              │         │ │
│            `.   ,'  │      │              │  ┌───┐  │  
│              `─'    │      │              │  │ P │  │ │
└─────────────────────┘      │              │  └───┘  │  
┌─────────────────────┐      │              │         │ │
│ Site Type B3.───.   │      │              :         ;  
│           ,'     `. │      │               :       ;  │
│          ;  Local  :│      │               │       │   
│ ┌────┐   │ Routing ││      ├────┐          │       │  │
│ │ NF ├───┤ managed ├───────■ PE ├──────────│       │   
│ └────┘   : by SMO  ;│      ├────┘          │       │  │
│           ╲       ╱ │      │               │       │   
│            `.   ,'  │      │               │ ┌───┐ │  │
│              `─'    │      │               │ │ P │ │   
└─────────────────────┘      │               : └───┘ ;  │
┌─────────────────────┐      │                :     ;    
│ Site Type B4.───.   │      │                │     │   │
│           ,'     `. │      │                │     │    
│          ;  Local  :│      │                │     │   │
│ ┌────┐   │ Routing ││    ┌─■──┐             :     ;    
│ │ NF │───┤ managed ├─────┤ PE ├──────────────:   ;    │
│ └────┘   : by SMO  ;│    └─┬──┘              │   │     
│           ╲       ╱ │      │                 :   ;    │
│            `.   ,'  │      │                  ╲ ╱      
│              `─'    │      │                   '      │
└─────────────────────┘      └─────────────────── ─ ─ ─ ─
                        ├─────────┤                      
                            ETN                          
                                                         
             ■ - Service Demarcation Point                   
          </artwork>
        </artset>
      </figure>
      </section>
      <section>
        <name>Orchestration of Local Segment termination at ETN</name>
        <t>
          The interconnection between the 5G site and the Transport Network is made up of shared networking resources. More precisely, the Local Segment terminates to an interface of the ETN, which must be configured with consistent dataplane network information (e.g. vlan-id and IP addresses/subnets).
           Hence, the realization of this interconnection requires a coordination  between the SMO and the Transport Orchestration (NSC). In this document, we assume that this coordination is based on IETF YANG data models and APIs (more details in further sections). The following diagram is a basic example of a L3CE-PE realization with shared network resource such as vlan-ID and IP prefixes, which must be passed between Orchestrators via the Network Slice Interface. 
        </t>
        <figure>
          <name>example </name>
          <artset>
            <artwork type="ascii-art">
     Datapath network resources (i.e., VLAN ID, IP        
    prefixes) exchanged via SMO-NSC interface (NSI)       
                                                          
      ┌ ─ ─ ─ ─ ─ ─ ┐                ┌ ─ ─ ─ ─ ─ ─ ┐      
                                           TN             
      │             │                │Orchestration│      
        SMO / Site     IETF APIs/DM                       
      │Orchestration│ ◀────────────▶ │     TSC     │      
       ─ ─ ─ ─ ─ ─ ─                  ─ ─ ─ ─ ─ ─ ─       
                │                        │                
                │                        │                
┌ ─ ─ ─ ─ ─ ─ ─ ┼ ┐                    ┌ ┼ ─ ─ ─ ─ ─ ─ ─ ┐
                ▼                        ▼                
│ ┌──┐      ┌──┐.1│    192.0.2.0/31    │.0┌──┐           │
  │NF├──────┤CE├──────────────────────────┤PE│            
│ └──┘      └──┘  │      VLAN 100      │  └──┘           │
       Site                                               
│                 │                    │        TN       │
 ─ ─ ─ ─ ─ ─ ─ ─ ─                      ─ ─ ─ ─ ─ ─ ─ ─ ─ 
                                                          
    └────────────────────────────────────┘                
                    Local Segment                         
                                                                                           
            </artwork>
          </artset>
        </figure>
        <t>Note that the allocation of these resources (e.g. vlan or IPAM) can be either managed by the SMO or the Transport Network. In other words, the initial SMO request for the creation of a new  IETF Network Slice on a given 5G site may or may not include all network resources. In the latter case, this information is exchanged in a second step.</t>
        </section>
      </section>
      <section>
        <name>5G slice to IETF Network Slice mapping</name>
       <t>There are multiple options to map 5G network slices to IETF Network Slices:</t>
       <ul>
          <li>1 to N: A single 5G Network Slice can map to multiple IETF Network Slices (1 to N). One example of such a case is the separation of the 5G Control Plane and User Plane: this use case is represented in <xref target="One-to-N"/>  where a slice (EMBB) is deployed with a separation of User Plane and Control Plane at Transport Network level.</li>
          <li>N to 1: Multiple 5G Network Slices may rely on a same IETF Network Slice (i.e., in <xref target="TS-28.530"/> semantic, two RAN/CORE NSS rely on a shared TN NSS). In this case, the SLA differentiation of slices would be entirely controlled at 5G Control Plane, for example with appropriate placement strategies: this use case is represented in <xref target="N-to-One"/>, where a UPF network function for the URLLC slice is instantiated at the Edge Cloud close the gNB CU-UP User Plane for better latency/jitter control, while 5G Control Plane and the UPF for slice EMBB are instantiated in the Regional Cloud.</li>
          <li>N to M: the 5G to IETF Network Slice mapping combines both approaches with a mix of shared and dedicated associations.</li>
        </ul>
        <figure anchor="One-to-N">
          <name>1 (5G slice) to N (IETF Network Slice) mapping</name>
          <artset>
            <artwork type="ascii-art">
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
                                                                 
│                        5G Slice eMBB                          │
                                                                 
│            ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐            │
  ┌─────┐ N3   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐   N3 ┌─────┐  
│ │CU-UP├───────   IETF Network Slice UP_eMBB    ───────┤ UPF │ │
  └─────┘      └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘      └─────┘  
│            │                                     │            │
  ┌─────┐ N2   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐   N2 ┌─────┐  
│ │CU-CP├───────      IETF Network Slice CP      ───────┤ AMF │ │
  └─────┘      └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘      └─────┘  
└ ─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ┘
                                                                 
             │                                     │             
                       Transport Network                         
             │                                     │             
                                                                 
             └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘                           
            </artwork>
          </artset>
        </figure>
        <figure anchor="N-to-One">
          <name>N (5G slice) to 1 (IETF Network Slice) mapping</name>
          <artset>
            <artwork type="ascii-art">
                  ┌ ─ ─ ─ ─ ─ ─ ┐                                  
                     Edge Cloud                                    
                  │             │                                  
                    ┌─────────┐                                    
                  │ │UPF_URLLC│ │                                  
                    └─────┬───┘                                    
                  └ ─ ─ ─ │ ─ ─ ┘                                  
┌ ─ ─ ─ ─ ─ ─ ─ ┐ ┌ ─ ─ ─ │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─                  
                    ┌ ─ ─ ┴ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─  │ ┌ ─ ─ ─ ─ ─ ─ ─ 
│   Cell Site   │ │                            │                  │
                    │                            │ │   Regional    
│ ┌───────────┐ │ │                            │         Cloud    │
  │CU-UP_URLLC├─────┤                            │ │ ┌──────────┐  
│ └───────────┘ │ │         IETF Network       ├─────┤  5GC CP  │ │
                    │        Slice ALL           │ │ └──────────┘  
│ ┌───────────┐ │ │                            │                  │
  │CU-UP_eMBB ├─────┤                            │ │ ┌──────────┐  
│ └───────────┘ │ │                            ├─────┤ UPF_eMBB │ │
 ─ ─ ─ ─ ─ ─ ─ ─    │                            │ │ └──────────┘  
                  │  ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘                  │
                                                 │ └ ─ ─ ─ ─ ─ ─ ─ 
                  │      Transport Network                         
                   ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘                                                    
              </artwork>
            </artset>
          </figure>
          <t>Note that the actual realization of the mapping depends on several factors such as the actual business cases, the VNF vendor capabilities, the VNF vendor reference designs, as well as service provider or even legal requirements.</t>
        </section>

        <section>
          <name>First 5G slice versus subsequent slices</name>
          <t>A 5G Network Slice is fully functional with both 5G Control Plane and User Plane capabilities (i.e., dedicated NF functions or contexts). In this regard, the creation of the "first slice" is subject to a specific logic since it must deploy both CP and UP. This is not the case for the deployment of subsequent slices because they can share the CP of the First Slice, while instantiating dedicated UP. An example of an incremental deployment is depicted in <xref target="FirstSlice"/></t>
          <t>At the time of writing, <xref target="NG.113"/>, Section 6.2, specifies that the eMBB slice (SST=1 and no SD) should be supported globally. This 5G slice would be the first slice in any 5G deployment.</t>
          <t>Note that the actual realization of the mapping depends on several factors such as the actual business cases, the VNF vendor capabilities, the VNF vendor reference designs, as well as service providers or even legal requirements.</t>
          <figure anchor="FirstSlice">
            <name>First and Subsequent Slice Deployment</name>
            <artset>
              <artwork type="ascii-art">
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
                   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─               
│  1    ┌─────┐      ┌──────────────────────────┐ │    ┌─────┐  │
   s S  │NF-CP├──────┤  CP IETF NS (IETF-NS-1)  ├──────┤NF-CP│   
│  t l  └─────┘      └──────────────────────────┘ │    └─────┘  │
     i             │                                             
│  5 c  ┌─────┐      ┌──────────────────────────┐ │    ┌─────┐  │
   G e  │NF-UP├──────┤  UP IETF NS (IETF-NS-2)  ├──────┤NF-UP│   
│       └─────┘      └──────────────────────────┘ │    └─────┘  │
 ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
                                                  │              
                   │      Transport Network                      
                                                  │              
                   └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─               
                      Deployment of first 5G slice               
                                  │ │                            
                                  │ │                            
                                  │ │                            
                                 ─┘ └─                           
                                 ╲   ╱                           
                                  ╲ ╱                            
                                   V                             
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
                   ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─               
│  1    ┌─────┐      ┌──────────────────────────┐ │    ┌─────┐  │
   s S  │NF-CP├──────┤  CP IETF NS (IETF-NS-1)  ├──────┤NF-CP│   
│  t l  └─────┘      └──────────────────────────┘ │    └─────┘  │
     i             │                                             
│  5 c  ┌─────┐      ┌──────────────────────────┐ │    ┌─────┐  │
   G e  │NF-UP├──────┤  UP IETF NS (IETF-NS-2)  ├──────┤NF-UP│   
│       └─────┘      └──────────────────────────┘ │    └─────┘  │
 ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
                                                  │              
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
   2                                              │              
│  n S  ┌──────┐   │ ┌──────────────────────────┐     ┌──────┐  │
   d l  │NF-UP2├─────┤   UP2 IETF NS (IETF-NS-3)├─────┤NF-UP2│   
│    i  └──────┘   │ └──────────────────────────┘     └──────┘  │
   5 c                                            │              
│  G e             │                                            │
 ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ 
                   │                                             
                           Transport Network      │              
                   │                                             
                    ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘              
    Deployment of additional 5G slice with shared Control Plane  
              </artwork>
            </artset>
          </figure>
        </section>
      </section>


    <section>
      <name>High-Level Overview of the Realization Model</name>
      <t><xref target="I-D.ietf-teas-ietf-network-slices"/> introduces the concept of a Network Resource Partition (NRP), which is defined as a collection of resources identified in the underlay network. In the basic realization model described in this document, a single NRP is used with following characteristics</t>
      <ul>
        <li>
          <t>L2VPN/L3VPN service instances for logical separation:</t>
          <t>This realization model of transport for 5G slices assumes Layer-3 delivery for midhaul and backhaul transport connections, and a Layer 2 or Layer 3 (eCPRI supports both) delivery model for fronthaul connections. L2VPN/L3VPN service instances might be used as basic form of logical slice separation. Further, using service instances results in additional outer header (as packets are encapsulated/decapsulated at the nodes performing PE functions) providing clean discrimantion between 5G QoS and TN QoS, as explained in <xref target="QoS-Models"/></t>
        </li>
      </ul>
      <ul>
        <li>
          <t>Fine-Grained resource control at the edge links of TN domain (attachment circuits):</t>
          <t>This is sometimes called 'admission control' or 'traffic conditioning'. The main purpose is the enforcement of the bandwidth contract for the slice right at the edge of the transport domain where the traffic is handed-off between the transport domain and the 5G domains (i.e., RAN/Core).  The toolset used here is granular ingress policing (rate limiting) to enforce contracted bandwidths per slice and, potentially, per traffic class within the slice.  Out-of-contract traffic might be immediately dropped, or marked as high drop probability traffic, which is more likely to be dropped somewhere at the transit if congestion occurs. In the egress direction at the edge of the transport domain, hierarchical schedulers/shapers can be deployed, providing guaranteed rates per slice, as well as guarantees per traffic class within the slice.</t>
        </li>
      </ul>
      <ul>
        <li>
          <t>Coarse resource control at the TN transit (non-attachment circuits) links of the transport domain, using a single Network Resource Partition (NRP), spanning the entire TN domain</t>
          <t>Transit nodes do not maintain any state of individual slices. Instead, only a flat (non-hierarchical) QoS model is used on transit links with up to 8 traffic classes. At the transport domain edge, traffic-flows from multiple slice services are mapped to the limited number of traffic classes used on transit links.</t>
        </li>
      </ul>
      <ul>
        <li>
          <t>Capacity planning/management for efficient usage of TN edge and TN transit resources:</t>
          <t>The role of capacity management is to ensure the transport capacity can be utilized without causing any bottlenecks. The toolset used here can range from careful network planning, to ensure more less equal traffic distribution (i.e., equal cost load balancing), to advanced traffic engineering techniques, with or without bandwidth reservations, to force more consistent load distribution even in non-ECMP friendly network topologies.</t>
        </li>
      </ul>
      <figure>
        <name>Resource allocation in with single NRP slicing model</name>
        <artset>
          <artwork type="ascii-art">
        ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐         
  ┌──────────┐               base NRP               ┌──────────┐  
  │   PE│    │                                      │   │PE    │  
┌ ┼ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─│─ 
  ■◀───┐│    │         IETF Network Slice 1         │   │┌────▶■ │
│ │    │     │        ┌─────┐        ┌─────┐        │    │     │  
  ■◀───┤│    │        │  P  │        │  P  │        │   │├────▶■ │
├ ┼ ─ ─├────▶□◀──────▶□◀───▶□◀──────▶□────▶□◀──────▶□◀───┤─ ─ ─│─ 
  ■◀───┤│    │        │     │        │     │        │   │├────▶■ │
│ │    │     │        └─────┘        └─────┘        │    │     │  
  ■◀───┘│    │         IETF Network Slice 2         │   │└────▶■ │
└ ┼ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─│─ 
  │     │    │                                      │   │      │  
  └──────────┘                                      └──────────┘  
        └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘         
 ■ - SDP, with fine-grained QoS (dedicated resources per IETF NS) 
 □ - coarse QoS, with resources shared by all IETF NS                    
         </artwork>
      </artset>
    </figure>

      <t>The 5G control plane relies on S-NSSAI (Single Network Slice Selection Assistance Information: 32-bit slice identifier) for slice identification. The S-NSSAI is not visible to the transport domain, so instead 5G functions can expose the 5G slices to the transport domain by mapping to explicit L2/L3 identifiers such as VLAN, IP addresses or DSCP, as documented in  <xref target="I-D.geng-teas-network-slice-mapping"/>.</t>
      <section anchor="VLAN-hand-off">
        <name>VLAN Hand-off</name> 
        <t>In this option, the IETF Network Slice, fulfilling connectivity requirements between NFs of some 5G slice, is represented at the SDP by a VLAN, or double VLANs (commonly known as QinQ). Each VLAN can represent a distinct logical interface on the attachment circuits, hence it provides the possibility to place these logical interfaces in distinct L2 or L3 service instances and implement separation between slices via service instances. Since the 5G interfaces are IP based interfaces (the only exception could be the F2 fronthaul-interface, where eCPRI with Ethernet encapsulation is used), this VLAN is typically not transported across the TN domain. Typically, it has only local significance at a particular SDP. For simplification it is recommended to rely on a same VLAN identifier for all ACs, when possible. However, SDPs for a same slice at different locations may also use different VLAN values. Therefore, a VLAN to IETF Network Slice mapping table MUST be maintained for each AC, and the VLAN allocation MUST be coordinated between TN domain and extended RAN/Core domains. Thus, while VLAN hand-off is simple from the NF point of view, it adds complexity due to the requirement of maintaining mapping tables for each SDP.</t>
        <figure>
          <name>5G slice with VLAN hand-off</name>
          <artset>
            <artwork type="ascii-art">
VLANs representing slices           VLANs representing slices       
                      .───────.                                     
           │        ,'         `.         │             │           
           │      ,'             `.       │             │           
┌──────┐   ▼   ┌─────┐ Transport┌─────┐   ▼   ┌─────┐   ▼   ┌──────┐
│      ●───■───●     │          │     ●───■───●     ●───────●      │
│ NF   ●───■───● PE1 │          │ PE2 ●───■───●L2/L3●───────●   NF │
│      ●───■───●     │          │     ●───■───●     ●───────●      │
└──────┘       └─────┘  Network └─────┘       └─────┘       └──────┘
                   `.           ,'                                  
                     `.       ,'                                    
                       `─────'                                      
                                                                    
  ● – logical interface represented by VLAN on physical interface   
  ■ - Service Demarcation Point                                     
            </artwork>
          </artset>
        </figure>
      </section>
      <section>
        <name>IP Hand-off</name> 
        <t>In this option, the slices in the transport domain are instantiated by IP tunnels (for example, IPsec, GTP-U tunnel) established between NFs. The transport for a single 5G slice is constructed with multiple such tunnels, since a typical 5G slice contains many NFs - especially DUs and CUs. If a shared NF (i.e., an NF that serves multiple slices, for example a shared DU) is deployed, multiple tunnels from shared NF are established, each tunnel representing a single slice. As opposed to the VLAN hand-off case, there is no logical interface representing slice on the PE, hence all slices are handled within single service instance. On the other hand, similarly to the VLAN hand-off case, a mapping table tracking IP to IETF Network Slice mapping is required.</t>
        <figure>
          <name>5G slice with IP hand-off</name>
          <artset>
            <artwork type="ascii-art">
                                        Tunnels representing slices 
                      .───────.                                     
                    ,'         `.                       │           
                  ,'             `.                     │           
┌──────┐       ┌─────┐ Transport┌─────┐       ┌─────┐   ▼   ┌──────┐
│    ○═════■══════════════════════════════■═══════════════════○    │
│ NF   ├───────┤ PE1 │          │ PE2 ├───────┤L2/L3├───────┤   NF │
│    ○═════■══════════════════════════════■═══════════════════○    │
└──────┘       └─────┘  Network └─────┘       └─────┘       └──────┘
                   `.           ,'                                  
                     `.       ,'                                    
                       `─────'                                      
                                                                    
  ○ – virtual interface à la loopback (not associated with a VLAN)  
      for tunnel (IPsec, GTP-U, ...) termination                    
  ■ - Service Demarcation Point                                                                                                           
            </artwork>
          </artset>
        </figure>
        <t>The mapping table can be simplified if, e.g., IPv6 addressing is used to address NFs. An IPv6 address is a 128-bit long field, while the S-NSSAI is a 32-bit field: Slice/Service Type (SST): 8 bits, Slice Differentiator (SD): 24 bits. 32 bits, out of 128 bits of the IPv6 address, MAY be used to encode the S-NSSAI, which makes an IP to Slice mapping table unnecessary. This is simply an allocation method to allocate IPv6 addresses to NF loopbacks, without redefining IPv6 semantic. Different IPv6 address allocation schemes following this concept MAY be used, with one example allocation showed in <xref target="IP-NSSAI"/>. This addressing scheme is local to a node; intermediary nodes are not required to associate any additional semantic with IPv6 address.</t>
        <figure anchor="IP-NSSAI">
          <name>An Example of S-NSSAI embedded into IPv6</name>
          <artset>
            <artwork type="ascii-art">
          NF specific          reserved  
     (not slice specific)     for S-NSSAI
 ◀───────────────────────────▶ ◀───────▶ 
┌────┬────┬────┬────┬────┬────┬────┬────┐
│2001:0db8:xxxx:xxxx:xxxx:xxxx:ttdd:dddd│
└─────────┴─────────┴─────────┴─────────┘
 tt     - SST (8 bits)                   
 dddddd - SD (24 bits)                                                                                             
            </artwork>
          </artset>
        </figure>
        <t>In the example, the most significant 96 bits of the IPv6 address are unique to NF, but do not carry any slice specific information, while the least significant 32 bits are used to embed S-NSSAI information. The 96-bit part of the address could be further divided, based for example on geographical location, or DC identification. 128 bits is wide enough to design an IPv6 addressing scheme, which is most suitable for particular 5G deployment.</t>
        <t><xref target="IP-NSSAI-DEPL"/> shows an example slicing deployment, where S-NSSAI is embedded into IPv6 addresses used by NFs. NF-A has a loopback interface, used to terminate tunnels, with unique per slice IP addresses allocated from 2001:db8::a:0:0/96 subnet, while NF-B uses loopback interface with per slice IP addresses allocated from 2001:db8::b:0:0/96. This example shows two slices: eMBB (SST=1) and MIoT (SST=3). Therefore, for eMBB the tunnel IP addresses are auto-derived (without the need for a mapping table) as {2001:db8::a:100:0, 2001:db8::b:100:0}, while for MIoT (SST=3) tunnel uses {2001:db8::a:300:0, 2001:db8::b:300:0}.</t>
        <figure anchor="IP-NSSAI-DEPL">
          <name>Deployment example with S-NSSAI embedded into IPv6</name>
          <artset>
            <artwork type="ascii-art">
 2001:db8::a:0:0/96 (NF-A)                2001:db8::b:0:0/96 (NF-B) 
                             .───────.                              
 2001:db8::a:100:0/128     ,'         `.      2001:db8::b:100:0/128 
     │                   ,'             `.                    │     
┌────▼─┐ eMBB (SST=1)   ;     Transport   :                 ┌─▼────┐
│    ○════════════════════════════════════════════════════════○    │
│ NF-A │                │                 │                 │ NF-B │
│    ○════════════════════════════════════════════════════════○    │
└────▲─┘ MIoT (SST=3)    ╲     Network   ╱                  └─▲────┘
     │                    `.           ,'                     │     
 2001:db8::a:300:0/128      `.       ,'       2001:db8::b:300:0/128 
                              `─────'                                                                                                                      
            </artwork>
          </artset>
        </figure>
      </section>
      <section>
        <name>MPLS Label Hand-off</name>
        <t>In this option, the service instances representing different slices are created directly on the NF, or within the cloud infrastructure hosting the NF, and attached to the TN domain. Therefore, the packet is MPLS encapsulated outside the TN domain with native MPLS encapsulation, or MPLSoUDP encapsulation, depending on the capability of the NF or cloud infrastructure, with the service label depicting the slice. There are three major methods (based on <xref target="RFC4364"/>, Section 10) for interconnecting multiple service domains:</t>
        <ul>
          <li>Option A: VRF-to-VRF connections</li>
          <li>Option B: redistribution of labeled VPN routes with next-hop change at domain boundaries</li>
          <li>Option C: redistribution of labeled VPN routes without next-hop change + redistribution of labeled transport routes with next-hop change at domain boundaries</li>
        </ul>
        <t>MPLS is not used in VRF-to-VRF hand-offs, since services are terminated at the boundary of each domain, and VLAN hand-off is in place between the domains. Thus, it is the same as VLAN hand-off, described in <xref target="VLAN-hand-off"/>.</t>
        <section>
          <name>Option B</name>
          <t>In the Option B scenario, service instances for different IETF Network Slice services are instantiated outside the TN domain. They could be instantiated either on the compute, hosting mobile network functions (<xref target="MPLS-Option-B"/>, left hand side), or within the cloud infrastructure itself, e.g. on the top of the rack or leaf switch within cloud IP fabric (<xref target="MPLS-Option-B"/>, right hand side). Between TN domain and the (extended) RAN/CN domain, packets are MPLS encapsulated (or MPLSoUDP encapsulated, if cloud or compute infrastructure doesn't support native MPLS encapsulation), therefore the PE uses neither a VLAN, nor an IP address for slice identification at SDP, but instead uses the MPLS label.</t>
          <figure anchor="MPLS-Option-B">
            <name>MPLS Hand-off: Option B</name>
            <artset>
              <artwork type="ascii-art">
     ◁──────        ◁──────        ◁──────                          
     BGP VPN        BGP VPN        BGP VPN                          
       COM=1, L=A"    COM=1, L=A'    COM=1, L=A                     
       COM=2, L=B"    COM=2, L=B'    COM=2, L=B                     
       COM=3, L=C"    COM=3, L=C'    COM=3, L=C                     
    ◁─────────────▷◁────────────▷◁─────────────▷                    
               nhs  nhs      nhs  nhs                               
                                                        VLANs       
 service instances                service instances  representing   
representing slices  .───────.   representing slices    slices      
     │             ,'         `.             │           │          
     │           ,'  Transport  `.           │           │          
┌────▼─┐       ┌─────┐       ┌─────┐       ┌─▼──────┐    ▼  ┌──────┐
│    ◙ │       │     │       │     │       │ ◙………………●───────●      │
│ NF ◙ ├───■───┤ PE1 │       │ PE2 ├───■───┤ ◙………………●───────●   NF │
│    ◙ │       │     │       │     │       │ ◙………………●───────●      │
└──────┘       └─────┘       └─────┘       └────────┘       └──────┘
                  `.  Network  ,'             L2/L3                 
                    `.       ,'                                     
                      `─────'                                       
                                                                    
  ● – logical interface represented by VLAN on physical interface   
  ◙ - service instances (with unique MPLS label)                    
  ■ - Service Demarcation Point                                                                                                                                                            
              </artwork>
            </artset>
          </figure>
          <t>MPLS labels are allocated dynamically, especially in Option B deployments, where at the domain boundaries service prefixes are reflected with next-hop self, and new label is dynamically allocated, as visible in <xref target="MPLS-Option-B"/>. Therefore, for any slice-specific per hop behavior at the TN domain edge, the PE must be able to determine which label represents which slice. In the BGP control plane, when exchanging service prefixes between (extended) RAN/CN domains and TN domain, each slice might be represented by a unique BGP community, so tracking label assignment to the slice is possible. For example, in <xref target="MPLS-Option-B"/>, for the slice identified with COM=1, PE1 advertises a dynamically allocated label A". Since, based on the community, the label to slice association is known, PE1 can use this dynamically allocated label A" to identify incoming packets as belonging to slice 1, and execute appropriate edge per hop behavior.</t>
          <t>It is worth noting that slice identification in the BGP control plane is at the prefix granularity. In extreme case, each prefix can have different community representing a different slice. Depending on the business requirements, each slice could be represented by a different service instance, as outlined in <xref target="MPLS-Option-B"/>. In that case, the route target extended community might be used as slice differentiator. In another deployment, all prefixes (representing different slices) might be handled by single 'mobile' service instance, and some other BGP attribute (e.g., a standard community) might be used for slice differentiation. Or there could be a deployment that groups multiple slices together into a single service instance, resulting in a handful of service instances. In any case, fine-grained per-hop behavior at the edge of TN domain is possible.</t>
        </section>

      </section>
	  </section>
	
	  <section anchor="QoS-Models">
	    <name>QoS Mapping Models</name>
	    <t>The resources are managed via various QoS policies deployed in the network. QoS mapping models to support 5G slicing connectivity implemented over packet switched transport uses two layers of QoS</t>
      <ul>
        <li>
          <t>5G QoS</t>
          <t>At this layer QoS treatment is indicated by the 5QI (5G QoS indicator), as defined in <xref target="TS-23.501"/>. A 5QI is an ID that is used as a reference to 5G QoS characteristics (e.g., scheduling weights, admission thresholds, queue management thresholds, link layer protocol configuration, etc.) in the RAN domain. Given the fact that 5QI applies to the RAN domain, it is not visible to the TN domain. Therefore, if 5QI-aware treatment is desired in the TN domain as well, 5G components might set DSCP with a value representing 5QI, to allow differentiated treatment in TN domain as well.  Based on these DSCP values, at SDP of each TN segment used to construct transport for given 5G slice, very granular QoS enforcement might be implemented.  The mapping between 5QI and DSCP is out of scope for this document.   Mapping recommendations are documented in <xref target="I-D.henry-tsvwg-diffserv-to-qci"/>. Each slice might have flows with multiple 5QIs, thus there could be many different 5QIs being deployed. 5QIs (or, more precisely, corresponding DSCP values) are visible to the TN domain at SDP (i.e.,  at the edge of the TN domain).</t>
          <t>In this document, this layer of QoS will be referred as '5G QoS Class' ('5G QoS' in short), or '5G DSCP'.</t>
        </li>
      </ul>
      <ul>
        <li>
          <t>TN QoS</t>
          <t>Control of the TN resources on transit links, as well as traffic scheduling/prioritization on transit links, is based on a flat (non-hierarchical) QoS model in the IETF Network Slice realization.  That is, IETF Network Slices are assigned dedicated resources (e.g., QoS queues) at the edge of the TN domain (at SDP), while all IETF Network Slices are sharing resources (sharing QoS queues) on the transit links of the TN domain.  Typical router hardware can support up to 8 traffic queues per port, therefore the architecture assumes 8 traffic queues per port support in general.</t>
          <t>At this layer, QoS treatment is indicated by QoS indicator specific to the encapsulation used in the TN domain, and it could be DSCP or MPLS TC. This layer of QoS will be referred as 'TN QoS Class', or 'TN QoS' for short, in this document.</t>
        </li>
      </ul>
      <t> While 5QI might be exposed to the TN domain, via the DSCP value (corresponding to specific 5QI value) set in the IP packet generated by NFs, some 5G deployments might use 5QI in the RAN domain only, without requesting per 5QI differentiated treatment from the TN domain. This can be due to an NF limitation (no capability to set DSCP), or it might simply depend on the overall slicing deployment model. The O-RAN Alliance, for example, defines a phased approach to the slicing, with initial phases utilizing only per slice, but not per 5QI, differentiated treatment in the TN domain (<xref target="O-RAN.WG9.XPSAAS"/>, Annex F).</t>
      <t>Therefore, from QoS perspective, the 5G slicing connectivity realization architecture defines two high-level realization models for slicing in the transport domain: a 5QI-unaware model and a 5QI-aware model. Both slicing models in the transport domain could be used concurrently within the same 5G slice. For example, the TN segment for 5G midhaul (F2-U interface) might be 5QI-unaware, while at the same time the TN segment for 5G backhaul (N3 interface) might follow the 5QI-aware model.</t>
      <section anchor="Unaware-Model">
        <name>5QI-unaware Mode</name>
        <t>In 5QI-unaware mode, the DSCP values in the packets received from NF at SDP are ignored. In the TN domain, there is no QoS differentiation at the 5G QoS Class level. The entire IETF Network Slice is mapped to single TN QoS Class, and, therefore, to a single QoS queue on the routers in the TN domain. With a small number of deployed 5G slices (for example only two 5G slices: eMBB and MIoT), it is possible to dedicate a separate QoS queue for each slice on transit routers. However, with introduction of private/enterprises slices, as the number of 5G slices (and thus corresponding IETF Network Slices) increases, a single QoS queue on transit links serves multiple slices with similar characteristics. QoS enforcement on transit links is fully coarse (single NRP, sharing resources among all IETF Network Slices), as displayed in  <xref target="Slice-Map"/>.</t>
        <figure anchor="Slice-Map">
          <name>Slice to TN QoS mapping (5QI-unaware model)</name>
          <artset>
            <artwork type="ascii-art">
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
┏━━━━━━━━━━━━━━━━━┓                                          │
┃ Attach. Circuit ┃      PE router                            
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃                                          │
┃   SDP           ┃              ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃│  ┌──────────┐ │┃              ┃       Transit link        ┃
┃   │IETF NS 1 ├────────────┐    ┃┌────────────────────────┐ ┃
┃│  └──────────┘ │┃         ├─────▶     TN QoS Class 1     │ ┃
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃         │    ┃└────────────────────────┘ ┃
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃         │    ┃┌────────────────────────┐ ┃
┃   SDP           ┃         │    ┃│     TN QoS Class 2     │ ┃
┃│  ┌──────────┐ │┃         │    ┃└────────────────────────┘ ┃
┃   │IETF NS 2 ├────────┐   │    ┃┌────────────────────────┐ ┃
┃│  └──────────┘ │┃     │   │    ┃│     TN QoS Class 3     │ ┃
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃     │   │    ┃└────────────────────────┘ ┃
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃     │   │    ┃┌────────────────────────┐ ┃
┃   SDP           ┃     └─────────▶     TN QoS Class 4     │ ┃
┃│  ┌──────────┐ │┃         │    ┃└────────────────────────┘ ┃
┃   │IETF NS 3 ├────────────┘    ┃┌────────────────────────┐ ┃
┃│  └──────────┘ │┃     ┌─────────▶     TN QoS Class 5     │ ┃
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃     │        ┃└────────────────────────┘ ┃
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃     │        ┃┌────────────────────────┐ ┃
┃   SDP           ┃     │        ┃│     TN QoS Class 6     │ ┃
┃│  ┌──────────┐ │┃     │        ┃└────────────────────────┘ ┃
┃   │IETF NS 4 ├────────┤        ┃┌────────────────────────┐ ┃
┃│  └──────────┘ │┃     │        ┃│     TN QoS Class 7     │ ┃
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃     │        ┃└────────────────────────┘ ┃
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃     │        ┃┌────────────────────────┐ ┃
┃   SDP           ┃     │        ┃│     TN QoS Class 8     │ ┃
┃│  ┌──────────┐ │┃     │        ┃└────────────────────────┘ ┃
┃   │IETF NS 5 ├────────┘        ┃     Max 8 TN Classes      ┃
┃│  └──────────┘ │┃              ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃                                           
┗━━━━━━━━━━━━━━━━━┛                                          │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
Fine-grained QoS enforcement         Coarse QoS enforcement   
  (dedicated resources per            (resources shared by    
    IETF Network Slice)                multiple IETF NSs)           
            </artwork>
          </artset>
        </figure>
        <t>When the IP traffic is handed over at the SDP from the extended RAN or extended Core domains to the TN domain, the PE encapsulates the traffic into MPLS (if MPLS transport is used in the TN domain), or IPv6 - optionally with some additional headers (if SRv6 transport is used in the TN domain), and sends out the packets on the TN transit link.</t>
        <t>The original IP header retains the DCSP marking (which is ignored in 5QI-unaware mode), while the new header (MPLS or IPv6) carries QoS marking (MPLS Traffic Class bits for MPLS encapsulation, or DSCP for SRv6/IPv6 encapsulation) related to TN CoS.  Based on TN QoS Class marking, per hop behavior for all IETF Network Slices is executed on TN links. TN domain transit routers do not evaluate the original IP header for QoS-related decisions. This model is outlined in <xref target="QoS-MPLS"/> for MPLS encapsulation, and in <xref target="QoS-IPv6"/> for SRv6 encapsulation.</t>
        <figure anchor="QoS-MPLS">
          <name>QoS with MPLS encapsulation</name>
          <artset>
            <artwork type="ascii-art">
                                 ┌──────────────┐
                                 │ MPLS Header  │
                                 ├─────┬─────┐  │
                                 │Label│TN TC│  │
┌──────────────┐ ─ ─ ─ ─ ─ ─ ─ ─ ├─────┴─────┴──┤
│  IP Header   │         │╲      │  IP Header   │
│      ┌───────┤         │ ╲     │      ┌───────┤
│      │5G DSCP│ ────────┘  ╲    │      │5G DSCP│
├──────┴───────┤             ╲   ├──────┴───────┤
│              │              ╲  │              │
│              │               ╲ │              │
│              │                ▏│              │
│   Payload    │               ╱ │   Payload    │
│(GTP-U/IPsec) │              ╱  │(GTP-U/IPsec) │
│              │             ╱   │              │
│              │ ────────┐  ╱    │              │
│              │         │ ╱     │              │
│              │         │╱      │              │
└──────────────┘ ─ ─ ─ ─ ─ ─ ─ ─ └──────────────┘
            </artwork>
          </artset>
        </figure>
        <figure anchor="QoS-IPv6">
          <name>QoS with IPv6 encapsulation</name>
          <artset>
            <artwork type="ascii-art">
                                 ┌──────────────┐
                                 │ IPv6 Header  │
                                 │      ┌───────┤
                                 │      │TN DSCP│
                                 ├──────┴───────┤
                                     optional    
                                 │     IPv6     │
                                      headers    
┌──────────────┐ ─ ─ ─ ─ ─ ─ ─ ─ ├──────────────┤
│  IP Header   │         │╲      │  IP Header   │
│      ┌───────┤         │ ╲     │      ┌───────┤
│      │5G DSCP│ ────────┘  ╲    │      │5G DSCP│
├──────┴───────┤             ╲   ├──────┴───────┤
│              │              ╲  │              │
│              │               ╲ │              │
│              │                ▏│              │
│   Payload    │               ╱ │   Payload    │
│(GTP-U/IPsec) │              ╱  │(GTP-U/IPsec) │
│              │             ╱   │              │
│              │ ────────┐  ╱    │              │
│              │         │ ╱     │              │
│              │         │╱      │              │
└──────────────┘ ─ ─ ─ ─ ─ ─ ─ ─ └──────────────┘
            </artwork>
          </artset>
        </figure>
        <t>From the QoS perspective, both options are similar. However, there is one difference between the two options. The MPLS TC is only 3 bits (8 possible combinations), while DSCP is 6 bits (64 possible combinations). Hence, SRv6 provides more flexibility for TN CoS design, especially in combination with soft policing with in-profile/out-profile, as discussed in <xref target="QCI-UNAWARE-INBOUND"/>.</t>
        <t>Edge resources are controlled in a very granular, fine-grained manner, with dedicated resource allocation for each IETF Network Slice. The resource control/enforcement happens at each SDP in two directions: inbound and outbound.</t>

        <section anchor="QCI-UNAWARE-INBOUND">
          <name>Inbound Edge Resource Control</name>
          <t>The main aspect of inbound edge resource control is per-slice traffic capacity enforcement. This kind of enforcement is often called 'admission control' or 'traffic conditioning'. The goal of this inbound enforcement is to ensure that the traffic above the contracted rate is dropped or deprioritized, depending on the business rules, right at the edge of TN domain. This, combined with appropriate network capacity planning/management, as described in <xref target="CAPACITY"/>, is required to ensure proper isolation between slices in scalable manner. As a result, traffic of one slice has no influence on the traffic of other slices, even if the slice is misbehaving (i.e., DDoS attack, equipment failure, etc.) and generates traffic volumes above the contracted rates.</t>

          <t>The slice rates can be characterized with following parameters <xref target="I-D.ietf-teas-ietf-network-slice-nbi-yang"/>:</t>
          <ul>
            <li>CIR: Committed Information Rate (i.e., guaranteed bandwidth)</li>
            <li>PIR: Peak Information Rate (i.e., maximum bandwidth)</li>
          </ul>
          <t>These parameters define the traffic characteristics of the slice and are part of SLO parameter set provided by the SMO to IETF NSC. Based on these parameters the inbound policy can be implemented using one of following options:</t>

          <ul>
            <li>
              <t>1r2c (single-rate two-color) rate limiter</t>
              <t>This is the most basic rate limiter, which meters at the SDP a traffic stream of given slice and marks its packets as in-contract (below contracted CIR) or out-of-contract (above contracted CIR). In-contract packets are accepted and forwarded. Out-of contract packets are either dropped right at the SDP (hard rate limiting), or remarked (with different MPLS TC or DSCP TN markings) to signify 'this packet should be dropped in the first place, if there is a congestion' (soft rate limiting), depending on the business policy of the operator. In the second case, while packets above CIR are forwarded at the SDP, they are subject to be dropped during any congestion event at any place in the TN domain.</t>
            </li>
          </ul>

          <ul>
            <li>
              <t>2r3c (two-rate three-color) rate limiter</t>
              <t>This was initially defined in <xref target="RFC2698"/>, and its improved version in <xref target="RFC4115"/>. In essence, the traffic is assigned to one of the 3 categories:</t>
              <ul>
                <li>green, for traffic under CIR</li>
                <li>yellow, for traffic between CIR and PIR</li>
                <li>red, for traffic above PIR</li>
              </ul>
              <t>An inbound 2c3r meter implemented with <xref target="RFC4115"/>, compared to <xref target="RFC2698"/>, is more 'customer friendly' as it doesn't impose outbound peak-rate shaping requirements on customer edge (CE) devices. 2r3c meters in general give greater flexibility for edge enforcement regarding accepting the traffic (green), de-prioritizing and potentially dropping the traffic during congestion (yellow), or hard dropping the traffic (red).</t>
            </li>
          </ul>

          <t>Inbound edge enforcement mode for 5QI-unaware mode, where all packets belonging to the slice are treated the same way in the TN domain (no 5Q QoS Class differentiation in the TN domain) is outlined in <xref target="POLSLICE"/>.</t>
          <figure anchor="POLSLICE">
            <name>Ingress slice admission control (5QI-unware model)</name>
            <artset>
              <artwork type="ascii-art">
            Slice                 
           policer     ┌─────────┐
              ║    ┌───┴──┐      │
              ║    │      │      │
              ║    │    S │      │
              ║    │    l │      │
              ▼    │    i │      │
──────────────◇────┼──▶ c │      │
                   │    e │  A   │
                   │      │  t   │
                   │    1 │  t   │
                   │      │  a   │
                   ├──────┤  c   │
                   │      │  h   │
                   │    S │  m   │
                   │    l │  e   │
                   │    i │  n   │
──────────────◇────┼──▶ c │  t   │
                   │    e │      │
                   │      │  C   │
                   │    2 │  i   │
                   │      │  r   │
                   ├──────┤  c   │
                   │      │  u   │
                   │    S │  i   │
                   │    l │  t   │
                   │    i │      │
──────────────◇────┼──▶ c │      │
                   │    e │      │
                   │      │      │
                   │    3 │      │
                   │      │      │
                   └───┬──┘      │
                       └─────────┘
              </artwork>
            </artset>
          </figure>
        </section>
        <section>
          <name>Outbound Edge Resource Control</name>
          <t>While inbound slice admission control at the transport edge is mandatory in the model, outbound edge resource control might not be required in all use cases. Use cases that specifically call for outbound edge resource control are:</t>
          <ul>
            <li>Slices use both CIR and PIR parameters, and transport edge links (attachment circuits) are dimensioned to fulfil the aggregate of slice CIRs. If at any given time, some slices send the traffic above CIR, congestion in outbound direction on the transport edge link might happen. Therefore, fine-grained resource control to guarantee at least CIR for each slice is required.</li>
            <li>Any-to-Any (A2A) connectivity constructs are deployed, again resulting in potential congestion in outbound direction on the transport edge links, even if only slice CIR parameters are used. This again requires fine-grained resource control per slice in outbound direction at transport edge links.</li>
          </ul>
          <t>As opposed to inbound edge resource control, typically implemented with rate-limiters/policers, outbound resource control is typically implemented with a weighted/priority queuing, potentially combined with optional shapers (per slice). A detailed analysis of different queuing mechanisms is out of scope for this document, but is provided in <xref target="RFC7806"/>.</t>
          <t><xref target="QUEUEFLAT"/> outlines the outbound edge resource control model at the transport network layer for 5QI-unaware slices. Each slice is assigned a single egress queue. The sum of slice CIRs, used as the weight in weighted queueing model, MUST not exceed the physical capacity of the attachment circuit. Slice requests above this limit MUST be rejected by the NSC, unless an already established slice with lower priority, if such exists, is preempted.</t>
          <figure anchor="QUEUEFLAT">
            <name>Egress slice admission control (5QI-unaware model)</name>
            <artset>
              <artwork type="ascii-art">
   ┌─────────┐        QoS output queues                              
   │     ┌───┴──┐─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │     │ S    │                            ╲│╱                     
   │     │ l    │                             │                      
   │     │ i    │                             │                      
   │  A  │ c    │                             │  weight=Slice-1-CIR  
   │  t  │ e  ┌─┴──────────────────────────┐  │ shaping=Slice-1-PIR  
───┼──t──┼────▶                            │  │                      
   │  a  │ 1  └─┬──────────────────────────┘ ╱│╲                     
   │  c  ├──────┤─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │  h  │ S    │                            ╲│╱                     
   │  m  │ l    │                             │                      
   │  e  │ i    │                             │                      
   │  n  │ c    │                             │  weight=Slice-2-CIR  
   │  t  │ e  ┌─┴──────────────────────────┐  │ shaping=Slice-2-PIR  
───┼─────┼────▶                            │  │                      
   │  C  │ 2  └─┬──────────────────────────┘ ╱│╲                     
   │  i  ├──────┤─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │  r  │ S    │                            ╲│╱                     
   │  c  │ l    │                             │                      
   │  u  │ i    │                             │                      
   │  i  │ c    │                             │  weight=Slice-3-CIR  
   │  t  │ e  ┌─┴──────────────────────────┐  │ shaping=Slice-3-PIR  
───┼─────┼────▶                            │  │                      
   │     │ 3  └─┬──────────────────────────┘ ╱│╲                     
   │     └───┬──┘─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   └─────────┘                                                  
              </artwork>
            </artset>
          </figure>
        </section>
      </section>

      <section>
        <name>5QI-aware Mode</name>
        <t>In the 5QI-aware model, potentially a large number of 5Q QoS Classes (the architecture scales to thousands of 5Q slices) is mapped (multiplexed) to up to 8 TN QoS Classes used in transport transit equipment, as outlined in <xref target="QoS-Map"/>.</t>
        <figure anchor="QoS-Map">
          <name>Slice 5Q QoS to TN QoS mapping (5QI-aware model)</name>
          <artset>
            <artwork type="ascii-art">
  ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
  ┏━━━━━━━━━━━━━━━━━┓                                          │
  ┃ Attach. Circuit ┃      PE router                            
  ┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃                                          │
  ┃   SDP           ┃              ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
  ┃│  ┌──────────┐ │┃              ┃       Transit link        ┃
  ┃   │ 5G QoS A ├───────────────┐ ┃┌────────────────────────┐ ┃
I ┃│  └──────────┘ │┃            ├──▶     TN QoS Class 1     │ ┃
E ┃   ┌──────────┐  ┃            │ ┃└────────────────────────┘ ┃
T ┃│  │ 5G QoS B ├───────────┐   │ ┃┌────────────────────────┐ ┃
F ┃   └──────────┘  ┃        │   │ ┃│     TN QoS Class 2     │ ┃
  ┃│  ┌──────────┐ │┃        │   │ ┃└────────────────────────┘ ┃
N ┃   │ 5G QoS C ├──╋─────┐  │   │ ┃┌────────────────────────┐ ┃
S ┃│  └──────────┘ │┃     │  │   │ ┃│     TN QoS Class 3     │ ┃
  ┃   ┌──────────┐  ┃     │  │   │ ┃└────────────────────────┘ ┃
1 ┃│  │ 5G QoS D ├─────┐  │  │   │ ┃┌────────────────────────┐ ┃
  ┃   └──────────┘  ┃  │  │  ├──────▶     TN QoS Class 4     │ ┃
  ┃└ ─ ─ ─ ─ ─ ─ ─ ┘┃  │  │  │   │ ┃└────────────────────────┘ ┃
  ┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃  │  │  │   │ ┃┌────────────────────────┐ ┃
  ┃   ┌──────────┐  ┃  │  ├─────────▶     TN QoS Class 5     │ ┃
  ┃│  │ 5G QoS A ├─────│──│──│───┘ ┃└────────────────────────┘ ┃
I ┃   └──────────┘  ┃  │  │  │     ┃┌────────────────────────┐ ┃
E ┃│  ┌──────────┐ │┃  │  │  │     ┃│     TN QoS Class 6     │ ┃
T ┃   │ 5G QoS E ├─────│──│──┘     ┃└────────────────────────┘ ┃
F ┃│  └──────────┘ │┃  │  │        ┃┌────────────────────────┐ ┃
  ┃   ┌──────────┐  ┃  │  │        ┃│     TN QoS Class 7     │ ┃
N ┃│  │ 5G QoS F ├─────│──┘        ┃└────────────────────────┘ ┃
S ┃   └──────────┘  ┃  │           ┃┌────────────────────────┐ ┃
  ┃│  ┌──────────┐ │┃  ├────────────▶     TN QoS Class 8     │ ┃
2 ┃   │ 5G QoS G ├─────┘           ┃└────────────────────────┘ ┃
  ┃│  └──────────┘ │┃              ┃     Max 8 TN Classes      ┃
  ┃   SDP           ┃              ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
  ┃└ ─ ─ ─ ─ ─ ─ ─ ┘┃                                           
  ┗━━━━━━━━━━━━━━━━━┛                                          │
  └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
  Fine-grained QoS enforcement         Coarse QoS enforcement   
    (dedicated resources per            (resources shared by    
      IETF Network Slice)                multiple IETF NSs)       
            </artwork>
          </artset>
        </figure>
        <t>Given the fact that in large scale deployments (large number of 5G slices), the number of potential 5G QoS Classes is much higher than the number of TN QoS Classes, multiple 5G QoS Classes with similar characteristics - potentially from different IETF Network Slices - can be mapped to a same TN QoS Class when transported in the TN domain.  That is, common per hop behavior (PHB) is executed on transit TN routers for all packets grouped together.</t>
        <t>Like in 5QI-unaware model, the original IP header retains the DCSP marking corresponding to 5QI (5G QoS Class), while the new header (MPLS or IPv6) carries QoS marking related to TN QoS Class.  Based on TN QoS Class marking, per hop behavior for all aggregated 5G QoS Classes from all IETF Network Slices is executed on TN links.  TN domain transit routers do not evaluate original IP header for QoS related decisions.  The original DSCP marking retained in the original IP header is used at the PE for fine-grained per slice and per 5G QoS Class inbound/outbound enforcement on AC link.</t>

        <t>In 5QI-aware model edge resources are controlled in an even more granular, fine-grained manner, with dedicated resource allocation for each IETF Network Slice and dedicated resource allocation for number of traffic classes (most commonly up 4 or 8 traffic classes, depending on the HW capability of the equipment) within each IETF Network Slice.</t>

        <section>
          <name>Inbound Edge Resource Control</name>
          <t>Compared to the 5QI-unware model, admission control (traffic conditioning) in the 5QI-aware model is more granular, as it enforces not only per slice capacity constraints, but may as well enforce the constraints per 5G QoS Class within each slice.</t>
          <t>5G slice using multiple 5QIs can potentially specify rates in one of the following ways</t>
          <ul>
            <li>rates per traffic class (CIR, or CIR+PIR), no rate per slice (sum of rates per class gives the rate per slice)</li>
            <li>rate per slice (CIR, or CIR+PIR), and rates per prioritized (premium) traffic classes (CIR only). Best effort traffic class uses the bandwidth (within slice CIR/PIR) not consumed by prioritized classes</li>
          </ul>
          <t>In the first option, the slice admission control is executed with traffic class granularity, as outlined in <xref target="POLCLASS"/>. In this model, if a premium class doesn't consume all available class capacity, it cannot be reused by non-premium (i.e., Best Effort) class.</t>
          <figure anchor="POLCLASS">
            <name>Ingress slice admission control (5QI-aware model)</name>
            <artset>
              <artwork type="ascii-art">
                     Class             ┌─────────┐
                    policer         ┌──┴───┐     │
                                    │      │     │
5Q-QoS-A: CIR-1A ──────◇────────────┼──▶ S │     │
5Q-QoS-B: CIR-1B ──────◇────────────┼──▶ l │     │
5Q-QoS-C: CIR-1C ──────◇────────────┼──▶ i │     │
                                    │    c │     │
                                    │    e │     │
   BE CIR/PIR-1D ──────◇────────────┼──▶   │  A  │
                                    │    1 │  t  │
                                    │      │  t  │
                                    ├──────┤  a  │
                                    │      │  c  │
5Q-QoS-A: CIR-2A ──────◇────────────┼─▶  S │  h  │
5Q-QoS-B: CIR-2B ──────◇────────────┼─▶  l │  m  │
5Q-QoS-C: CIR-2C ──────◇────────────┼─▶  i │  e  │
                                    │    c │  n  │
                                    │    e │  t  │
   BE CIR/PIR-2D ──────◇────────────┼─▶    │     │
                                    │    2 │  C  │
                                    │      │  i  │
                                    ├──────┤  r  │
                                    │      │  c  │
5Q-QoS-A: CIR-3A ──────◇────────────┼─▶  S │  u  │
5Q-QoS-B: CIR-3B ──────◇────────────┼─▶  l │  i  │
5Q-QoS-C: CIR-3C ──────◇────────────┼─▶  i │  t  │
                                    │    c │     │
                                    │    e │     │
   BE CIR/PIR-3D───────◇────────────┼─▶    │     │
                                    │    3 │     │
                                    │      │     │
                                    └──┬───┘     │
                                       └─────────┘
              </artwork>
            </artset>
          </figure>          
          <t>The second model combines the advantages of 5QI-unaware model (per slice admission control) with the per traffic class admission control, as outlined in <xref target="POLCLASS"/>. Ingress admission control is at class granularity for premium classes (CIR only). Non-premium class (i.e. Best Effort) has no separate class admission control policy, but is allowed to use entire slice capacity, which is available at any given moment. I.e., slice capacity, which is not consumed by premium classes. It is a hierarchical model, as depicted in <xref target="POLHIERARCHICAL"/>.</t>
          <figure anchor="POLHIERARCHICAL">
            <name>Ingress slice admission control (5QI-aware) - hierarchical</name>
            <artset>
              <artwork type="ascii-art">
                              Slice               
                             policer   ┌─────────┐
                   Class        .   ┌──┴───┐     │
                  policer      ; :  │      │     │
5Q-QoS-A: CIR-1A ────◇─────────┤─┼──┼──▶ S │     │
5Q-QoS-B: CIR-1B ────◇─────────┤─┼──┼──▶ l │     │
5Q-QoS-C: CIR-1C ────◇─────────┤─┼──┼──▶ i │     │
                               │ │  │    c │     │
                               │ │  │    e │     │
   BE CIR/PIR-1D ──────────────┤─┼──┼──▶   │  A  │
                               │ │  │    1 │  t  │
                               : ;  │      │  t  │
                                .   ├──────┤  a  │
                               ; :  │      │  c  │
5Q-QoS-A: CIR-2A ────◇─────────┤─┼──┼──▶ S │  h  │
5Q-QoS-B: CIR-2B ────◇─────────┤─┼──┼──▶ l │  m  │
5Q-QoS-C: CIR-2C ────◇─────────┤─┼──┼──▶ i │  e  │
                               │ │  │    c │  n  │
                               │ │  │    e │  t  │
   BE CIR/PIR-2D ──────────────┤─┼──┼──▶   │     │
                               │ │  │    2 │  C  │
                               : ;  │      │  i  │
                                .   ├──────┤  r  │
                               ; :  │      │  c  │
5Q-QoS-A: CIR-3A ────◇─────────┤─┼──┼──▶ S │  u  │
5Q-QoS-B: CIR-3B ────◇─────────┤─┼──┼──▶ l │  i  │
5Q-QoS-C: CIR-3C ────◇─────────┤─┼──┼──▶ i │  t  │
                               │ │  │    c │     │
                               │ │  │    e │     │
   BE CIR/PIR-3D ──────────────┤─┼──┼──▶   │     │
                               │ │  │    3 │     │
                               : ;  │      │     │
                                '   └──┬───┘     │
                                       └─────────┘
              </artwork>
            </artset>
          </figure>
        </section>

        <section>
          <name>Outbound Edge Resource Control</name>
          <t><xref target="QUEUEHIERARCHICAL"/> outlines the outbound edge resource control model at the transport network layer for 5QI-aware slices. Each slice is assigned multiple egress queues. The sum of queue weights (equal to 5Q QoS CIRs within the slice) CIRs MUST not exceed the CIR of the slice itself. And, similarly to the 5QI-aware model, the sum of slice CIRs MUST not exceed the physical capacity of the attachment circuit.</t>
          <figure anchor="QUEUEHIERARCHICAL">
            <name>Egress slice admission control (5QI-aware)</name>
            <artset>
              <artwork type="ascii-art">
   ┌─────────┐        QoS output queues                              
   │     ┌───┴──┐─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │     │    ┌─┴──────────────────────────┐ ╲│╱                     
───┼─────┼────▶ 5Q-QoS-A: w=5Q-QoS-A-CIR   │  │                      
   │     │ S  └─┬──────────────────────────┘  │                      
   │     │ l  ┌─┴──────────────────────────┐  │                      
───┼─────┼─i──▶ 5Q-QoS-B: w=5Q-QoS-B-CIR   │  │                      
   │     │ c  └─┬──────────────────────────┘  │  weight=Slice-1-CIR  
   │     │ e  ┌─┴──────────────────────────┐  │ shaping=Slice-1-PIR  
───┼─────┼────▶ 5Q-QoS-C: w=5Q-QoS-C-CIR   │  │                      
   │     │ 1  └─┬──────────────────────────┘  │                      
   │     │    ┌─┴──────────────────────────┐  │                      
───┼─────┼────▶ Best Effort (remainder)    │  │                      
   │     │    └─┬──────────────────────────┘ ╱│╲                     
   │  A  ├──────┤─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │  t  │    ┌─┴──────────────────────────┐ ╲│╱                     
   │  t  │    │                            │  │                      
   │  a  │    └─┬──────────────────────────┘  │                      
   │  c  │ S  ┌─┴──────────────────────────┐  │                      
   │  h  │ l  │                            │  │                      
   │  m  │ i  └─┬──────────────────────────┘  │  weight=Slice-2-CIR  
   │  e  │ c  ┌─┴──────────────────────────┐  │ shaping=Slice-2-PIR  
   │  n  │ e  │                            │  │                      
   │  t  │    └─┬──────────────────────────┘  │                      
   │     │ 2  ┌─┴──────────────────────────┐  │                      
   │  C  │    │                            │  │                      
   │  i  │    └─┬──────────────────────────┘ ╱│╲                     
   │  r  ├──────┤─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │  c  │    ┌─┴──────────────────────────┐ ╲│╱                     
   │  u  │    │                            │  │                      
   │  i  │ S  └─┬──────────────────────────┘  │                      
   │  t  │ l  ┌─┴──────────────────────────┐  │                      
   │     │ i  │                            │  │                      
   │     │ c  └─┬──────────────────────────┘  │  weight=Slice-3-CIR  
   │     │ e  ┌─┴──────────────────────────┐  │ shaping=Slice-3-PIR  
   │     │    │                            │  │                      
   │     │ 3  └─┬──────────────────────────┘  │                      
   │     │    ┌─┴──────────────────────────┐  │                      
   │     │    │                            │  │                      
   │     │    └─┬──────────────────────────┘ ╱│╲                     
   │     └───┬──┘─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   └─────────┘               
              </artwork>
            </artset>
          </figure>      
        </section>
      </section>

      <section>
        <name>Transit Resource Control</name>
        <t>Transit resource control is much simpler than Edge resource control. As outlined in <xref target="QoS-Map"/>, at the edge, 5Q QoS Class marking (represented by DSCP related to 5QI set by mobile components in the packets handed off to the TN) is mapped to the TN QoS Class.  Based in TN QoS Class, when the packet is encapsulated with outer header (MPLS or IPv6), TN QoS Class marking (MPLS TC or IPv6 DHCP in outer header, as depicted in <xref target="QoS-MPLS"/> and <xref target="QoS-IPv6"/>) is set in the outer header.  PHB on transit is based exclusively on that TN QoS Class marking, i.e., original 5G QoS Class DSCP is not taken into consideration on transit.</t>
        <t>Transit resource control does not use any inbound interface policy, but only outbound interface policy, which is based on priority queue combined with weighted or deficit queuing model, without any shaper. The main purpose of transit resource control is to ensure that during network congestion events, for example caused by network failures and temporary rerouting, premium classes are prioritized, and any drops only occur in non-premium (best-effort) classes. Capacity planning and management, as described in <xref target="CAPACITY"/>, ensures that enough capacity is available to fulfill all approved slice requests.</t>
      </section>

	  </section>
	
  	<section anchor="TP-Section">
	    <name>Transport Planes Mapping Models</name>
      <t>A network operator might define various groups of tunnels, where each tunnel group is created with specific optimization criteria and constraints. This document refers to such tunnel groups as 'transport planes'. For example, transport plane A might represent tunnels optimized for latency, transport plane B for high capacity, transport plane C might represent tunnels using only the "upper half" of the transport network, and transport plane D might represent tunnels using only the "lower half" of the transport network. <xref target="Transport-Planes"/> depicts an example of a simple network with two transport planes. These transport planes might be realized via various IP/MPLS techniques, for example Flex-Algo or RSVP/SR traffic engineering tunnels with or without PCE, and with or without bandwidth reservations. <xref target="CAPACITY"/> discusses in detail different bandwidth models that can be deployed in the transport network. However, discussion about how to realize or orchestrate transport planes is out of scope for this document.</t>
      <figure anchor="Transport-Planes">
        <name>Transport Planes</name>
        <artset>
          <artwork type="ascii-art">
┌───────────────┐                                    ┌──────┐
│  Head-End PE  │   ╔═══════════════════════════════▶│ PE-A │
│               │   ║   ╔═══════════════════════════▷│      │
│  ┌ ─ ─ ─ ─ ┐  │   ║   ╚═════════════════════╗      └──────┘
│            ●══════╝   ╔═════════════════════╝              
│  │Transport●════════════════════════════════╗      ┌──────┐
│    Plane A ●═════════════╗                  ╚═════▶│ PE-B │
│  │         ●═══════╗  ║  ║  ╔═══╗   ╔═══╗   ╔═════▷│      │
│   ─ ─ ─ ─ ─   │    ║  ║  ║  ║   ║   ║   ║   ║      └──────┘
│               │    ║  ║  ║  ║   ╚═══╝   ╚═══╝              
│  ┌ ─ ─ ─ ─ ┐  │    ║  ║  ║  ║                      ┌──────┐
│            ○═══════║══╝  ╚════════════════════════▶│ PE-C │
│  │Transport○═══════║════════╝               ╔═════▷│      │
│    Plane B ○═══════║═════════════════╗      ║      └──────┘
│  │         ○═════╗ ╚═══════════════╗ ║      ║              
│   ─ ─ ─ ─ ─   │  ║ ╔═╗ ╔═╗ ╔═╗ ╔═╗ ║ ╚══════╝      ┌──────┐
│               │  ║ ║ ║ ║ ║ ║ ║ ║ ║ ╚══════════════▶│ PE-D │
└───────────────┘  ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚════════════════▷│      │
                                                     └──────┘
         ●════════▶  Tunnels of Transport Plane A            
         ○════════▷  Tunnels of Transport Plane B     
          </artwork>       
        </artset>
      </figure>
      <t>Similar to the QoS mapping models discussed in <xref target="QoS-Models"/>, for mapping to transport planes at the ingress PE, both 5QI-unaware and 5QI-aware modes are defined. In essence, entire slices can be mapped to transport planes without 5G QoS consideration (5QI-unaware mode), or flows with different 5G QoS Classes, even if they are from the same slice, might be mapped to different transport planes (5QI-aware mode).</t>
      <section>
        <name>5QI-unaware Mode</name>
        <t>As discussed in <xref target="Unaware-Model"/>, in the 5QI-unware model, the TN domain doesn't take into account 5G QoS during execution of per-hop behavior. The entire slice is mapped to single TN QoS Class, therefore the entire slice is subject to the same per-hop behavior. Similarly, in 5QI-unaware transport plane mapping mode, the entire slice is mapped to a single transport plane, as depicted in <xref target="TP-5QI-unaware"/>.</t>
        <figure anchor="TP-5QI-unaware">
          <name>Slice to Transport Plane mapping (5QI-unaware model)</name>
          <artset>
            <artwork type="ascii-art">
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
┏━━━━━━━━━━━━━━━━━┓                        │
┃ Attach. Circuit ┃      PE router          
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃                        │
┃   SDP           ┃                         
┃│  ┌──────────┐ │┃                        │
┃   │IETF NS 1 ├──────────┐                 
┃│  └──────────┘ │┃       │                │
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃       │                 
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃       │   ┌─────────┐  │
┃   SDP           ┃       │   │         │   
┃│  ┌──────────┐ │┃       │   │Transport│  │
┃   │IETF NS 2 ├──────┐   ├───▶  Plane  │   
┃│  └──────────┘ │┃   │   │   │    A    │  │
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃   │   │   │         │   
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃   │   │   └─────────┘  │
┃   SDP           ┃   │   │                 
┃│  ┌──────────┐ │┃   │   │                │
┃   │IETF NS 3 ├──────┤   │                 
┃│  └──────────┘ │┃   │   │   ┌─────────┐  │
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃   │   │   │         │   
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃   │   │   │Transport│  │
┃   SDP           ┃   ├───│───▶  Plane  │   
┃│  ┌──────────┐ │┃   │   │   │    B    │  │
┃   │IETF NS 4 ├──────┘   │   │         │   
┃│  └──────────┘ │┃       │   └─────────┘  │
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃       │                 
┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃       │                │
┃   SDP           ┃       │                 
┃│  ┌──────────┐ │┃       │                │
┃   │IETF NS 5 ├──────────┘                 
┃│  └──────────┘ │┃                        │
┃ ─ ─ ─ ─ ─ ─ ─ ─ ┃                         
┗━━━━━━━━━━━━━━━━━┛                        │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
            </artwork>
          </artset>
        </figure>
        <t>It is worth noting that there is no strict correlation between TN QoS Classes and Transport Planes. The TN domain can be operated with e.g., 8 TN QoS Classes (representing 8 hardware queues in the routers), and 2 Transport Classes (e.g., latency optimized transport plane using link latency metrics for path calculation, and transport plane following IGP metrics). TN QoS Class determines the per-hop behavior when the packets are transiting through the TN domain, while Transport Plane determines the path, optimized or constrained based on operator's business criteria, that the packets use to transit through the TN domain.</t>
      </section>

      <section>
        <name>5QI-aware Mode</name>
        <t>In 5QI-aware mode, the traffic can be mapped to transport planes at the granularity of 5G QoS Class. Given that the potential number of transport planes is limited, packets from multiple 5G QoS Classes with similar characteristics are mapped to a common transport class, as depicted in <xref target="TP-5QI-aware"/>.</t>
        <figure anchor="TP-5QI-aware">
          <name>Slice to Transport Plane mapping (5QI-aware model)</name>
          <artset>
            <artwork type="ascii-art">
  ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
  ┏━━━━━━━━━━━━━━━━━┓                          
  ┃ Attach. Circuit ┃                         │
  ┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃        PE router         
  ┃   SDP           ┃                         │
  ┃│  ┌──────────┐ │┃                          
  ┃   │ 5G QoS A ├──────┐                     │
I ┃│  └──────────┘ │┃   │                      
E ┃   ┌──────────┐  ┃   │                     │
T ┃│  │ 5G QoS B ├──────┤                      
F ┃   └──────────┘  ┃   │         ┌─────────┐ │
  ┃│  ┌──────────┐ │┃   │         │         │  
N ┃   │ 5G QoS C ├───────────┐    │Transport│ │
S ┃│  └──────────┘ │┃   ├────│────▶  Plane  │  
  ┃   ┌──────────┐  ┃   │    │    │    A    │ │
1 ┃│  │ 5G QoS D ├───────────┤    │         │  
  ┃   └──────────┘  ┃   │    │    └─────────┘ │
  ┃└ ─ ─ ─ ─ ─ ─ ─ ┘┃   │    │                 
  ┃┌ ─ ─ ─ ─ ─ ─ ─ ┐┃   │    │                │
  ┃   ┌──────────┐  ┃   │    │                 
  ┃│  │ 5G QoS A ├──────┤    │    ┌─────────┐ │
I ┃   └──────────┘  ┃   │    │    │         │  
E ┃│  ┌──────────┐ │┃   │    │    │Transport│ │
T ┃   │ 5G QoS E ├──────┘    ├────▶  Plane  │  
F ┃│  └──────────┘ │┃        │    │    B    │ │
  ┃   ┌──────────┐  ┃        │    │         │  
N ┃│  │ 5G QoS F ├───────────┤    └─────────┘ │
S ┃   └──────────┘  ┃        │                 
  ┃│  ┌──────────┐ │┃        │                │
2 ┃   │ 5G QoS G ├───────────┘                 
  ┃│  └──────────┘ │┃                         │
  ┃   SDP           ┃                          
  ┃└ ─ ─ ─ ─ ─ ─ ─ ┘┃                         │
  ┗━━━━━━━━━━━━━━━━━┛                          
  └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
            </artwork>
          </artset>
        </figure>
      </section>

    </section>

	  <section anchor="CAPACITY">
	    <name>Capacity Planning/Management</name>
      <t>This section describes the information conveyed by the SMO to the transport controller with respect to slice bandwidth requirements. <xref target="MULTI-DC"/> shows three DCs that contain instances of network functions. Also shown are PEs that have links to the DCs. The PEs belong to the transport network. Other details of the transport network, such as P-routers and transit links are not shown. Also details of the DC infrastructure such as switches and routers are not shown.</t>
      <t>The SMO is aware of the existence of the network functions and their locations. However, it is not aware of the details of the transport network. The transport controller has the opposite view - it is aware of the transport infrastructure and the links between the PEs and the DCs, but is not aware of the individual network functions. </t>
      <figure anchor="MULTI-DC">
        <name>Multi-DC architecture</name>
        <artset>
          <artwork type="ascii-art">
                                .───.                                
                              ,'     `.                              
┌ ─ ─ ─ ─ DC 1─ ─ ─ ─        ╱         ╲       ┌ ─ ─ ─ ─ DC 2─ ─ ─ ─ 
  ┌──────┐           │  ┌────┐         ┌────┐              ┌──────┐ │
│ │ NF1A │           ■──┤PE1A│         │PE2A├──■           │ NF2A │  
  └──────┘           │  └────┘         └────┘              └──────┘ │
│ ┌──────┐                ;               :    │           ┌──────┐  
  │ NF1B │           │    │               │                │ NF2B │ │
│ └──────┘                ;               :    │           └──────┘  
  ┌──────┐           │  ┌────┐         ┌────┐              ┌──────┐ │
│ │ NF1C │           ■──┤PE1B│         │PE2B├──■           │ NF2C │  
  └──────┘           │  └┬───┘         └───┬┘              └──────┘ │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─    │    Transport    │   └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
                         │                 │                         
                         │     Network     │   ┌ ─ ─ ─ ─ DC 3─ ─ ─ ─ 
                         │             ┌───┴┐              ┌──────┐ │
                         :             │PE3A├──■           │ NF3A │  
                          :            └────┘              └──────┘ │
                          │               │    │           ┌──────┐  
                          :               ;                │ NF3B │ │
                           :             ;     │           └──────┘  
                           :           ┌────┐              ┌──────┐ │
                            ╲          │PE3B├──■           │ NF3C │  
                             ╲         └────┘              └──────┘ │
                              ╲       ╱        └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
                               `.   ,'                               
                                 `─'                                 
  ■ - SDP, with fine-grained QoS (dedicated resources per IETF NS)   
          </artwork>
        </artset>
      </figure>

      <t> Let us consider 5G Slice X that uses some of the network functions in the three DCs. If the slice has latency requirements, the SMO will have taken those into account when deciding which network functions in which DC would participate in the slice. As a result of that placement decision, the three DCs shown are involved in 5G Slice X, rather than other DCs. In order to make this determination, the SMO needs information from the NSC about the latency between DCs. Preferably, the NSC would present the topology in an abstracted form, consisting of point-to-point abstracted links between pairs of DCs and associated latency and optionally delay variation and link loss values. It would be valuable to have a mechanism for the SMO to inform the NSC which DC-pairs are of interest for these metrics - there may be of order thousands of DCs, but the SMO will only be interested in these metrics for a small fraction of all the possible DC-pairs, i.e. those in the same region of the network. The mechanism for conveying the information will be discussed in a future version of this document. </t>

      <t><xref target="MATRIX"/> shows the matrix of bandwidth demands for 5G slice X. Within the slice, multiple network function instances might be sending traffic from DCi to DCj. However, the SMO sums the associated demands into one value. For example, NF1A and NF1B in DC1 might be sending traffic to multiple NFs in DC2, but this is expressed as one value in the traffic matrix: the total bandwidth required for 5G Slice X from DC1 to DC2 (8 units). Each row in the right-most column in the traffic matrix shows the total amount of traffic going from a given DC into the transport network, regardless of the destination DC. Note that this number can be less than the sum of DC-to-DC demands in the same row, on the basis that not all the network functions are likely to be sending at their maximum rate simultaneously. For example, the total traffic from DC1 for Slice X is 11 units, which is less than the sum of the DC-to-DC demands in the same row (13 units). Note, as described in Section 4, a slice may have per-QoS class bandwidth requirements, and may have CIR and PIR limits. This is not included in the example, but the same principles apply in such cases.  </t>
    
      <figure anchor="MATRIX">
        <name>Inter-DC traffic demand matrix</name>
        <artset>
          <artwork type="ascii-art">
      To┌──────┬──────┬──────┬──────────────┐
From    │ DC 1 │ DC 2 │ DC 3 │Total from DC │
 ┌──────┼──────┼──────┼──────┼──────────────┤
 │ DC 1 │ n/a  │  8   │  5   │     11.0     │
 ├──────┼──────┼──────┼──────┼──────────────┤
 │ DC 2 │  1   │ n/a  │  2   │      2.5     │
 ├──────┼──────┼──────┼──────┼──────────────┤
 │ DC 3 │  4   │  7   │ n/a  │     10.0     │
 └──────┴──────┴──────┴──────┴──────────────┘
                    Slice X                  
                                             
      To┌──────┬──────┬──────┬──────────────┐
From    │ DC 1 │ DC 2 │ DC 3 │Total from DC │
 ┌──────┼──────┼──────┼──────┼──────────────┤
 │ DC 1 │ n/a  │  4   │ 2.5  │     6.0      │
 ├──────┼──────┼──────┼──────┼──────────────┤
 │ DC 2 │ 0.5  │ n/a  │ 0.8  │     1.0      │
 ├──────┼──────┼──────┼──────┼──────────────┤
 │ DC 3 │ 2.6  │  3   │ n/a  │     5.1      │
 └──────┴──────┴──────┴──────┴──────────────┘
                    Slice Y                  
          </artwork>
        </artset>
      </figure>

      <t><xref target="I-D.ietf-teas-ietf-network-slice-nbi-yang"/> can be used to convey all of the information in the traffic matrix to the IETF NSC. The IETF NSC applies policers corresponding to the last column in the traffic matrix to the appropriate PE routers, in order to enforce the bandwidth contract. For example, it applies a policer of 11 units to PE1A and PE1B that face DC1, as this is the total bandwidth that DC1 sends into the transport network corresponding to Slice X. Also, the controller may apply shapers in the direction from the TN to the DC, if otherwise there is the possibility of a link in the DC being oversubscribed. Note that a peer NF endpoint of an AC can be identified using 'peer-sap-id' as defined in <xref target="I-D.ietf-opsawg-sap"/>.</t>

      <t>Depending on the bandwidth model used in the network (<xref target="BWMODELS"/>), the other values in the matrix, i.e., the DC-to-DC demands, may not be directly applied to the transport network. Even so, the information may be useful to the IETF NSC for capacity planning and failure simulation purposes. If, on the other hand, the DC-to-DC demand information is not used by the IETF NSC, the IETF YANG Data Model for L3VPN Service Delivery <xref target="RFC8299"/> or the IETF YANG Data Model for L2VPN Service Delivery <xref target="RFC8466"/> could be used instead of <xref target="I-D.ietf-teas-ietf-network-slice-nbi-yang"/>, as they support conveying the bandwidth information in the right-most column of the traffic matrix. </t>

      <t> The transport network may be implemented in such a way that it has various types of paths, for example low-latency traffic might be mapped onto a different transport path to other traffic (for example a particular flex-algo or a particular set of TE LSPs), as discussed in <xref target="TP-Section"/>. The SMO can use <xref target="I-D.ietf-teas-ietf-network-slice-nbi-yang"/> to request low-latency transport for a given slice if required. However, <xref target="RFC8299"/> or <xref target="RFC8466"/> do not support requesting a particular transport-type, e.g., low-latency. One option is to augment these models to convey this information. This can be achieved by reusing the underlay-transport construct used in <xref target="RFC9182"/> and <xref target="RFC9291"/>.</t>

      <section anchor="BWMODELS" >
        <name> Bandwidth models</name>
        <t>This section describes three bandwidth management schemes that could be employed in the transport network. Many variations are possible, but each example describes the salient points of the corresponding scheme. Schemes 2 and 3 use TE, other variations on TE are possible as described in <xref target="I-D.ietf-teas-rfc3272bis"/>.</t> 

        <section>
          <name>Scheme 1: Shortest Path Forwarding</name>
          <t>Shortest path forwarding is used according to the IGP metric. Given that some slices are likely to have latency SLOs, the IGP metric on each link can be set to be in proportion to the latency of the link. In this way, all traffic follows the minimum latency path between endpoints. </t>

          <t>In Scheme 1, although the operator provides bandwidth guarantees to the slice customers, there is no explicit end-to-end underpinning of the bandwidth SLO, in the form of bandwidth reservations across the transport network. Rather, the expected performance is achieved via capacity planning, based on traffic growth trends and anticipated future demands, in order to ensure that network links are not over-subscribed. This scheme is analogous to that used in many existing business VPN deployments, in that bandwidth guarantees are provided to the customers but are not explicitly underpinned end to end across the transport network.</t>

          <t>A variation on the scheme is that Flex-Algo, defined in <xref target="I-D.ietf-lsr-flex-algo"/>, is used, for example one Flex-Algo could use latency-based metrics and another Flex-Algo could use the IGP metric. There would be a many-to-one mapping of slices to Flex-Algos.</t>

          <t> While Scheme 1 is technically feasible, it is vulnerable to unexpected changes in traffic patterns and/or network element failures resulting in congestion. This is because, unlike Schemes 2 and 3 that employ TE, traffic cannot be diverted from the shortest path. </t>
        </section>

        <section>
          <name>Scheme 2: TE LSPs with Fixed Bandwidth Reservations</name>

          <t>Scheme 2 uses RSVP-TE or SR-TE LSPs with fixed bandwidth reservations. By "fixed", we mean a value that stays constant over time, unless the SMO communicates a change in slice bandwidth requirements, due to the creation or modification of a slice. Note that the "reservations" would be in the mind of the transport controller - it is not necessary (or indeed possible for SR-TE) to reserve bandwidth at the network layer. The bandwidth requirement acts as a constraint whenever the controller (re)computes the path of an LSP. There could be a single mesh of LSPs between endpoints that carry all of the traffic types, or there could be a small handful of meshes, for example one mesh for low-latency traffic that follows the minimum latency path and another mesh for the other traffic that follows the minimum IGP metric path, as described in <xref target="TP-Section"/>. There would be a many-to-one mapping of slices to LSPs.</t>

          <t>The bandwidth requirement from DCi to DCj is the sum of the DCi-DCj demands of the individual slices. For example, if only Slice X and Slice Y are present, then the bandwidth requirement from DC1 to DC2 is 12 units (8 units for Slice X and 4 units for Slice Y). When the SMO requests a new slice, the transport controller, in its mind, increments the bandwidth requirement according to the requirements of the new slice. For example, in <xref target="MULTI-DC"/>, suppose a new slice is instantiated that needs 0.8 Gbps from DC1 to DC2. The transport controller would increase its notion of the bandwidth requirement from DC1 to DC2 from 12 Gbps to 12.8 Gbps to accommodate the additional expected traffic. </t>

          <t>In the example, each DC has two PEs facing it for reasons of resilience. The transport controller needs to determine how to map the DC1 to DC2 bandwidth requirement to bandwidth reservations of TE LSPs from DC1 to DC2. For example, if the routing configuration is arranged such that in the absence of any network failure, traffic from DC1 to DC2 always enters PE1A and goes to PE2A, the controller reserves 12.8 Gbps of bandwidth on the LSP from PE1A to PE2A. If, on the other hand, the routing configuration is arranged such that in the absence of any network failure, traffic from DC1 to DC2 always enters PE1A and is load-balanced across PE2A and PE2B, the controller reserves 6.4 Gbps of bandwidth on the LSP from PE1A to PE2A and 6.4 Gbps of bandwidth on the LSP from PE1A to PE2B. It might be tricky for the transport controller to be aware of all conditions that change the way traffic lands on the various PEs, and therefore know that it needs to change bandwidth reservations of LSPs accordingly. For example, there might be an internal failure within DC1 that causes traffic from DC1 to land on PE1B, rather than PE1A. The transport controller may not be aware of the failure and therefore may not know that it now needs to apply bandwidth reservations to LSPs from PE1B to PE2A/PE2B.</t>
        </section>

        <section>
          <name>Scheme 3: TE LSPs without Bandwidth Reservations</name>
          <t>Like Scheme 2, Scheme 3 uses RSVP-TE or SR-TE LSPs. There could be a single mesh of LSPs between endpoints that carry all of the traffic types, or there could be a small handful of meshes, for example one mesh for low-latency traffic that follows the minimum latency path and another mesh for the other traffic that follows the minimum IGP metric path, as described in <xref target="TP-Section"/>. There would be a many-to-one mapping of slices to LSPs.</t>

          <t>The difference between Scheme 2 and Scheme 3 is that Scheme 3 does not have fixed bandwidth reservations for the LSPs. Instead, actual measured data-plane traffic volumes are used to influence the placement of TE LSPs. One way of achieving this is to use distributed RSVP-TE with auto-bandwidth. Alternatively, the transport controller can use telemetry-driven automatic congestion avoidance. In this approach, when the actual traffic volume in the data plane on given link exceeds a threshold, the controller, knowing how much actual data plane traffic is currently travelling along each RSVP or SR-TE LSP, can tune the paths of one or more LSPs using the link such that they avoid that link.</t>

          <t>It would be undesirable to move a minimum-latency LSP rather than another type of LSP in order to ease the congestion, as the new path will typically have a higher latency, if the minimum-latency LSP is currently following the minimum-latency path. This can be avoided by designing the algorithms described in the previous paragraph such that they avoid moving minimum-latency LSPs unless there is no alternative.</t>
        </section>
      </section>

	  </section>
    
    <section anchor="IANA">
    <!-- All drafts are required to have an IANA considerations section. See RFC 8126 for a guide.-->
      <name>IANA Considerations</name>
      <t>This memo includes no request to IANA.</t>
    </section>
    
    <section anchor="Security">
      <!-- All drafts are required to have a security considerations section. See RFC 3552 for a guide. -->
      <name>Security Considerations</name>
      <t>IETF Network Slices considerations are discussed in Section 6 of <xref target="I-D.ietf-teas-ietf-network-slices"/>. TBC.</t>
    </section>
    
    <!-- NOTE: The Acknowledgements and Contributors sections are at the end of this template -->
  </middle>

  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.8299.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.8466.xml"/>


        <!-- The recommended and simplest way to include a well known reference -->
        
      </references>
 
      <references>
        <name>Informative References</name>

        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.2698.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.4115.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.4364.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.6459.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.7806.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.9182.xml"/>
        <xi:include href="https://www.rfc-editor.org/refs/bibxml/reference.RFC.9291.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lsr-flex-algo.xml"/>        
	<xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-opsawg-sap.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-teas-ietf-network-slices.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-teas-ietf-network-slice-nbi-yang.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-teas-ns-ip-mpls.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-teas-rfc3272bis.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.geng-teas-network-slice-mapping.xml"/>
        <xi:include href="http://xml.resource.org/public/rfc/bibxml3/reference.I-D.henry-tsvwg-diffserv-to-qci.xml"/>

        <reference anchor="TR-GSTR-TN5G" target="https://www.itu.int/dms_pub/itu-t/opb/tut/T-TUT-HOME-2018-PDF-E.pdf">
          <front>
            <title>Technical Report GSTR-TN5G</title>
            <author>
              <organization>ITU-T</organization>
            </author>
            <date year="2018" month="February" day="9"/>
          </front>
        </reference>  

        <reference anchor="TS-23.501" target="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3144">
          <front>
            <title>TS 23.501: System architecture for the 5G System (5GS)</title>
            <author>
              <organization>3GPP</organization>
            </author>
            <date year="2021"/>
          </front>
        </reference>  
        
        <reference anchor="TS-28.530" target="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3273">
          <front>
            <title>TS 23.530: Management and orchestration; Concepts, use cases and requirements)</title>
            <author>
              <organization>3GPP</organization>
            </author>
            <date year="2021"/>
          </front>
        </reference>        
    
        <reference anchor="O-RAN.WG9.XPSAAS" target="https://www.o-ran.org/specifications">
          <front>
            <title>O-RAN.WG9.XPSAAS: O-RAN WG9 Xhaul Packet Switched Architectures and Solutions Version 02.00</title>
            <author>
              <organization>O-RAN Alliance</organization>
            </author>
            <date year="2021" month="July" day="1"/>
          </front>
        </reference>  

        <reference anchor="NG.113" target="https://www.gsma.com/newsroom/wp-content/uploads//NG.113-v4.0.pdf">
          <front>
            <title>NG.113: 5GS Roaming Guidelines Version 4.0</title>
            <author>
              <organization>GSMA</organization>
            </author>
            <date year="2021" month="May" day="28"/>
          </front>
        </reference>  
      </references>
    </references>
    
    <section>
      <name>Acronyms and Abbreviations</name>
      <t>3GPP: 3rd Generation Partnership Project</t>
      <t>5GC: 5G Core</t>
      <t>5QI: 5G QoS Indicator</t>
      <t>A2A: Any-to-Any</t>
      <t>AC: Attachment Circuit</t>
      <t>AMF: Access and Mobility Management Function</t>
      <t>AUSF: Authentication Server Function</t>
      <t>BBU: Baseband Unit</t>
      <t>BH: Backhaul</t>
      <t>BS: Base Station</t>
    	<t>CE: Customer Edge</t>
      <t>CIR: Committed Information Rate</t>
      <t>CN: Core Network</t>
      <t>CoS: Class of Service</t>
      <t>CP: Control Plane</t>
      <t>CSP: Communication Service Provider</t>
      <t>CU: Centralized Unit</t>
      <t>CU-CP: Centralized Unit Control Plane</t>
      <t>CU-UP: Centralized Unit User Plane</t>
      <t>DC: Data Center</t>
      <t>DDoS: Distributed Denial of Services</t>
      <t>DN: Data Network</t>
		  <t>DSCP: Differentiated Services Code Point</t>
      <t>DU: Distributed Unit</t>
      <t>eCPRI: enhanced Common Public Radio Interface</t>
      <t>FH: Fronthaul</t>
      <t>FIB: Forwarding Information Base</t>
      <t>GPRS: Generic Packet Radio Service</t>
      <t>gNB: gNodeB</t>
      <t>GTP: GPRS Tunneling Protocol</t>
      <t>GTP-U: GPRS Tunneling Protocol User plane</t>
      <t>HW: Hardware</t>
      <t>ID: Identifier</t>
      <t>IGP: Interior Gateway Protocol</t>
      <t>IP: Internet Protocol</t>
      <t>L2VPN: Layer 2 Virtual Private Network</t>
      <t>L3VPN: Layer 3 Virtual Private Network</t>
		  <t>LSP: Label Switched Path</t>
      <t>MH: Midhaul</t>
      <t>MIoT: Massive Internet of Things</t>
		  <t>MPLS: Multiprotocol Label Switching</t>
      <t>NF: Network Function</t>
      <t>NR: New Radio</t>
      <t>NRF: Network Function Repository</t>
      <t>NRP: Network Resource Partition</t>
      <t>NSC: Network Slice Controller</t>
      <t>NSS: Network Slice Subnet</t>
		  <t>PE: Provider Edge</t>
      <t>PIR: Peak Information Rate</t>
      <t>PLMN: Public Land Mobile Network</t>
      <t>PSTN: Public Switched Telephony Network</t>
      <t>QoS: Quality of Service</t>
      <t>RAN: Radio Access Network</t>
      <t>RF: Radio Frequency</t>
      <t>RIB: Routing Information Base</t>
      <t>RSVP: Resource Reservation Protocol</t>
      <t>RU: Radio Unit</t>
      <t>SD: Slice Differentiator</t>
      <t>SDP: Service Demarcation Point</t>
		  <t>SLA: Service Level Agreement</t>
		  <t>SLO: Service Level Objective</t>
      <t>SMF: Session Management Function</t>
      <t>SMO: Service Management and Orchestration</t>
      <t>S-NSSAI: Single Network Slice Selection Assistance Information</t>
      <t>SST: Slice/Service Type</t>
		  <t>SR: Segment Routing</t>
      <t>SRv6: Segment Routing version 6</t>
      <t>TC: Traffic Class</t>
		  <t>TE: Traffic Engineering</t>
      <t>TN: Transport Network</t>
      <t>TS: Technical Specification</t>
      <t>UDM: Unified Data Management</t>
      <t>UE: User Equipment</t>
      <t>UP: User Plane</t>
      <t>UPF: User Plane Function</t>
      <t>URLLC: Ultra Reliable Low Latency Communication</t>
      <t>VLAN: Virtual Local Area Network</t>
      <t>VNF: Virtual Network Function</t>
      <t>VPN: Virtual Private Network</t>
		  <t>VRF: Virtual Routing and Forwarding</t>
      <t>VXLAN: Virtual Extensible Local Area Network</t>
    </section>
    <section>
      <name>An overview of 5G Networking</name>
      <t>This section provides a brief introduction to 5G mobile networking with a perspective on the Transport Network. This section does not intend to replace or define 3GPP architecure, it just provides a brief overview for readers that do not have a mobile background. For more comprehensive information, refer to <xref target="TS-23.501"/>.</t>
   
      <section>
        <name>Building Blocks</name>
        <t><xref target="TS-23.501"/> defines the Network Functions (UPF, AMF, etc.) that compose the 5G System (5GS) Architecture together with related interfaces (e.g., N1, N2...). This architecture has native Control and User Plane separation, and the Control Plane leverages a service-based architecture. <xref target="NR-Arch"/> outlines an example 5GS architecture with a subset of possible network functions and network interfaces. </t>
        <figure anchor="NR-Arch">
          <name>5GS Architecture and Service-based Interfaces</name>
          <artset>
            <artwork type="ascii-art">
  ┌─────┐  ┌─────┐  ┌─────┐    ┌─────┐  ┌─────┐  ┌─────┐        
  │NSSF │  │ NEF │  │ NRF │    │ PCF │  │ UDM │  │ AF  │        
  └──┬──┘  └──┬──┘  └──┬──┘    └──┬──┘  └──┬──┘  └──┬──┘        
Nnssf│    Nnef│    Nnrf│      Npcf│    Nudm│        │Naf        
  ───┴────────┴──┬─────┴──┬───────┴───┬────┴────────┴────       
            Nausf│    Namf│       Nsmf│                         
              ┌──┴──┐  ┌──┴──┐     ┌──┴──────┐                  
              │AUSR │  │ AMF │     │   SMF   │                  
              └─────┘  └──┬──┘     └──┬──────┘                  
                       ╱  │           │      ╲                  
Control Plane      N1 ╱   │N2         │N4     ╲N4               
════════════════════════════════════════════════════════════    
User Plane          ╱     │           │         ╲               
                ┌───┐  ┌──┴──┐  N3 ┌──┴──┐ N9 ┌─────┐ N6  .───. 
                │UE ├──┤(R)AN├─────┤ UPF ├────┤ UPF ├────( DN  )
                └───┘  └─────┘     └─────┘    └─────┘     `───'              
            </artwork>
          </artset>
        </figure>
        <t>Similar to previous versions <xref target="RFC6459"/>, a 5G mobile network is split into 4 major domains:</t>
        <ul>
          <li>
            <t>UE, MS, MN, and Mobile</t>
            <t>The terms UE (User Equipment), MS (Mobile Station), MN (Mobile Node), and mobile refer to the devices that are hosts with the ability to obtain Internet connectivity via a 3GPP network.  An MS is comprised of the Terminal Equipment (TE) and a Mobile Terminal (MT).  The terms UE, MS, MN, and mobile are used interchangeably within this document.</t>
          </li>
          <li>
            <t>Radio Access Network (RAN)</t>
            <t>Provides wireless connectivity to the UE devices via radio. It is made up of the Antenna that transmits and receives signals to the UE and the Base Station that digitizes the signal and converts the RF data stream to IP packets.</t>
          </li>
          <li>
            <t>Core Network (CN)</t>
            <t>Controls the CP of the RAN and provides connectivity to the Data Network (e.g., the Internet or a private VPN). The Core Network hosts dozens of services such as authentication, phone registry, charging, access to PSTN and handover.</t>
          </li>
          <li>
            <t>Transport Network (TN)</t>
            <t>Provides connectivity between sites where 5G Network Functions are located. The TN may connect sites from the RAN to the Core Network, as well as sites within the RAN or within the CN. This connectivity is achieved by IP Networking.</t>
          </li>
        </ul>
        <figure>
          <name>Building blocks of 5G architecture (high-level representation)</name>
          <artset>
            <artwork type="ascii-art">
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─              
                                               │             
│             ┌────────────┐    ┌────────────┐               
              │            │    │            │ │             
│ ┌────┐      │            │    │            │     .───────. 
  │ UE ├──────┤    RAN     │    │     CN     ├────(    DN   )
│ └────┘      │            │    │            │     `───────' 
              │            │    │            │ │             
│             └──────┬─────┘    └──────┬─────┘               
                     │                 │       │             
│                    │                 │                     
                     │                 │       │             
│              ┌─────┴─────────────────┴────┐                
               │                            │  │             
│              │                            │                
               │     Transport Network      │  │             
│              │                            │                
               │                            │  │             
│              └────────────────────────────┘                
                                               │             
│                    5G System                               
                                               │             
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─                              
            </artwork>
          </artset>
        </figure>
      </section>
      <section>
        <name>Core Network</name>
        <t>The 5G Core Network (5GC) is made up of a set of Network Functions (NFs) which fall into two main categories:</t>
        <ul>
          <li>5GC User Plane: the User Plane Function (UPF) is the interconnect point between the mobile infrastructure and the Data Network (DN). It interfaces with the RAN via the N3 interface by encapsulating/decapsulating the User Plane Traffic in GTP Tunnels (aka GTP-U or Mobile User Plane).</li>
          <li>
            <t>5GC Control Plane: the 5G Control Plane is made up of a comprehensive set of Network Functions. An exhaustive list and description of these entities is out of the scope of this document. The following NFs and interfaces are worth mentioning, since their connectivity may rely on the Transport Network:</t>
            <ul>
              <li>the AMF (Access and Mobility Function) connects with the RAN control plane over the N2 interface</li>
              <li>the SMF controls the 5GC UPF via the N4 interface</li>
            </ul>
          </li>
        </ul>
        <figure>
          <name>5G Core Network (CN)</name>
          <artset>
            <artwork type="ascii-art">
  ┌ ─ ─ ─ ─ ┐    ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐                  
      RAN               5G Core (5GC)                         
  │         │    │                         │                  
                                                              
  │         │    │ [AUSF] [NRF] [UDM] etc. │                  
                                                              
  │         │    │     (Service Based)     │                  
                       ( Architecture)                        
  │         │    │                         │                  
              N2     ┌─────┐ N11 ┌─────┐                      
  │    CP ───────────┤ AMF ├─────┤ SMF │   │                  
                     └─────┘     └──┬──┘                      
  │         │    │                  │      │                  
                                    │         Control Plane   
═══════════════════════════════════════════════════════════   
                                    │         User Plane      
  │         │    │                  │ N4   │                  
              N3                 ┌──┴──┐     N6  .───────.    
  │    UP ───────────────────────┤ UPF ├───────▶(   DN    )   
                                 └─────┘         `───────'    
  │         │    │                         │                  
   ─ ─ ─ ─ ─      ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─                                   
            </artwork>
          </artset>
        </figure>
      </section>
      <section anchor="Five-G">
        <name>RAN</name>
        <t>The radio access network (RAN) connects cellular wireless devices to a mobile Core Network. The RAN network is made up of 3 components, which form the Radio Base Station:</t>
        <ul>
          <li>The Baseband Unit (BBU) provides the interface between the Core Network and the Radio Network. It connects to the Radio Unit and is responsible for the baseband signal processing to packet.</li>
          <li>The Radio Unit (RU) is located close to the Antenna and controlled by the BBU. It converts the Baseband signal received from the BBU to a Radio frequency signal.</li>
          <li>The Antenna converts the electric signal received from the RU to radio waves </li>
        </ul>
        <t>The 5G RAN Base Station is called a gNodeB (gNB). It connects to the Core Network via the N3 (user plane) and N2 (control plane) interfaces.</t>
        <t>The 5G RAN architecture supports RAN disaggregation in various ways. Notably, the BBU can be split into a DU (Distributed Unit) for digital signal processing and a CU (Centralized Unit) for RAN Layer 3 processing. Furthermore, the CU can be itself split into Control Plane (CU-CP) and User Plane (CU-UP).</t>
        <t> <xref target="RAN-Disaggregation"/> depicts a disaggregated RAN with NFs and interfaces.</t>
        <figure anchor="RAN-Disaggregation">
          <name>RAN Disaggregation</name>
          <artset>
            <artwork type="ascii-art">
            ┌─────────────────────────────────┐    ┌ ─ ─ ─ ─ ─ ┐
            │                                 │ N3              
┌────┐  NR  │                                 ├────┤  5G Core  │
│ UE ├──────┤             gNodeB              │                 
└────┘      │                                 ├────┤   (5GC)   │
            │                                 │ N2              
            └─────────────────────────────────┘    └ ─ ─ ─ ─ ─ ┘
                            │ │                                 
                            │ │                                 
                            │ │                                 
                           ─┘ └─                                
                           ╲   ╱                                
                            ╲ ╱                                 
                             V                                  
            ┌─────────────────────────────────┐    ┌ ─ ─ ─ ─ ─ ┐
            │           ┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │                 
            │                                 │    │           │
┌────┐  NR  │ ┌────┐ F2 │┌────┐ F1-U ┌─────┐│ │ N3    ┌─────┐   
│ UE ├────────┤ RU ├─────┤ DU ├──────┤CU-UP├──────────┤ UPF │  │
└────┘      │ └────┘    │└────┘      └──┬──┘│ │       └─────┘   
            │                 ╲         │     │    │           │
            │           │      ╲        │   │ │                 
            │                   ╲       │     │    │           │
            │           │        ╲      │E1 │ │                 
            │                F1-C ╲     │     │    │           │
            │           │          ╲    │   │ │                 
            │                       ╲   │     │    │           │
            │           │            ╲  │   │ │                 
            │                        ┌──┴──┐  │ N2 │  ┌─────┐  │
            │           │            │CU-CP├──────────┤ AMF │   
            │                        └─────┘  │    │  └─────┘  │
            │           │                   │ │                 
            │                 BBU split       │    │  5G Core  │
            │           └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ │                 
            │                                 │    │   (5GC)   │
            │       disaggregated gNodeB      │                 
            └─────────────────────────────────┘    └ ─ ─ ─ ─ ─ ┘
            </artwork>
          </artset>
        </figure>
      </section>
      <section>
        <name>Transport Network</name>      
        <t>5G TN segments</t>
        <t>The 5G transport architecture defines three main segments for the Transport Network, which are commonly referred to as Fronthaul (FH), Midhaul (MH), and Backhaul (BH) (<xref target="TR-GSTR-TN5G"/>).</t>
        <ul>
          <li>Fronthaul happens before the BBU processing. In 5G, this interface is based on eCPRI (Enhanced CPRI) with native Ethernet or IP encapsulation.</li>
          <li>Midhaul is optional: this segment is introduced in the BBU split presented in <xref target="Five-G"/>, where Midhaul network refers to the DU-CU interconnection (i.e., F1 interface). At this level, all traffic is encapsulated in IP (signaling and user plane).</li>
          <li>Backhaul happens after BBU processing. Therefore, it maps to the interconnection between the RAN and the Core Network. All traffic is also encapsulated in IP.</li>
        </ul>
        <t><xref target="Trans-Segments"/> illustrates the different segments of the Transport Network with the relevant Network Functions.</t>
        <figure anchor="Trans-Segments">
          <name>5G Transport Segments</name>
          <artset>
            <artwork type="ascii-art">
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
                                                           
│                         Transport Network               │
                                                           
│                                                         │
    TN Segment 1  TN Segment 2  TN Segment 3               
│    (Fronthaul)   (Midhaul)     (Backhaul)               │
   ┌───────────┐ ┌────────────┐ ┌───────────┐              
│  │           │ │            │ │           │             │
 ─ ┼ ─ ─ ─ ─ ─ ┼ ┼ ─ ─ ─ ─ ─ ─│─│─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ 
 ┌─┴──┐      ┌─┴─┴┐         ┌─┴─┴┐       ┌──┴──┐     .───. 
 │ RU │      │ DU │         │ CU │       │ UPF ├────( DN  )
 └────┘      └────┘         └────┘       └─────┘     `───' 
            </artwork>
          </artset>
        </figure>
        <t>It is worth mentioning that a given part of the transport network can carry several 5G transport segments concurrently, as outlined in <xref target="Trans-Segments-Concurrent"/>. This is because different types of 5G network functions might be placed in the same location (e.g., the UPF from one slice might be placed in the same location as the CU-UP from another slice).</t>
        <figure anchor="Trans-Segments-Concurrent">
          <name>Concurrent 5G Transport Segments</name>
          <artset>
            <artwork type="ascii-art">
┌ ─ ─ ─ ─ ┐                                                 
 ┌────┐     Colocated                                       
││RU-1│   │ RU/DU                                           
 └─┬──┘                                                     
│  │ FH-1 │                                                 
 ┌─┴──┐                                                     
││DU-1│   │  ┌────┐         ┌─────┐         .───.           
 └─┬──┘      │CU-1│         │UPF-1├────────( DN  )          
└ ─│─ ─ ─ ┘  └─┬─┬┘         └─┬───┘         `───'           
┌ ─│─ ─ ─ ─ ─ ─│─│─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ 
   │    MH-1   │ │    BH-1    │          Transport Network │
│  └───────────┘ └────────────┘                             
   ┌───────────┐ ┌────────────┐ ┌───────────┐              │
│  │    FH-2   │ │    MH-2    │ │    BH-2   │               
 ─ ┼ ─ ─ ─ ─ ─ ┼ ┼ ─ ─ ─ ─ ─ ─│─│─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ ┘
 ┌─┴──┐      ┌─┴─┴┐         ┌─┴─┴┐        ┌─┴───┐     .───. 
 │RU-2│      │DU-2│         │CU-2│        │UPF-2├────( DN  )
 └────┘      └────┘         └────┘        └─────┘     `───' 
            </artwork>
          </artset>
        </figure>
      </section>
    </section>
    <section anchor="Acknowledgements" numbered="false">
      <name>Acknowledgements</name>
      <t>The authors would like to thank Adrian Farrel, Joel Halpern and Tarek Saad for their reviews of this document and for providing valuable feedback on it.</t>
    </section>
    
    <section anchor="Contributors" numbered="false">
      <name>Contributors</name>
      <t>To be added later</t>
      <!-- [CHECK] it is optional to add a <contact> record for some or all contributors -->
    </section>
    
 </back>
</rfc>
