rfc-3140

Per Hop Behavior Identification Codes

D. Black, S. Brim, B. Carpenter, F. Le Faucheur
date2001-06 streamIETF areatsv wgdiffserv statusPROPOSED STANDARD pages8 canonicalhttps://www.rfc-editor.org/rfc/rfc3140 doi10.17487/RFC3140
This document defines a 16 bit encoding mechanism for the identification of differentiated services Per Hop Behaviors in protocol messages. It replaces RFC 2836. [STANDARDS-TRACK]

obsoletes

Extracted elements (15)

design-rationale §2

Sets of PHBs that do not constitute a PHB Scheduling Class can still be identified, but must use more than one PHBID rather than a single set-encoding, because the single-PHBID set encoding carries the semantic guarantee of no reordering.

diffserv, qos

design-rationale §1

There are only 64 possible DSCP values but no limit on the number of PHBs, and network operators may choose local DSCP-to-PHB mappings that differ from standardized recommendations. A dedicated 16-bit identifier space is therefore needed to unambiguously name PHBs in cross-domain signaling messages (e.g., bandwidth broker communication, MPLS diffserv support).

diffserv, qos, mpls

design-rationale §Changes from RFC 2836

This document replaces RFC 2836 because RFC 2836 omitted consideration of the Class Selector Codepoints; section 3 of RFC 3140 fills that gap, and a clarification was added for PHB Scheduling Classes.

diffserv, qos

interoperability-note §3

Case 1 PHBIDs constructed from Class Selector Codepoints enable consistent operation with networks using IP Precedence (RFC 1812), since Class Selector Codepoints correspond to IP Precedence values; different networks will map these differently so recipients must apply their own local policy.

diffserv, qos, ip

normative-requirement §3 SHOULD

Any specified use of PHBIDs SHOULD allow the use of the eight Case 1 PHBIDs constructed from the Class Selector Codepoints.

diffserv, qos

normative-requirement §2 MUST

For Case 1 encoding, the recommended DSCP value MUST be used even if the network has chosen a different local DSCP-to-PHB mapping.

diffserv, qos

normative-requirement §1 MUST

This binary encoding MUST be used when identification of PHBs or sets of PHBs is required in protocol messages.

diffserv, qos

normative-requirement §2 MUST NOT

When a single PHBID identifies a set of PHBs (bit 14 set to 1), that set MUST constitute a PHB Scheduling Class, meaning use of PHBs from the set MUST NOT cause intra-microflow traffic reordering when different PHBs from the set are applied to traffic in the same microflow.

diffserv, qos

protocol-element §2

A PHB Scheduling Class is a set of PHBs that may share a single PHBID (bit 14=1) because using any combination of them on the same microflow will not cause reordering. The AF1x PHBs (AF11, AF12, AF13) are the canonical example.

diffserv, qos

protocol-element §3

The eight Class Selector Codepoints of the form 'xxx000' (RFC 2474) can be encoded as Case 1 PHBIDs; codepoint 000000 signals the Default PHB, while the remaining seven may be used to signal PHBs according to the recipient network's local mapping, including IP Precedence mappings in non-diffserv domains.

diffserv, qos, ip

registry §4

IANA is requested to create a new assignment registry for 'Per-Hop Behavior Identification Codes' with values 0–4095 decimal. Assignments require: assignee identity, a brief distinguishing description of the PHB or PHB set, and a reference to a stable document.

registry, diffserv, qos

security-consideration §5 SHOULD NOT

Merely signalling a PHBID SHOULD NOT be sufficient to grant the sender access to a PHB it could not otherwise use. Receivers SHOULD treat received PHBIDs as requests for service and apply local policy to grant or deny them.

security, diffserv

security-consideration §5

The encoding itself raises no security issues, but modifying a PHB identification code may constitute theft or denial of service; protocols using this encoding must be adequately protected.

security, diffserv

wire-format §2

Case 2 (experimental or local-use PHBs): an arbitrary 12-bit PHB identification code assigned by IANA is placed left-justified in bits 0–11; bit 15 is set to 1, bit 14 is 0 for a single PHB or 1 for a set, and bits 12–13 are reserved (zero).

diffserv, qos, registry

wire-format §2

PHBs and sets of PHBs are encoded in an unsigned 16-bit binary field. Case 1 (standards-defined PHBs): the recommended DSCP value is placed left-justified in bits 0–5, bits 6–13 and 15 set to zero, bit 14 set to 1 if encoding a set of PHBs.

diffserv, qos