Internet Draft XiPeng Xiao Document:draft-ietf-pwe3-requirements-00.txtdraft-ietf-pwe3-requirements-01.txt Photuris Inc. Expires:November 17, 2001January 2002 Danny McPherson Amber Networks Prayson Pate Overture Networks, Inc. Craig White Level 3 Communications, LLC. Kireeti Kompella Juniper Networks, Inc. Vijay Gill Metromedia Fiber Network, Inc. Thomas D. Nadeau Cisco Systems, Inc. Requirements forPseudo WirePseudo-Wre Emulation Edge-to-Edge (PWE3)draft-ietf-pwe3-requirements-00.txtdraft-ietf-pwe3-requirements-01.txt Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC 2026. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet- Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. Abstract This document describes generic requirements for Pseudo-Wire Emulation Edge toEdge.Edge (PWE3). It provides guidelines for other working group documents that will define mechanisms for providing pseudo-wire emulation of specific services such as Ethernet,PPP, (Cisco) HDLC,ATM, FrameRelayRelay, TDM, andTDM.MPLS. It should be noted that the PWE3 Working Group(WG)(PWE3 WG) standardizes mechanisms that can be used to providepseudo-wire emulationPWE3 services, but not the services themselves. Copyright Notice Copyright (C) The Internet Society (2001). All Rights Reserved. Table of Contents 1 Introduction ................................................. 4 1.1 Reference Model ofPseudo-Wire Emulation Edge to Edge (PWE3) ....................................................PWE3 .................................... 4 1.2 Terminology ................................................ 5 2 PDU Encapsulation ............................................ 6 2.1 Conveyance of Necessary L2/L1 Header Information ...........67 2.2Location of the Pseudo-Wire Header ......................... 6 2.3PDU Length .................................................6 2.47 2.3 Encapsulation ofSignalingControl Messages of the Native Services.................................................. 7 2.5 Timing Information .................................................................................................... 72.62.4 Support for Circuit Multiplexing ........................... 72.72.5 Packet Ordering ............................................ 732.6 PacketTransport .............................................Duplication ......................................... 7 3 Carrying the PW PDUs over a Packet-Switched Network .......... 8 3.1 Setup of Pseudo-Wires ......................................78 3.2 Pseudo-Wire MTU ............................................ 8 3.3Transport of SignalingCarrying Control Messages of the Native Services................ 8 3.4Transport Efficiency .......................................PSN Tunnel Header Overhead ................................. 9 4 Faithfulness of Emulated Services ............................ 9 4.1 Characteristics of an Emulated Service ..................... 9 4.2 Service Quality of Emulated Services ....................... 104.3 Signaling of Native Services ............................... 105 Maintenance of Emulated Services ............................. 10 5.1SignalingKeep-alive ................................................. 10 5.2 Status Monitoring .......................................... 10 5.3 Notification of Status Changesof an Emulated Service ......... 10 5.1.1............................. 11 5.3.1 Up/Down Notification .....................................10 5.1.211 5.3.2 Misconnection and Payload Mistype ........................ 11 5.3.3 PacketLoss and/orLoss, Corruption, and Out-of-order Delivery........................ 115.1.35.3.4 Other StatusSignaling ...................................Notification ................................ 115.1.45.3.5 Collective StatusSignaling ..............................Notification ........................... 115.25.4 Clock Recovery ............................................. 12 6 Management of Emulated Services .............................. 12 6.1MIB ........................................................MIBs ....................................................... 12 6.2 General MIB Requirements ................................... 12 6.3 Configuration and Provisioning ............................. 13 6.4 Performance Monitoring ..................................... 13 6.5 Fault Management and Notifications ......................... 13 6.6 Pseudo-Wire Traceroute .....................................1213 7 Scalability ..................................................1213 8 Other Generic Requirements ...................................1314 8.1 RFC 2914 Conformance ....................................... 14 9 Non-Requirements ............................................. 14 10 Quality of Service (QoS) Considerations .....................1415 11 Inter-domain Pseudo-Wires ................................... 15 12 Security Considerations ..................................... 15 12.1 Security Considerations for the Signaling/Control Channel ................................................... 15 12.2 Security Considerations for theEncapsulatedPW PDUs............................ 15 13 Deployment Considerations ...................................1516 14 Acknowledgments .............................................1516 15 References ..................................................1516 16 Authors' Addresses ..........................................1617 17 Full Copyright Section ......................................1819 1. Introduction 1.1. Reference Model ofPseudo-Wire Emulation Edge to Edge (PWE3)PWE3 To provide pseudo-wireemulation,emulation (PWE), two pseudo-wire end-services (PWESs) of the same type are first configured between eachservice endpoint (SE)customer edge (CE) device and the correspondingPWE3 Edgeprovider edge (PE) device (See Figure 1).An end-serviceA PWES is either: - an Ethernet linkbetween two ports or two VLANs,or-aPPP link, or - a (Cisco) HDLC link,VLAN link between two ports, or - an ATM VC or VP, or - a Frame Relay VC, or - a TDMcircuit.circuit, or - an MPLS LSP. A connection is then set up between the two PEs to connect these twoend-services.PWESs. This connection is called a pseudo-wire (PW) in the PWE3 context. During the setup of apseudo-wire,PW, the twopseudo-wire endpointsPEs will be configured or will automatically exchange information about the service to be emulated so that later they know how tohandleprocess packets coming from the otherend of the pseudo-wire.end. After thepseudo-wirePW is set up, layer-2 (e.g. Ethernet,ATM andATM, FrameRelay)Relay and MPLS) or layer-1 (e.g. SONET/SDH) PDUsof framesfroman end-servicea PWES are encapsulated at thepseudo-wirePW ingress. The encapsulated PDUs are thentransportedsent over thepseudo- wirePW to the egress, where L2 or L1header information isheaders are re- constructed and the resulted frames are forwarded in their native format to the otherend-service. |<--------- pseudo-wire -------->| end-CE. |<------- Pseudo Wire ------>| | | | |<-- PSN Tunnel -->| |end-PW V V V V PW End Service+----+ +----+ End Service +-----+service +------+ +------+ service| | PE1|==================| PE2| | +-----+ |SE1 |---------| PE1 |..................| PE2 |---------| SE2|----------|............PW1.............|----------| | | CE1 | | | | | | | | CE2 | | |----------|............PW2.............|----------| | +-----++------+ +------+| | |==================| | | +-----+service PW endpoint 1 PW endpoint 2 service endpoint^ +----+ +----+ | ^ | Provider Edge 1endpointProvider Edge 2 | ||<---------------- emulated service| |<-------------- Emulated Service ---------------->| Customer Customer Edge 1 Edge 2 Figure 1:Pseudo-WirePWE3 Reference ModelDifferent carriers may choose different types of pseudo-wires. For example, carriers may choose to use GRE tunnels [GRE], L2TP tunnels [L2TP], or MPLS LSPs [MPLS] as pseudo-wires.This document does not assume that a particular type ofpseudo-wiresPWs is used. Instead, it describes generic requirements that apply to allpseudo-wires,PWs, for all services including Ethernet,PPP, (Cisco) HDLC,ATM, FrameRelayRelay, TDM andTDM.MPLS. This document is not an introductory document.Readers are assumedFor an architecture overview of PWE3, readers should refer tobe familiar withthe PWE3 framework document[PATE], especially the architecture assumptions stated in that document.[PATE]. 1.2. Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALLNOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. Below are the definitions for the terms used throughout the document.End-Service An End-ServicePacket Switched Network A Packet Switched Network (PSN) iseither an Ethernet link between two ports or two VLANs, oraPPP link, or a (Cisco) HDLC link, or an ATM VC or VP, or a Frame Relay VC,network using IP, MPLS ora TDM circuit. Pseudo-WireL2TP as the unit of switching. Pseudo Wire EmulationPseudo-WireEdge to Edge Pseudo Wire Emulationis an approachEdge toemulateEdge (PWE3) is a mechanism that emulates the essential attributes of a serviceover a packet network so that two remote end-services appear directly connected by(such as awire. Emulated Service An Emulated Service isT1 leased line or Frame Relay) over aservice that is provided via pseudo-wire emulation. Service EndpointPSN. Customer Edge AService Endpoint (SE)Customer Edge (CE) is a device where one end of an emulated service originates and terminates.Pseudo-WireThe CE is not aware that it is using an emulated service rather than a "real" service. Provider Edge APseudo-WireProvider Edge (PE) is a device that provides PWE3 to a CE. Pseudo Wire A Pseudo Wire (PW) is a connection between twoend-services. Pseudo-Wire EndpointPEs carried over a PSN. The PE provides the adaptation between the CE and the PW. Pseudo Wire PDU APseudo-Wire EndpointPseudo Wire PDU (PW PDU) is adevice where one endPDU sent on the PW that contains all of the data and control information necessary to provide the desired service. PSN Tunnel A PSN Tunnel is apseudo-wire terminates.tunnel inside which multiple PWs can be nested so that they are transparent to core network devices. Path-oriented PW A Path-orientedPseudo-WirePW is apseudo-wire Pseudo-WirePW for whichcorethe network devices of the underlying PSN must maintain stateinformation, for example, an MPLS LSP.information. Non-path-oriented PW A Non-path-orientedPseudo-WirePW is aPseudo-Wire pseudo-wirePW for whichcorethe network devices of the underlying PSN need not maintain stateinformation,information. Service Interworking In Service Interworking, the IWF (Interworking Function) between two dissimilar protocols (e.g., ATM & MPLS, Frame Relay & ATM, ATM & IP, ATM & L2TP, etc.) terminates the protocol used in one network and translates (i.e. maps) its Protocol Control Information (PCI) to the PCI of the protocol used in other network forexample, a L2TP tunnel. Transport Tunnel A Transport Tunnel is a tunnel inside which multiple pseudo-wires canUser, Control and Management Plane functions to the extent possible. In general, since not all functions may benested so that theysupported in one or other of the networks, the translation of PCI may be partial or non-existent. However, this should not result in any loss of user data since the payload is not affected by PCI conversion at the service interworking IWF. Network Interworking In Network Interworking, the PCI (Protocol Control Information) of the protocol and the payload information used in two similar networks aretransparenttransferred transparently by an IWF of the PE across the PSN. Typically the IWF of the PE encapsulates the information which is transmitted by means of an adaptation function and transfers it transparently tocore network devices.the other network. 2. PDU Encapsulation Everypseudo-wire edge devicePE MUST provide service interfaces to use commonservice-specificservice- specific techniques for encapsulatingPDUs.PDUs from the PWESs. It should be noted that the PDUs to be encapsulated may or may not contain L2 or L1 header information. This is service specific. Every PWE3 service MUST specify whatathe PDU is. Apseudo-wire header must contain sufficient but not excessive information so that the other end of the pseudo-wire, aided with information obtained during the pseudo-wire setup process, knows exactly how to handle the encapsulated PDUs. A pseudo-wirePW header consists of all the header fields inan encapsulateda PW PDU that are used by thepseudo-wirePW egress to determine how tohandledprocess the PDU. The header that is used fortransportingsending theencapsulatedPW PDUs from thepseudo-wirePW ingress to the egress (e.g. the tunnel label in[MART2])[MARTINI2]) is not considered as part of thepseudo-wirePW header. It is calledtransport header instead. It should be noted that transport headers are totally different from transport-layer headers (e.g. TCP/UDP headers).PSN tunnel header. Specific requirements on PDU encapsulation for a PWE3 approach are listed below. 2.1. Conveyance of Necessary L2/L1 Header InformationSometimes theThe egress of apseudo-wirePW needs some information, e.g. which native service the PW PDUs belong to, and possibly some L2 or L1 headerinformationinformation, in order to know how to process the PDUs received. A PWE3 approachSHOULDMUST provide some mechanism(e.g. using one or more control words)for conveying suchL2/L1 headerinformation from thepseudo-wirePW ingress to the egress.The use of these mechanisms canIt should beREQUIRED or OPTIONAL, depending on services. 2.2. Location of the Pseudo-Wire Header A pseudo-wire header MUSTnoted that not all such information must bebetweencarried in thePDU andPW header of thetransport header. This is necessary forPW PDUs. Some information (e.g. service type of a PW) can be stored as state information at thepseudo-wireegressto locate the pseudo-wire header, and to process the PDU. 2.3.during PW setup. 2.2. PDU Length A PWE3 approach MUST accommodate variable length PDUs, if variable length PDUs are allowed by the native service. For example, a PWE3 approach for Frame Relay MUST accommodate variable length frames.2.4.2.3. Encapsulation ofSignalingControl Messages of the Native ServicesPDUsIt is desirable thatcontain signaling information of the native service SHOULD be encapsulated inthesame wayPEs participate asdata PDUs. This simplifies handling at bothlittle as possible in theingresssignaling andthe egress of a pseudo-wire. 2.5. Timing Information Timing information can be essential for the endpointsmaintenance ofa service. Iftheoriginal frames contain timing information,native services. However, it is up to each specific PWE3 approach to specify what theencapsulation mechanism SHOULD not cause loss of such timing information. Requirements on clock recovery between pseudo-wire endpoints are further discussedPEs need to do inthe "Maintenance of Emulated Services" section. 2.6.this regard. 2.4. Support for Circuit Multiplexing If a service in its native form is capable of grouping multiple circuits into a "trunk", e.g. an ATM VP, some mechanism SHOULD be provided so that a singlepseudo-wirePW can be used to connect two end-trunks. From encapsulation perspective, the encapsulation header MUST carry sufficient information, e.g. VCI of each cell, so that the egress of thepseudo-wirePW can demultiplex individual circuits from thepseudo-wire. 2.7.PW. 2.5. Packet Ordering When packets carrying theencapsulatedPW PDUs traverse apseudo-wire,PW, they may arrive at the egress out of order. For some services, theencapsulatedPW PDUs must be delivered in order. For such services, some mechanism MUST be providedto ensure that.for ensuring in-order delivery. Providing a sequence number in thepseudo-wirePW header for each packet is one possible approach.Every specific PWE3 approach2.6. Packet Duplication In rare cases, packets traversing a PW may be duplicated. For some services, packet duplication is not allowed. For such services some mechanism MUSTdefinebe provided to ensure that duplicated packets will not be delivered. The mechanism may or may not be the same asathe mechanismifused to ensure in-orderPDU delivery is required.packet delivery. 3.Packet TransportCarrying the PW PDUs over a Packet-Switched Network This section describes requirements on how totransportsend packets carrying theencapsulatedPW PDUs overthea packet-switched network (PSN) that provides PWE3 services. 3.1. Setup of Pseudo-Wires Apseudo-wirePW is a tunnel that connects twoend-services.PWESs. After the L2/L1 PDUs of a service are encapsulated, they must betransportedsent over thepseudo-wirePW to the otherend-service.PWES. Every PWE3 approach MUST define some signaling mechanism for setting up thepseudo-wires.PWs. During the setup process, thepseudo-wire endpointsPEs need to exchange some information (e.g. learn each other's capability). The signaling mechanism MUST enable thepseudo-wire endpointsPEs to exchange all necessary information. For example, both endpoints must agree on an encapsulationmethod and the MTU size for the pseudo-wire.method. As another example, in order to support circuit multiplexing using ATM VPs, bothpseudo-wire endpointsPEs must agree on using the VCIs in theencapsulatedPW PDUs to demultiplex individual VCs from the VP at thepseudo-wirePW egress. Which signaling protocol to use and what information to exchange are service specific. Every PWE3 approach MUST specify these. Manual configuration can be considered as a special kind of signaling and is explicitly allowed.This document does not assumeIP tunnels [MPLSINIP], sessions in aparticular type of pseudo-wires. GRE tunnels, L2TP tunnels,[L2TP] tunnel, orMPLS[MPLS] LSPs can all beused.used as PWs. Selection of a particular type ofpseudo-wiresPWs is carrier-dependent and is outside scope of the PWE3 WG.A pseudo-wire can be either path-oriented or non-path-oriented. The difference is core network devices need to maintain state information for path-oriented pseudo-wires (e.g. LSPs) but not for non-path- oriented ones (e.g. GRE/L2TP tunnels). This has scalability implication that is further discussed in the "Scalability" section.3.2. Pseudo-Wire MTU Apseudo-wirePW MUST be able to be configured with anMTU that is sufficientPW_MTU. One way totransport packets whose size equalsdo this is to set thelargest PDU size of the native service plus the pseudo-wire header and transport header.PW_MTU to (PW_Path_MTU - PW_header - PSN_tunnel_header). At apseudo-wirePW ingress, if a packet's length exceeds thepseudo-wire MTU,PW_MTU, itMUSTMAY be dropped. In this case, the management plane of the ingress PE MAY be notified. Alternatively, a fragmentation mechanism MAY be defined and used. At apseudo-wirePW egress, if the length of a L2/L1 frame that is restored from a PW PDU exceeds the MTU of destinationend-service,PWES, itMUSTMAY be dropped.3.3. TransportIn this case, the management plane ofSignalingthe egress PE MAY be notified. Alternatively, a fragmentation mechanism MAY be defined and used. 3.3. Carrying Control Messages of the Native Services Some native services usesignalingcontrol messages for maintaining the circuits. Thesesignalingcontrol messages may be in-band, e.g. Ethernet flow control or ATM performance management, or out-of-band, e.g. the signaling VC of an ATMVP (from the perspective of other VCs in that VP).VP. If suchsignalingcontrol messages are lost, functionality of the services will be significantly affected. Therefore, it can be desirable to provide higher reliability fortransporting signalingcarrying control messages.Each PWE3 approach MAY state what approach can be usedWhat mechanisms toensure that signaling messages of the native service will be delivered over the network with high probability. Differentiating signaling packets from data packetsuse andgiving them preferable forwarding treatment inhow to use those mechanisms for providing higher reliability are outside scope of thenetwork is one possible approach. Such approaches NEED not be defined in aPWE3approach itself.WG. 3.4.Transport EfficiencyPSN Tunnel Header Overhead In order to reducetransportPSN tunnel headeroverhead and increase bandwidth efficiency,overhead, multiple PDUs MAY be concatenated before atransportPSN tunnel header is added. Each PDU still carries its ownpseudo-wirePW header so that the egress of thepseudo-wirePW knows how tohandleprocess it. However, the benefit of concatenating multiple PDUs for header efficiency should be weighed against the resulting larger penalty incurred by packet loss. 4. Faithfulness of Emulated Services An emulated service SHOULD be as similar to the native service as possible, but it is not REQUIRED that they should be identical.Each differenceThe applicability statement of a PWE3 service MUST report any limitations of the emulated service. All limitations between an emulated service and the corresponding nativeservice, if any,service can be classified as either functional ornon- functional.non-functional. Functionaldifferenceslimitations are those that cause some features of the native service to become disabled in the emulated one. For example, if an emulated Ethernet service introduces some difference that can cause the Spanning Tree Protocol (STP) tomal- function,malfunction, such a difference will be classified as a functional difference. Other differences are non-functional. For examples, differences in service quality between an emulated service and the native one are non-functional.In every PWE3 approach: - All functional differences and the features disabled MUST be pointed out; - Non-functional differences SHOULD be pointed out.Some basic requirements on faithfulness of an emulated service are described below. 4.1. Characteristics of an Emulated Service Functionally, twoservice endpointsCEs that are connected by an emulated serviceMUSTSHOULD appear directly connected by a native service, although service quality of the emulated service may be different from that of a native one. Specifically,this implies (but is not limited to)thefollowings:following requirements MUST be met: 1) It MUST be possible to define type (e.g.Ethernet or PPP,Ethernet, which is inherited from the native service), speed (e.g. 100Mbps), and MTU size for an emulated service. 2)FromThe two endpoints of emulated service #1 and the two endpoints of emulated serviceendpoints'#2 may be connected to the same PE at each end, respectively. As a result, the PWs of these two emulated services may share the same physical paths between the two PEs. But from the CEs' perspective, each emulated service MUST appear asunshared.unshared, that is, a CE MUST NOT be aware of existence of other CEs or other emulated services. 3) If an emulated service fails (either at one of theend-servicesPWESs or in the middle of thepseudo-wire),PW), bothservice endpointsCEs MUST be notifiedreasonably timely.in a timely manner, if they will be notified in the native service. The definition of"reasonable timeliness""timeliness" is service-dependent. 4)Two service endpoints connected by an emulated service MUST be able to establishIf a routing protocol (e.g. IGP) adjacency can be established overthe emulated service. Toa native service, it MUST beclear, thepossible to be established over an emulated service as well. Spanning Tree Protocol (STP) is not considered as a routing protocol and requirements onsupport/non-supportsupport/non- support of STP is outside scope of this document. 5)When desired, an emulated service MUST be able to appear as a normal link in the service endpoints' IGP routing table. 6)The TTL fields of theencapsulatedPW PDUs, if exist, MUST not be changed inside an emulated service. 4.2. Service Quality of Emulated Services It is RECOMMENDED but not REQUIRED that an emulated service provide as high service quality as the native service. However, the PWE3 WG only defines mechanisms for providingpseudo-wirePW emulation, not the services themselves. What quality to provide for a specific emulated service is a matter between a service provider (SP) and its customers, and is outside scope of the PWE3 WG. In fact, different SPs can use the same PWE3 approachbutwith different QoSapproachesmechanisms to provide the same emulated service with different service quality.4.3. Signaling of Native Services A PWE3 approach SHOULD support signaling of the native service. This is further discussed in the "Maintenance of Emulated Services" section.5. Maintenance of Emulated Services Every PWE3 approach MUST provide mechanisms for maintaining the working condition of an emulated service. 5.1. Keep-alive If a native serviceandhas keep-alive mechanism, the corresponding emulated service MUST define a similar mechanism for keep-alive. 5.2. Status Monitoring Some native services have mechanisms forsignaling anystatuschanges. 5.1. Signalingmonitoring. For example, ATM supports OAM for this purpose. For such services, the corresponding emulated services MUST specify how to perform status monitoring. The mechanisms NEED NOT be defined in this WG. Some status monitoring mechanisms defined in other WGs, e.g., [LSPPING] or [MPLSOAM], may be leveraged. 5.3. Notification of Status Changesof an Emulated Service 5.1.1.5.3.1. Up/Down NotificationWith pseudo-wire emulation,If a native service is bi-directional, the corresponding emulated service can only be signaled up when the associated PWs, and PSN tunnels if any, in both directions are functional. Because the two CEs of an emulated service are not adjacent, a failure may occur at aremoteplace such that one or both physical links between theSEsCEs and PEsremainsremain up. For example in Figure 1, if the physical link betweenSE1CE1 and PE1 fails, the physical link betweenSE2CE2 and PE2 will not be affected and will remain up. Unlesssome signalingCE2 isdone to notify SE2 ofnotified about the remote failure,SE2it will continue to send traffic over the emulated service toSE1.CE1. Such traffic will be discarded at PE1.Therefore,Some native services have failure notification so that whenan emulated service fails (either at an end-service or in the middle ofthepseudo-wire),services fail, bothservice endpoints MUSTCEs will be notified.EveryFor such native services, the corresponding PWE3approachservice MUST providesuchasignaling mechanism. This functionality is equivalent tofailure notificationof normal links.mechanism. Similarly,every PWE3 approach MUST provide some signalingif a native service has notification mechanism so that when a network failure is fixed, all the affectedemulatedservices will change status from "Down" to"Up". 5.1.2."Up", the corresponding emulated service MUST provide a similar mechanism for doing so. 5.3.2. Misconnection and Payload Mistype With PWE3, misconnection and payload mistype can occur. A PWE3 approach MAY define some mechanism for detecting and handling misconnection and payload mistype. 5.3.3. PacketLoss and/orLoss, Corruption, and Out-of-order Delivery Apseudo-wirePW can incur packetloss and/orloss, corruption, and out-of-order delivery. This cansignificantlyimpact the working condition of an emulated service.Number of packets lost or delivered out of order in unit timePacket loss, corruption, and out-of-order delivery can be considered astwo new types of"generalized biterror rate"error" of apseudo-wire. Every PWE3 approach SHOULD providePW. If a native service has some mechanismso that if either type of "generalizedto deal with biterror rate" exceeds some configured threshold,error, thepseudo-wire and the emulatedcorresponding PWE3 servicewill be signaled down. 5.1.3.SHOULD provide a similar mechanism. 5.3.4. Other StatusSignalingNotification A PWE3 approach MAY provide mechanism for other statussignaling,notification, if any.5.1.4.5.3.5. Collective StatusSignalingNotification Status of a group of emulated services may be affected identically by a single network incidence. For example, when the physical link between aSECE and a PE fails, all the emulated services that go through that link will fail. It is likely that there exists a group of emulated services which all terminate at a remoteSE.CE. (There can be multiple suchSEs).CEs). Therefore, it is desirable that a singlesignalingnotification messagecanbe used tosignal thenotify failure of the whole group of emulated services. A PWE3 approach MAY provide some mechanism forsignalingnotifying status changes of a group of emulated circuits. One possible approach is to associate each emulated service with a group ID when thepseudo-wirePW for that emulated service is set up. Multiple emulated services can then be grouped byassociatedassociating them with identical group ID. In statussignaling,notification, that group ID canthenbe used to refer all the emulated services in that group.5.2.5.4. Clock Recovery For some services, thepseudo-wire endpointsPEs need to maintain some kind of timing relationship (e.g. synchronization).AThe corresponding PWE3approach for suchservices MUST provide some mechanism to support that. If time stamps need to be carried across the PSN, [RTP] MUST be used. 6. Management of Emulated Services Each PWE3 approach SHOULD provide some mechanisms for network operators to manage the emulated service. These mechanisms can be in the forms described below. 6.1.MIB A pseudo-wire MIB (PW-MIB) MAYMIBs SNMP MIBs [SMIV2] MUST be provided for managing each emulatedservice. The MIBservice as well as pseudo-wire in general. These MIBs SHOULDhavebe created with the followingrequirements: - The counters in therequirements. 6.2. General MIBSHOULD NOT replicateRequirements New MIBs MUST augment or extend where appropriate, existingMIB counters. - Each end-service SHOULD appeartables asan interfacedefined inthe ifTable. - The MIB SHOULD describe how theother existingcounters are usedservice-specific MIBs forpseudo-wire emulation. - The MIB MAY support row creation to create new end-service pairs. - The MIB MAY augmentexistingtables.services such as MPLS or L2TP. For example, the ifTableSHOULDas defined in the Interface MIB [IFMIB] MUST be augmented to provide counts ofout-of-orderout-of- order packets.- The MIB SHOULD define meaningsA second example is the extension of the MPLS-TE-MIB [TEMIB] when emulating circuit services over MPLS. Rather than redefining the tunnelTable so that PWES can utilize MPLS tunnels, for example, entries in this table MUST instead be extended to add additional PWES-specific objects. Doing so facilitates a natural extension of those objects defined in thestandard linkUp and linkDown traps,existing MIBs in terms of management, as well asany protocol-specific traps that are needed. - Theleveraging existing agent implementations. Interfaces implementing a PWES MUST appear as an interface in the ifTable. 6.3. Configuration and Provisioning MIBSHOULDTables MUST bestructured indesigned to facilitate configuration and provisioning of the PWES. The MIB(s) MUST facilitate intra-PSN configuration and monitoring of PWES connections. 6.4. Performance Monitoring MIBs MUST collect statistics for performance and fault management. MIBs MUST provide ahierarchical fashion such that genericdescription of how existing counters are used for PWobjectsemulation andtables areSHOULD notduplicated for each service. 6.2.replicate existing MIB counters. 6.5. Fault Management and Notifications Notifications SHOULD be defined where appropriate to notify the network operators of any interesting situations, including faults detected in the PWES. Objects defined to augment existing protocol-specific notifications in order to add PWES functionality MUST explain how these notifications are to be emitted. 6.6. Pseudo-Wire Traceroute It can be desirable to know the exact path of apseudo-wire,PW, especially for troubleshooting purpose. Apseudo-wirePW emulation serviceMAYMUST supportpseudo-wire traceroute, even if the pseudo-wire usedPW traceroute. One tunnel traceroute approach isnon-path-oriented.defined in [BONICA]. 7. Scalability Scalability requirements forPseudo-Wire Emulation Edge to EdgePWE3 are described below. -Pseudo-wire emulation services SHOULD be transparent to other packet services (e.g. best effort Internet service). -Onlypseudo-wire endpointsPEs should be aware of existence ofpseudo- wiresPWs and PWE3 services. Core network devices SHOULD NOT be exposed to a large number ofpseudo-wires. Pseudo-wiresPWs. PWs can be path-oriented or non-path-oriented. Forpath- oriented pseudo-wires,path-oriented PWs, core network devices must maintain state information for them. If a large number of path-orientedpseudo- wiresPWs are used, core network devices will have to maintain a large amount of state information. In order to avoid scalability problem,transportPSN tunnels betweenpseudo-wire endpointsPEs can be introduced.Pseudo-wiresPWs from the same ingress to the same egress are nested inside thetransportPSN tunnel that is from that ingress to that egress. By creating such a tunnel hierarchy, individualpseudo- wiresPWs are transparent to the core devices. If a specific PWE3 approach uses path-orientedpseudo-wires, transportPWs, PSN tunnels SHOULD be used to improve scalability. However, atransportPSN tunnel is not part of anypseudo-wire.PW. Signaling oftransportPSN tunnels NEED NOT be defined in the PWE3 approach itself. As an example, if LSPs are used aspseudo-wiresPWs in a PWE3 approach, they can be nested inside a tunnel LSP from thepseudo-wirePW ingress to thepseudo-wirePW egress. The tunnel LSPs can be signaled by any mechanism defined in [MPLS]. - Circuit multiplexing: circuit multiplexing SHOULD be supported. - Collective statussignaling: Collectivenotification: collective statussignalingnotification SHOULD be supported. 8. Other Generic RequirementsOther generic requirements for Pseudo-Wire Emulation Edge to Edge include: - No New Protocol Operations: No matter which protocol (e.g. GRE or L2TP or MPLS) is used8.1. RFC 2914 Conformance [RFC2914] describes the need forpacket transport, PWE3 SHOULD just be an application of that protocol. In other words, no new protocol (GRE or L2TP or MPLS) operations SHOULD be introduced. For example, if an MPLS label switching operation is performed, acongestion control in the Internet, and discusses what constitute correct congestion control. Any PWE3 approachSHOULD not require that the TTL field of the top label remains unchanged. (Otherwise, this label switching would be different from a normal MPLS label switchingMUST conform to RFC 2914 andwouldbeconsidered as a new protocol operation). If any new operations are indeed introducedTCP-friendly in its response to congestion. The applicability document of a PWE3approach, theyapproach MUSTbe clearly pointed out. - Minimum configuration work at the pseudo-wire endpoints; - Easy to maintain and manage.provide a statement on RFC 2914 conformance. 9. Non-Requirements Some non-requirements are mentioned in various sections of this document. Those work items are outside scope of the PWE3 WG. The non-requirements are listed below: - Service interworking; - Point-to-multipoint or multipoint-to-multipoint PWs; - Selection of a particular type ofpseudo-wires;PWs; - Striving to make the emulated services perfectly match their native services; - Defining mechanisms for signaling thetransportPSN tunnels; - Defining how to perform traffic management on packets that carryencapsulatedPW PDUs; - Providing security for theencapsulatedPW PDUs; - Providing any multicast service that is not native to the emulated medium. To illustrate this point, Ethernet transmission to a multicast IEEE-48 address is considered in scope, while multicast services like [MARS] that are implemented on top of the medium are out of scope; 10. Quality of Service (QoS) Considerations In this document, QoS means satisfactory service quality. It should not be confused with QoS mechanisms such as Weighted FairQueueingQueuing (WFQ) or Random Early Detection (RED). QoS is essential for ensuring that the emulated services are similar (but not necessarily identical) to their native forms. It is up to network operators to decide how to provide QoS - They can choose to rely on over-provisioning and/or deploy some QoS mechanisms. In order to take advantage ofsomeQoS mechanisms defined in other working groups, e.g. the traffic management schemes defined in DiffServ WG, it is desirable that some mechanisms exists for differentiating the packets resulted from PDU encapsulation. These mechanisms need not be defined in the PWE3 approaches themselves. For example, if theresultedpackets are MPLS or IP packets, their EXP or DSCP fields can be used for marking anddifferentiating, respectively. Everydifferentiating. A PWE3 approachSHOULDMAY provide guidelines for marking and differentiating, e.g. what fields in the original L2 or L1 headers should be used for determining the EXP/DSCP value. But the exact procedureonof how to perform marking and differentiating, e.g. specifying the mapping function from Ethernet .1P field to EXP field, is out of scope. 11. Inter-domain Pseudo-Wires The PWE3 WG will determine the requirements for having apseudo-wirePW pass across an administrative boundary. An edge could be a nativehand-offhand- off or hand-off to a furtherpseudo-wire.PW. The working group may analyze requirements for both security and performance for theinter-administrationinter- administration technology. This topic is for further study. 12. Security Considerations 12.1. Security Considerations for the Signaling/Control Channel If a signaling/control channel is used in a PWE3 approach, some security mechanismSHOULDMUST be provided to ensure integrity of the information transmitted across the signaling/control channel. 12.2. Security Considerations for theEncapsulatedPW PDUs Providing security for theencapsulatedPW PDUs is outside scope of the PWE3 WG. 13. Deployment Considerations Transition from using separate networks for TDM, ATM, Frame Relay and IP services to using a single network for multiple services requires careful planning and execution. This is an important topic for further study. 14. Acknowledgments Some requirements specified in this document were originally articulated in a number of documents including[MART1], [MART2],[MARTINI1], [MARTINI2], [CES], and [SFBS]. The authors would like to acknowledge authors of those documents. The authors would also like to acknowledge the input and comments fromT. So.Eric Rosen, Tricci So and Ron Cohen. 15. References [BONICA] R. Bonica, K. Kompella, and D. Meyer, "Tracing Requirements for Generic Tunnels", <draft-bonica-tunneltrace-01.txt>, work in progress, Feb. 2001. [CES] A. Malis et al, "SONET/SDH Circuit Emulation Service Over MPLS (CEM) Encapsulation"<draft-malis-sonet-ces-mpls- 04.txt>,, work in progress, April 2001. [GRE] D. Farinacci, T. Li, S. Hanks, D. Meyer, P. Traina, "Generic Routing Encapsulation (GRE)", RFC2784, March 2000. [IFMIB] K. McCloghrie, and F. Kastenholtz, "The Interfaces Group MIB using SMIv2", RFC 2233, Nov. 1997. [L2TP] W.M. Townsley, A. Valencia, A. Rubens, G. Singh Pall, G. Zorn, B. Palter, "Layer Two Tunneling Protocol (L2TP)", RFC 2661, August 1999. [LSPPING] P. Pan, N. Sheth, and D. Cooper, "Detecting Data Plane Liveliness in RSVP-TE", <draft-pan-lsp-ping-00.txt>, work in progress, July 2001. [MARS] G. Armitage, "Support for Multicast over UNI 3.0/3.1 based ATM Networks", RFC2022, November 1996[MART1][MARTINI1] L. Martini et al, "Transport of Layer 2 Frames Over MPLS", <draft-martini-l2circuit-trans-MPLS-06.txt>, work in progress, May 2001.[MART2][MARTINI2] L. Martini et al, "Encapsulation Methods for Transport of Layer 2 Frames Over MPLS", <draft-martini-l2circuit-encap- MPLS-02.txt>, work in progress, May 2001. [MPLS] E. Rosen, A. Viswanathan, and R. Callon, "Multiprotocol Label Switching Architecture", RFC3031, January 2001 [MPLSINIP] P. Doolan, Y. Katsube, A. Malis, R. Wilder, T. Worster, "MPLS Label Stack Encapsulation in IP", <draft-worster- mpls-in-ip-04.txt>, work in progress, Feb. 2001. [MPLSOAM] N. Harrison, P. Willis, S. Davari, B. Mack-Crane, H. Ohta, "OAM Functionality for MPLS Networks", <draft-harrison- mpls-oam-00.txt>, work in progress, Feb. 2001. [TEMIB] C. Srinivasan, A. Viswanathan, and T. Nadeau, "MPLS Traffic Engineering Management Information Base Using SMIv2", <draft-ietf-mpls-te-mib-05.txt>, work in progress, November 2000. [PATE] P. Pate, X. Xiao, T. So, C. White, and K. Kompella, "Framework forPseudo WirePseudo-Wire Emulation Edge-to-Edge (PWE3)", <draft-pate-pwe3-framework-00.txt>, work in progress, May 2001. [RFC2914] S.Floyd, "Congestion Control Principles", RFC 2914, Sept. 2000. [RTP] H. Schulzrinne, S. Casner, R. Frederick, and V.JacobsonJacobson, "RTP: A Transport Protocol for Real-Time Applications", RFC1889, January 1996. [SFBS] B. St-Denis, D. Fedyk, A. Bhatnagar, A. Siddiqui, R. Hartani, and T.SoSo, "Multi-service over MPLS", <draft- stdenis-ms-over-mpls-00.txt>, work in progress, Nov. 2000. [SMIV2] J. Case, K. McCloghrie, M. Rose, and S. Waldbusser, "Structure of Management Information for Version 2 of the Simple Network Management Protocol (SNMPv2)", RFC 1902, January 1996. 16. Authors' Addresses XiPeng Xiao Photuris, Inc. 2025 Stierlin Court Mountain View, CA 94043 Email: xxiao@photuris.com Danny McPherson Amber Networks, Inc. 48664 Milmont Drive Fremont, CA 94538 Email: danny@ambernetworks.com Prayson Pate Overture Networks P. O. Box 14864 RTP, NC, USA 27709 Email: prayson.pate@overturenetworks.com Craig White Level 3 Communications, LLC. 1025 Eldorado Blvd. Broomfield, CO, 80021 e-mail: Craig.White@Level3.com Kireeti Kompella Juniper Networks, Inc. 1194 N. Mathilda Ave. Sunnyvale, CA 94089 Email: kireeti@juniper.net Vijay Gill Metromedia Fiber Network Inc. 8075 Leesburg Pike, Suite 300 Vienna, VA 22182 Email: vgill@mfnx.net Thomas D. Nadeau Cisco Systems, Inc. 250 Apollo Drive Chelmsford, MA 01824 Email: tnadeau@cisco.com 17. Full Copyright Section Copyright (C) The Internet Society (2000). All Rights Reserved. This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.