Aller au contenu principal

4. Dissemination of IPv4 Flow Specification Information (Diffusion d'informations IPv4 Flow Specification)

4. Dissemination of IPv4 Flow Specification Information (Diffusion d'informations IPv4 Flow Specification)

Ce document définit un type NLRI (Network Layer Reachability Information) de Flow Specification pouvant contenir plusieurs composants, tels que préfixe de destination, préfixe source, protocole, ports, etc. (voir Section 4.2 ci-dessous).

Ces informations NLRI sont encodées à l'aide des attributs MP_REACH_NLRI et MP_UNREACH_NLRI définis dans [RFC4760]. Lors de l'annonce de Flow Specifications, la longueur de l'adresse réseau du prochain saut (Length of the Next-Hop Network Address) DOIT être fixée à 0. Le champ Network Address of the Next-Hop DOIT être ignoré.

Le champ NLRI de MP_REACH_NLRI et MP_UNREACH_NLRI est encodé comme un ou plusieurs tuples de la forme <length, NLRI value>. Il se compose d'un champ de longueur sur 1 ou 2 octets et d'une valeur NLRI de longueur variable. La longueur est exprimée en octets.

                 +-------------------------------+
| length (0xnn or 0xfnnn) |
+-------------------------------+
| NLRI value (variable) |
+-------------------------------+

Figure 1: Flow Specification NLRI for IPv4

Les implémentations souhaitant échanger des Flow Specifications DOIVENT utiliser la fonctionnalité BGP Capability Advertisement pour échanger le Multiprotocol Extension Capability Code (Code 1) défini dans [RFC4760]. La paire (AFI, SAFI) portée dans la Multiprotocol Extension Capability DOIT être (AFI=1, SAFI=133) pour IPv4 Flow Specification, et (AFI=1, SAFI=134) pour VPNv4 Flow Specification.