1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893
|
<pre>Network Working Group L. Martini
Request for Comments: 4618 E. Rosen
Category: Standards Track Cisco Systems, Inc.
G. Heron
A. Malis
Tellabs
September 2006
<span class="h1">Encapsulation Methods for Transport of</span>
<span class="h1">PPP/High-Level Data Link Control (HDLC) over MPLS Networks</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
Abstract
A pseudowire (PW) can be used to carry Point to Point Protocol (PPP)
or High-Level Data Link Control (HDLC) Protocol Data Units over a
Multiprotocol Label Switching (MPLS) network without terminating the
PPP/HDLC protocol. This enables service providers to offer
"emulated" HDLC, or PPP link services over existing MPLS networks.
This document specifies the encapsulation of PPP/HDLC Packet Data
Units (PDUs) within a pseudowire.
<span class="grey">Martini, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Specification of Requirements ...................................<a href="#page-2">2</a>
<a href="#section-3">3</a>. Applicability Statement .........................................<a href="#page-5">5</a>
<a href="#section-4">4</a>. General Encapsulation Method ....................................<a href="#page-6">6</a>
<a href="#section-4.1">4.1</a>. The Control Word ...........................................<a href="#page-6">6</a>
<a href="#section-4.2">4.2</a>. MTU Requirements ...........................................<a href="#page-8">8</a>
<a href="#section-5">5</a>. Protocol-Specific Details .......................................<a href="#page-9">9</a>
<a href="#section-5.1">5.1</a>. HDLC .......................................................<a href="#page-9">9</a>
<a href="#section-5.2">5.2</a>. Frame Relay Port Mode ......................................<a href="#page-9">9</a>
<a href="#section-5.3">5.3</a>. PPP .......................................................<a href="#page-10">10</a>
<a href="#section-6">6</a>. Using an MPLS Label as the Demultiplexer Field .................<a href="#page-11">11</a>
<a href="#section-6.1">6.1</a>. MPLS Shim EXP Bit Values ..................................<a href="#page-11">11</a>
<a href="#section-6.2">6.2</a>. MPLS Shim S Bit Value .....................................<a href="#page-11">11</a>
<a href="#section-7">7</a>. Congestion Control .............................................<a href="#page-12">12</a>
<a href="#section-8">8</a>. IANA Considerations ............................................<a href="#page-12">12</a>
<a href="#section-9">9</a>. Security Considerations ........................................<a href="#page-12">12</a>
<a href="#section-10">10</a>. Normative References ..........................................<a href="#page-13">13</a>
<a href="#section-11">11</a>. Informative References ........................................<a href="#page-13">13</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
A PPP/HDLC pseudowire (PW) allows PPP/HDLC Protocol Data Units (PDUs)
to be carried over an MPLS network. In addressing the issues
associated with carrying a PPP/HDLC PDU over an MPLS network, this
document assumes that a PW has been set up by some means outside the
scope of this document. This may be via manual configuration, or
using a signaling protocol such as that defined in [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>].
The following figure describes the reference models that are derived
from [<a href="./rfc3985" title=""Pseudo Wire Emulation Edge-to-Edge (PWE3) Architecture"">RFC3985</a>] to support the HDLC/PPP PW emulated services. The
reader is also assumed to be familiar with the content of the
[<a href="./rfc3985" title=""Pseudo Wire Emulation Edge-to-Edge (PWE3) Architecture"">RFC3985</a>] document.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Specification of Requirements</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Martini, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
|<-------------- Emulated Service ---------------->|
| |
| |<------- Pseudowire ------->| |
| | | |
| | |<-- PSN Tunnel -->| | |
| V V V V |
V AC +----+ +----+ AC V
+-----+ | | PE1|==================| PE2| | +-----+
| |----------|............PW1.............|----------| |
| CE1 | | | | | | | | CE2 |
| |----------|............PW2.............|----------| |
+-----+ ^ | | |==================| | | ^ +-----+
^ | +----+ +----+ | | ^
| | Provider Edge 1 Provider Edge 2 | |
| | | |
Customer | | Customer
Edge 1 | | Edge 2
| |
| |
native HDLC/PPP service native HDLC/PPP service
Figure 1. PWE3 HDLC/PPP interface reference configuration
This document specifies the emulated PW encapsulation for PPP and
HDLC; however, quality of service related issues are not discussed in
this document. For the purpose of the discussion in this document,
PE1 will be defined as the ingress router and PE2 as the egress
router. A layer 2 PDU will be received at PE1, encapsulated at PE1,
transported across the network, decapsulated at PE2, and transmitted
out on an attachment circuit at PE2.
<span class="grey">Martini, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
The following reference model describes the termination point of each
end of the PW within the PE:
+-----------------------------------+
| PE |
+---+ +-+ +-----+ +------+ +------+ +-+
| | |P| | | |PW ter| | PSN | |P|
| |<==|h|<=| NSP |<=|minati|<=|Tunnel|<=|h|<== From PSN
| | |y| | | |on | | | |y|
| C | +-+ +-----+ +------+ +------+ +-+
| E | | |
| | +-+ +-----+ +------+ +------+ +-+
| | |P| | | |PW ter| | PSN | |P|
| |==>|h|=>| NSP |=>|minati|=>|Tunnel|=>|h|==> To PSN
| | |y| | | |on | | | |y|
+---+ +-+ +-----+ +------+ +------+ +-+
| |
+-----------------------------------+
^ ^ ^
| | |
A B C
Figure 2. PW reference diagram
The PW terminates at a logical port within the PE, defined at point B
in the above diagram. This port provides an HDLC Native Service
Processing function that will deliver each PPP/HDLC packet that is
received at point A, unaltered, to the point A in the corresponding
PE at the other end of the PW.
The Native Service Processing (NSP) function includes packet
processing that is required for the PPP/HDLC packets that are
forwarded to the PW termination point. Such functions may include
bit stuffing, PW-PW bridging, L2 encapsulation, shaping, and
policing. These functions are specific to the native packet
technology and may not be required for the PW emulation service.
The points to the left of B, including the physical layer between the
CE and PE, and any adaptation (NSP) functions between it and the PW
terminations, are outside of the scope of PWE3 and are not defined
here.
"PW Termination", between A and B, represents the operations for
setting up and maintaining the PW, and for encapsulating and
decapsulating the PPP/HDLC packets as necessary to transmit them
across the MPLS network.
<span class="grey">Martini, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Applicability Statement</span>
PPP/HDLC transport over PW service is not intended to emulate the
traditional PPP or HDLC service perfectly, but it can be used for
some applications that require PPP or HDLC transport service.
The applicability statements in [<a href="./rfc4619" title=""Encapsulation Methods for Transport of Frame Relay over Multiprotocol Label Switching (MPLS) Networks"">RFC4619</a>] also apply to the Frame
Relay port mode PW described in this document.
The following are notable differences between traditional PPP/HDLC
service, and the protocol described in this document:
- Packet ordering can be preserved using the OPTIONAL sequence field
in the control word; however, implementations are not required to
support this feature.
- The Quality of Service model for traditional PPP/HDLC links can be
emulated, however this is outside the scope of this document.
- A Frame Relay Port mode PW, or HDLC PW, does not process any frame
relay status messages or alarms as described in [<a href="#ref-Q922">Q922</a>] [<a href="#ref-Q933">Q933</a>].
- The HDLC Flags are processed locally in the PE connected to the
attachment circuit.
The HDLC mode is suitable for port-to-port transport of Frame Relay
User Network Interface (UNI) or Network Node Interface (NNI) traffic.
Since all packets are passed in a largely transparent manner over the
HDLC PW, any protocol that has HDLC-like framing may use the HDLC PW
mode, including PPP, Frame-Relay, and X.25. Exceptions include cases
where direct access to the HDLC interface is required, or modes that
operate on the flags, Frame Check Sequence (FCS), or bit/byte
unstuffing that is performed before sending the HDLC PDU over the PW.
An example of this is PPP Asynchronous-Control-Character-Map (ACCM)
negotiation.
For PPP, since media-specific framing is not carried, the following
options will not operate correctly if the PPP peers attempt to
negotiate them:
- Frame Check Sequence (FCS) Alternatives
- Address-and-Control-Field-Compression (ACFC)
- Asynchronous-Control-Character-Map (ACCM)
Note, also, that PW LSP Interface MTU negotiation, as specified in
[<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>], is not affected by PPP Maximum Receive Unit (MRU)
<span class="grey">Martini, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
advertisement. Thus, if a PPP peer sends a PDU with a length in
excess of that negotiated for the PW tunnel, that PDU will be
discarded by the ingress router.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. General Encapsulation Method</span>
This section describes the general encapsulation format for PPP and
HDLC packets over MPLS pseudowires.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PSN Transport Header (As Required) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Pseudowire Header |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Control Word |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| PPP/HDLC Service Payload |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 3. General format for PPP/HDLC encapsulation over PSNs
The PSN Transport Header depends on the particular tunneling
technology in use. This header is used to transport the encapsulated
PPP/HDLC information through the packet-switched core.
The Pseudowire Header identifies a particular PPP/HDLC service on a
tunnel. In case the of MPLS, the Pseudowire Header is the MPLS label
at the bottom of the MPLS label stack.
The Control Word is inserted before the PPP/HDLC service payload. It
may contain a length and sequence number.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. The Control Word</span>
There are four requirements that may need to be satisfied when
transporting layer 2 protocols over an MPLS PSN:
i. Sequentiality may need to be preserved.
ii. Small packets may need to be padded in order to be transmitted
on a medium where the minimum transport unit is larger than the
actual packet size.
iii. Control bits carried in the header of the layer 2 packet may
need to be transported.
<span class="grey">Martini, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
iv. Creating an in-band associated channel for operation and
maintenance communications.
The Control Word defined in this section is based on the Generic PW
MPLS Control Word, as defined in [<a href="./rfc4385" title=""Pseudowire Emulation Edge-to-Edge (PWE3) Control Word for Use over an MPLS PSN"">RFC4385</a>]. It provides the ability
to sequence individual packets on the PW and avoidance of equal-cost
multiple-path load-balancing (ECMP) [<a href="./rfc2992" title=""Analysis of an Equal-Cost Multi-Path Algorithm"">RFC2992</a>] and enables Operations
and Management (OAM) mechanisms, including [<a href="#ref-VCCV" title=""Pseudo Wire Virtual Circuit Connection Verification (VCCV)"">VCCV</a>].
[<a id="ref-RFC4385">RFC4385</a>] states, "If a PW is sensitive to packet mis-ordering and is
being carried over an MPLS PSN that uses the contents of the MPLS
payload to select the ECMP path, it MUST employ a mechanism which
prevents packet mis-ordering." This is necessary because ECMP
implementations may examine the first nibble after the MPLS label
stack to determine whether the content of the labeled packet is IP.
Thus, if the PPP protocol number of a PPP packet carried over the PW
without a control word present begins with 0x4 or 0x6, it could be
mistaken for an IPv4 or IPv6 packet. This could, depending on the
configuration and topology of the MPLS network, lead to a situation
where all packets for a given PW do not follow the same path. This
may increase out-of-order packets on a given PW or cause OAM packets
to follow a different path from that of actual traffic.
The features that the control word provides may not be needed for a
given PPP/HDLC PW. For example, ECMP may not be present or active on
a given MPLS network, and strict packet sequencing may not be
required. If this is the case, the control word provides little
value and is therefore optional. Early PPP/HDLC PW implementations
have been deployed that do not include a control word or the ability
to process one if present. To aid in backwards compatibility, future
implementations MUST be able to send and receive packets without the
control word.
In all cases, the egress PE MUST be aware of whether the ingress PE
will send a control word over a specific PW. This may be achieved by
configuration of the PEs, or by signaling, as defined in [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>].
The control word is defined as follows:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0 0 0 0|0 0 0 0|FRG| Length | Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 4. MPLS PWE3 control word
<span class="grey">Martini, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
In the above diagram, the first 4 bits are set to 0 in indicate a CW
[<a href="./rfc4385" title=""Pseudowire Emulation Edge-to-Edge (PWE3) Control Word for Use over an MPLS PSN"">RFC4385</a>].
The next 4 bits provide space for carrying protocol-specific flags.
These are not used for HDLC/PPP, and they MUST be set to 0 for
transmitting and MUST be ignored upon receipt.
The next 2 bits are defined in [<a href="./rfc4623" title=""Pseudowire Emulation Edge- to-Edge (PWE3) Fragmentation and Reassembly"">RFC4623</a>].
The next 6 bits provide a length field, which is used as follows: If
the packet's length (defined as the length of the layer 2 payload
plus the length of the control word) is less than 64 bytes, the
length field MUST be set to the packet's length. Otherwise, the
length field MUST be set to zero. The value of the length field, if
not zero, is used to remove any padding that may have been added by
the MPLS network. If the control word is used and padding was added
to the packet in transit on the MPLS network, then when the packet
reaches the egress PE the padding MUST be removed before forwarding
the packet.
The next 16 bits provide a sequence number that can be used to
guarantee ordered packet delivery. The processing of the sequence
number field is OPTIONAL.[<a href="./rfc4385" title=""Pseudowire Emulation Edge-to-Edge (PWE3) Control Word for Use over an MPLS PSN"">RFC4385</a>]
The sequence number space is a 16-bit, unsigned circular space. The
sequence number value 0 is used to indicate an unsequenced
packet.[<a href="./rfc4385" title=""Pseudowire Emulation Edge-to-Edge (PWE3) Control Word for Use over an MPLS PSN"">RFC4385</a>]
The procedures described in <a href="./rfc4385#section-4">Section 4 of [RFC4385]</a> MUST be followed
to process the sequence number field.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. MTU Requirements</span>
The network MUST be configured with an MTU that is sufficient to
transport the largest encapsulation packets. When MPLS is used as
the tunneling protocol, for example, this is likely to be 12 or more
bytes greater than the largest packet size. The methodology
described in [<a href="./rfc4623" title=""Pseudowire Emulation Edge- to-Edge (PWE3) Fragmentation and Reassembly"">RFC4623</a>] MAY be used to fragment encapsulated packets
that exceed the PSN MTU. However, if [<a href="./rfc4623" title=""Pseudowire Emulation Edge- to-Edge (PWE3) Fragmentation and Reassembly"">RFC4623</a>] is not used, then if
the ingress router determines that an encapsulated layer 2 PDU
exceeds the MTU of the PSN tunnel through which it must be sent, the
PDU MUST be dropped.
If a packet is received on the attachment circuit that exceeds the
interface MTU subTLV value [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>], it MUST be dropped. It is also
RECOMMENDED that PPP devices be configured to not negotiate PPP MRUs
larger than that of the AC MTU.
<span class="grey">Martini, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Protocol-Specific Details</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. HDLC</span>
HDLC mode provides port-to-port transport of HDLC-encapsulated
traffic. The HDLC PDU is transported in its entirety, including the
HDLC address and control fields, but excluding HDLC flags and the
FCS. Bit/Byte stuffing is undone. If the OPTIONAL control word is
used, then the flag bits in the control word are not used and MUST be
set to 0 for transmitting and MUST be ignored upon receipt.
When the PE detects a status change in the attachment circuit status,
such as an attachment circuit physical link failure, or if the AC is
administratively disabled, the PE MUST send the appropriate PW status
notification message that corresponds to the HDLC AC status. In a
similar manner, the local PW status MUST also be reflected in a
respective PW status notification message, as described in [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>].
The PW of type 0x0006 "HDLC" will be used to transport HDLC packets.
The IANA allocation registry of "Pseudowire Type" is defined in the
IANA allocation document for PWs [<a href="./rfc4446" title=""IANA Allocations for Pseudowire Edge to Edge Emulation (PWE3)"">RFC4446</a>] along with initial
allocated values.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Frame Relay Port Mode</span>
Figure 5 illustrates the concept of frame relay port mode or many-
to-one mapping, which is an OPTIONAL capability.
Figure 5a shows two frame relay devices physically connected with a
frame relay UNI or NNI. Between their two ports, P1 and P2, n frame
relay Virtual Circuits (VCs) are configured.
Figure 5b shows the replacement of the physical frame relay interface
with a pair of PEs and a PW between them. The interface between a
Frame Relay (FR) device and a PE is either an FR UNI or an NNI. All
FR VCs carried over the interface are mapped into one HDLC PW. The
standard frame relay Link Management Interface (LMI) procedures
happen directly between the CEs. Thus with port mode, we have many-
to-one mapping between FR VCs and a PW.
<span class="grey">Martini, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
+------+ +-------+
| FR | | FR |
|device| FR UNI/NNI | device|
| [P1]------------------------[P2] |
| | carrying n FR VCs | |
+------+ +-------+
[Pn]: A port
Figure 5a. FR interface between two FR devices
|<---------------------------->|
| |
+----+ +----+
+------+ | | One PW | | +------+
| | | |==================| | | |
| FR | FR | PE1| carrying n FR VCs| PE2| FR | FR |
|device|----------| | | |---------|device|
| CE1 | UNI/NNI | | | | UNI/NNI | CE2 |
+------+ +----+ +----+ +------+
| |
|<----------------------------------------------->|
n FR VCs
Figure 5b. Pseudowires replacing the FR interface
FR VCs are not visible individually to a PE; there is no
configuration of individual FR VC in a PE. A PE processes the set of
FR VCs assigned to a port as an aggregate.
FR port mode provides transport between two PEs of a complete FR
frame using the same encapsulation as described above for HDLC mode.
Although frame relay port mode shares the same encapsulation as HDLC
mode, a different PW type is allocated in [<a href="./rfc4446" title=""IANA Allocations for Pseudowire Edge to Edge Emulation (PWE3)"">RFC4446</a>]: 0x000F Frame-
Relay Port mode.
All other aspects of this PW type are identical to the HDLC PW
encapsulation described above.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. PPP</span>
PPP mode provides point-to-point transport of PPP-encapsulated
traffic, as specified in [<a href="./rfc1661" title=""The Point-to-Point Protocol (PPP)"">RFC1661</a>]. The PPP PDU is transported in
its entirety, including the protocol field (whether compressed using
Protocol Field Compression or not), but excluding any media-specific
framing information, such as HDLC address and control fields or FCS.
<span class="grey">Martini, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
If the OPTIONAL control word is used, then the flag bits in the
control word are not used and MUST be set to 0 for transmitting and
MUST be ignored upon receipt.
When the PE detects a status change in the attachment circuit (AC)
status, such as an attachment circuit physical link failure, or if
the AC is administratively disabled, the PE MUST send the appropriate
PW status notification message that corresponds to the PPP AC status.
Note that PPP negotiation status is transparent to the PW and MUST
NOT be communicated to the remote MPLS PE. In a similar manner, the
local PW status MUST also be reflected in a respective PW status
notification message, as described in [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>].
A PW of type 0x0007 "PPP" will be used to transport PPP packets.
The IANA allocation registry of "Pseudowire Type" is defined in the
IANA allocation document for PWs [<a href="./rfc4446" title=""IANA Allocations for Pseudowire Edge to Edge Emulation (PWE3)"">RFC4446</a>] along with initial
allocated values.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Using an MPLS Label as the Demultiplexer Field</span>
To use an MPLS label as the demultiplexer field, a 32-bit label stack
entry [<a href="./rfc3032" title=""MPLS Label Stack Encoding"">RFC3032</a>] is simply prepended to the emulated PW encapsulation
and thus appears as the bottom label of an MPLS label stack. This
label may be called the "PW label". The particular emulated PW
identified by a particular label value must be agreed by the ingress
and egress LSRs, either by signaling (e.g., via the methods of
[<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>]) or by configuration. Other fields of the label stack
entry are set as described below.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. MPLS Shim EXP Bit Values</span>
If it is desired to carry Quality of Service information, the Quality
of Service information SHOULD be represented in the EXP field of the
PW label. If more than one MPLS label is imposed by the ingress LSR,
the EXP field of any labels higher in the stack MUST also carry the
same value.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. MPLS Shim S Bit Value</span>
The ingress LSR, PE1, MUST set the S bit of the PW label to a value
of 1 to denote that the PW label is at the bottom of the stack.
<span class="grey">Martini, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Congestion Control</span>
As explained in [<a href="./rfc3985" title=""Pseudo Wire Emulation Edge-to-Edge (PWE3) Architecture"">RFC3985</a>], the PSN carrying the PW may be subject to
congestion, the characteristics of which are dependent upon PSN type,
network architecture, configuration, and loading. During congestion,
the PSN may exhibit packet loss that will impact the service carried
by the PPP/HLDC PW. In addition, since PPP/HDLC PWs carry an
unspecified type of services across the PSN, they cannot behave in a
TCP-friendly manner prescribed by [<a href="./rfc2914" title=""Congestion Control Principles"">RFC2914</a>]. In the presence of
services that reduce transmission rate, PPP/HDLC PWs will thus
consume more than their fair share and SHOULD be halted.
Whenever possible, PPP/HDLC PWs should be run over traffic-engineered
PSNs providing bandwidth allocation and admission control mechanisms.
IntServ-enabled domains providing the Guaranteed Service (GS) or
DiffServ-enabled domains using EF (expedited forwarding) are examples
of traffic-engineered PSNs. Such PSNs will minimize loss and delay
while providing some degree of isolation of the PPP/HDLC PW's effects
from neighboring streams.
The PEs SHOULD monitor for congestion (by using explicit congestion
notification, [<a href="#ref-VCCV" title=""Pseudo Wire Virtual Circuit Connection Verification (VCCV)"">VCCV</a>], or by measuring packet loss) in order to ensure
that the service using the PPP/HDLC PW may be maintained. When
significant congestion is detected, the PPP/HDLC PW SHOULD be
administratively disabled. If the PW has been set up using the
protocol defined in [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>], then procedures specified in [<a href="./rfc4447" title=""Pseudowire Setup and Maintenance Using the Label Distribution Protocol (LDP)"">RFC4447</a>]
for status notification can be used to disable packet transmission on
the ingress PE from the egress PE. The PW may be restarted by manual
intervention, or by automatic means after an appropriate waiting
time.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. IANA Considerations</span>
This document has no new IANA Actions. All necessary IANA actions
have already been included in [<a href="./rfc4446" title=""IANA Allocations for Pseudowire Edge to Edge Emulation (PWE3)"">RFC4446</a>].
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Security Considerations</span>
The PPP and HDLC pseudowire type is subject to all the general
security considerations discussed in [<a href="./rfc3985" title=""Pseudo Wire Emulation Edge-to-Edge (PWE3) Architecture"">RFC3985</a>][RFC4447]. This
document specifies only encapsulations, and not the protocols that
may be used to carry the encapsulated packets across the MPLS
network. Each such protocol may have its own set of security issues,
but those issues are not affected by the encapsulations specified
herein.
<span class="grey">Martini, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Normative References</span>
[<a id="ref-RFC1661">RFC1661</a>] Simpson, W., "The Point-to-Point Protocol (PPP)", STD
51, <a href="./rfc1661">RFC 1661</a>, July 1994.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC3032">RFC3032</a>] Rosen, E., Tappan, D., Fedorkow, G., Rekhter, Y.,
Farinacci, D., Li, T., and A. Conta, "MPLS Label Stack
Encoding", <a href="./rfc3032">RFC 3032</a>, January 2001.
[<a id="ref-RFC4385">RFC4385</a>] Bryant, S., Swallow, G., Martini, L., and D. McPherson,
"Pseudowire Emulation Edge-to-Edge (PWE3) Control Word
for Use over an MPLS PSN", <a href="./rfc4385">RFC 4385</a>, February 2006.
[<a id="ref-RFC4446">RFC4446</a>] Martini, L., "IANA Allocations for Pseudowire Edge to
Edge Emulation (PWE3)", <a href="https://www.rfc-editor.org/bcp/bcp116">BCP 116</a>, <a href="./rfc4446">RFC 4446</a>, April 2006.
[<a id="ref-RFC4447">RFC4447</a>] Martini, L., Rosen, E., El-Aawar, N., Smith, T., and G.
Heron, "Pseudowire Setup and Maintenance Using the Label
Distribution Protocol (LDP)", <a href="./rfc4447">RFC 4447</a>, April 2006.
[<a id="ref-RFC4619">RFC4619</a>] Martini, L., Ed., Kawa, C., Ed., and A. Malis, Ed.,
"Encapsulation Methods for Transport of Frame Relay over
Multiprotocol Label Switching (MPLS) Networks", <a href="./rfc4619">RFC</a>
<a href="./rfc4619">4619</a>, September 2006.
[<a id="ref-RFC4623">RFC4623</a>] Malis, A. and M. Townsley, "Pseudowire Emulation Edge-
to-Edge (PWE3) Fragmentation and Reassembly", <a href="./rfc4623">RFC 4623</a>,
August 2006.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Informative References</span>
[<a id="ref-Q922">Q922</a>] ITU-T Recommendation Q.922 Specification for Frame Mode
Basic call control, ITU Geneva 1995.
[<a id="ref-Q933">Q933</a>] ITU-T Recommendation Q.933 Specification for Frame Mode
Basic call control, ITU Geneva 2003.
[<a id="ref-RFC2914">RFC2914</a>] Floyd, S., "Congestion Control Principles", <a href="https://www.rfc-editor.org/bcp/bcp41">BCP 41</a>, <a href="./rfc2914">RFC</a>
<a href="./rfc2914">2914</a>, September 2000.
[<a id="ref-RFC2992">RFC2992</a>] Hopps, C., "Analysis of an Equal-Cost Multi-Path
Algorithm", <a href="./rfc2992">RFC 2992</a>, November 2000.
[<a id="ref-RFC3985">RFC3985</a>] Bryant, S., Ed. and P. Pate, Ed., "Pseudo Wire Emulation
Edge-to-Edge (PWE3) Architecture", <a href="./rfc3985">RFC 3985</a>, March 2005.
<span class="grey">Martini, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
[<a id="ref-VCCV">VCCV</a>] Nadeau, T., et al., "Pseudo Wire Virtual Circuit
Connection Verification (VCCV)", Work in Progress,
October 2005.
Contributing Author Information
Yeongil Seo
463-1 KT Technology Lab
Jeonmin-dong Yusung-gu
Daegeon, Korea
EMail: syi1@kt.co.kr
Toby Smith
Laurel Networks, Inc.
Omega Corporate Center
1300 Omega Drive
Pittsburgh, PA 15205
EMail: tob@laurelnetworks.com
<span class="grey">Martini, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
Authors' Addresses
Luca Martini
Cisco Systems, Inc.
9155 East Nichols Avenue, Suite 400
Englewood, CO, 80112
EMail: lmartini@cisco.com
Giles Heron
Tellabs
Abbey Place
24-28 Easton Street
High Wycombe
Bucks
HP11 1NT
UK
EMail: giles.heron@tellabs.com
Eric C. Rosen
Cisco Systems, Inc.
1414 Massachusetts Avenue
Boxborough, MA 01719
EMail: erosen@cisco.com
Andrew G. Malis
Tellabs
1415 West Diehl Road
Naperville, IL 60563
EMail: Andy.Malis@tellabs.com
<span class="grey">Martini, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc4618">RFC 4618</a> Transport of PPP/HDLC over MPLS September 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM 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.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Martini, et al. Standards Track [Page 16]
</pre>
|