IP Flow Information Export S.K. Kashima
Internet-Draft NTT
Intended status: Standards Track A.K. Kobayashi, Ed.
Expires: June 27, 2014 NTT East
P.A. Aitken
Cisco Systems, Inc.
December 24, 2013

Information Elements for Data Link Layer Traffic Measurement
draft-ietf-ipfix-data-link-layer-monitoring-08

Abstract

This document describes Information Elements related to the data link layer. They are used by the IP Flow Information Export (IPFIX) protocol for encoding measured data link layer traffic information.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.

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."

This Internet-Draft will expire on June 27, 2014.

Copyright Notice

Copyright (c) 2013 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.


Table of Contents

1. Introduction

Ethernet [IEEE802.1D] and VLAN (Virtual LAN) technologies had been used only in Local Area Networks. Recently, they have been used in Wide Area Networks, e.g., L2-VPN services. Accordingly, carrier networks using VLAN technologies have been enhanced to Provider Bridged Network and Provider Backbone Bridged Networks [IEEE802.1Q]. And, Ethernet in data centers has also been enhanced for server virtualization and I/O consolidation.

While these innovations provide flexibility, scalability, and mobility to an existing network architecture, they increase the complexity of traffic measurement due to the existence of various Ethernet header formats. To cope with this, a more sophisticated method of traffic measurement is required.

IPFIX and PSAMP help to resolve these problems. However, the PSAMP Information Model [RFC5477] and the IPFIX Information Model [RFC7011] don't yet contain enough Information Elements related to data link layer, e.g., Ethernet header forms. This document describes existing and new Information Elements related to data link layers that enable a more sophisticated traffic measurement method.

Note that this document does not update [RFC5477] or [RFC7011] because IANA's IPFIX registry [IANA-IPFIX] is the ultimate Information Element reference, per section 1 of [RFC7012].

1.1. Conventions Used in This Document

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 RFC 2119 [RFC2119].

2. Extended Ethernet Technology

2.1. Wide-Area Ethernet Technology Summary

Provider Bridge and Provider Backbone Bridge [IEEE802.1Q], which are standards for Wide-Area Ethernet, are described below.

The Provider Backbone Bridge technologies have enhanced a wide-area Ethernet service from a flat network to a hierarchical network consisting of Provider Bridge Network and Provider Backbone Bridge Network.

Frame formats used in Wide-Area Ethernet are shown in Appendix A.

2.2. Virtual Ethernet Technology Summary

There have been several challenges in the existing virtual switches environment in a data center. One is the lack of network management visibility: limited features on virtual switches makes it difficult to monitor traffic among virtual machines (VMs). Another is the lack of management scalability and flexibility: increasing the number of VMs for multi-tenant causes an increase of the number of virtual switches and of the number of the traffic control policies, which reaches the limitations of network management scalability and flexibility.

In this situation, the IEEE 802.1 Working Group is standardizing virtual bridging technologies as Edge Virtual Bridge (EVB) including two kinds of Edge Relay (ER): Virtual Edge Bridge (VEB) and Virtual Edge Port Aggregator (VEPA) [IEEE802.1Qbg]. The VEB is a bridge that provides a bridging among multiple VMs and the external bridging environment. The VEPA is a bridge-like device on a host that forwards all internal traffic to the adjacent EVB bridge and then distributes any traffic received from the adjacent EVB bridge to VMs. The VEPA makes all the VM-to-VM traffic visible to EVB bridge so that the traffic can be monitored and so the EVB bridge can apply filtering to the traffic.

To improve flexibility, a virtual link between a host system and EVB bridge is standardized as S-channel. S-channel allows a bridge to treat the traffic in the virtual link as if it comes in on a separate port. For example, in the host, an S-channel may be attached to a VEB or a VEPA or directly an internal port in order to apply each port-based filtering rules to the traffic. S-channel over the link between a host and its adjacent bridge uses S-TAG [IEEE802.1Q]. When S-channel is in use, frames on the link carry an S-TAG to identify the S-channel.

On the other hand, Bridge Port Extension emulates single Extended Bridge from multiple physical switches and virtual switches, and simplifies network management. Also, it solves the lack of network management visibility by forwarding all traffic into a central Controlling Bridge using E-channel. E-channel over the link between a Bridge Port extender and a Controlling Bridge uses E-TAG defined in [IEEE802.1BR].

Traffic monitoring over S-channel and E-channel is required in order to get visibility of VM-to-VM traffic, and visibility of each channel's traffic on a virtual link.

Frame formats with E-TAG used in E-channel and S-TAG used in S-channel are shown in Appendix A. Though these frames carry special tags while on the link, those tags identify a virtual port (or for multicast in the downstream direction, a set of virtual ports) to which they are destined. These tag values only have local meaning and the flow would be reported as sent and arriving on the corresponding virtual ports. Therefore, IPFIX does not need to monitor data based on these tags.

3. Information Elements Related to Data Link Layer

The following Information Elements whose ElementId are from 312 to TBD03 are necessary for enabling the IPFIX and PSAMP traffic measurement for data link layer, which is not limited to Ethernet because the method can be applied to other data link protocols as well.

The following Information Elements whose ElementId are from TBD04 to TBD08 are necessary for enabling the IPFIX and PSAMP traffic measurement for [IEEE802.1Q].

The following Information Elements whose ElementId are from TBD09 to TBD22 are octet counter or packet length for layer 2, and are necessary for enabling the IPFIX and PSAMP traffic measurement for data link layer.

+-----+------------------------------------+
| ID  | Name                               |
+-----+------------------------------------+
| 312 | dataLinkFrameSize                  |
| 315 | dataLinkFrameSection               |
|TBD01| dataLinkFrameType                  |
|TBD02| sectionOffset                      |
|TBD03| sectionExportedOctets              |
|TBD04| dot1qServiceInstanceTag            |
|TBD05| dot1qServiceInstanceId             |
|TBD06| dot1qServiceInstancePriority       |
|TBD07| dot1qCustomerSourceMacAddress      |
|TBD08| dot1qCustomerDestinationMacAddress |
|TBD09| l2OctetDeltaCount                  |
|TBD10| postL2OctetDeltaCount              |
|TBD11| postMCastL2OctetDeltaCount         |
|TBD12| l2OctetTotalCount                  |
|TBD13| postL2OctetTotalCount              |
|TBD14| postMCastL2OctetTotalCount         |
|TBD15| minimumL2TotalLength               |
|TBD16| maximumL2TotalLength               |
|TBD17| droppedL2OctetDeltaCount           |
|TBD18| droppedL2OctetTotalCount           |
|TBD19| ignoredL2OctetTotalCount           |
|TBD20| notSentL2OctetTotalCount           |
|TBD21| l2OctetDeltaSumOfSquares           |
|TBD22| l2OctetTotalSumOfSquares           |
+-----+------------------------------------+

Table 1: Information Elements related to data link layer

3.1. Existing Information Elements

Some existing Information Elements are required for data link layer export. Their details are reproduced here from IANA's IPFIX registry [IANA-IPFIX], except for additions as marked *.

Section 3.1.1 introduces the missing Data Type Semantics for the dataLinkFrameSize Information Element which is held to be an interoperable change per section 5.2 subsection 4 of [RFC7013].

Section 3.1.2 extends the definition of the dataLinkFrameSection Information Element with reference to the new sectionOffset Information Element, which is also an interoperable change per section 5.2 subsection 4 of [RFC7013].

Therefore these changes introduce no backwards compatibility issues.

Per section 5.2 of [RFC7013], for each of these changes, [RFCEDITOR:thisRFC] is to be appended to the requestor in IANA's IPFIX registry [IANA-IPFIX], the Information Elelement's revision number is to be incremented by one, and the Information Element's revision date column is to be updated.

3.1.1. dataLinkFrameSize

Description:

Abstract Data Type: unsigned16

*Data Type Semantics: quantity*

ElementId: 312

Status: current

3.1.2. dataLinkFrameSection

Description:

Abstract Data Type: octetArray

ElementId: 315

Status: current

3.2. New Information Elements

The following new Information Elements are added for data link layer monitoring.

In IANA's IPFIX registry [IANA-IPFIX], the Requester is to be set to [RFCEDITOR:thisRFC], the Information Element's Revision is to be set to zero, and the Information Element's Date set to the date upon which the new Information Elements are added to the registry. All other columns which are not explicitly mentioned below (eg, Units, Range, References) are not applicable, and are to be left blank since the registry does not explicitly record "not applicable".

3.2.1. dataLinkFrameType

Description:

Abstract Data Type: unsigned16

Data Type Semantics: flags

ElementId: TBD01

Status: current

3.2.2. sectionOffset

Description:

Abstract Data Type: unsigned16

Data Type Semantics: quantity

ElementId: TBD02

Status: current

3.2.3. sectionExportedOctets

Description:

Abstract Data Type: unsigned16

Data Type Semantics: quantity

ElementId: TBD03

Status: current

3.2.4. dot1qServiceInstanceTag

Description:

Abstract Data Type: octetArray

Data Type Semantics: identifier

ElementId: TBD04

Status: current

3.2.5. dot1qServiceInstanceId

Description:

Abstract Data Type: unsigned32

Data Type Semantics: identifier

ElementId: TBD05

Status: current

3.2.6. dot1qServiceInstancePriority

Description:

Abstract Data Type: unsigned8

Data Type Semantics: identifier

ElementId: TBD06

Status: current

3.2.7. dot1qCustomerSourceMacAddress

Description:

Abstract Data Type: macAddress

Data Type Semantics: identifier

ElementId: TBD07

Status: current

3.2.8. dot1qCustomerDestinationMacAddress

Description:

Abstract Data Type: macAddress

Data Type Semantics: identifier

ElementId: TBD08

Status: current

3.2.9. l2OctetDeltaCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: deltaCounter

ElementId: TBD09

Status: current

Units: octets

3.2.10. postL2OctetDeltaCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: deltaCounter

ElementId: TBD10

Status: current

Units: octets

3.2.11. postMCastL2OctetDeltaCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: deltaCounter

ElementId: TBD11

Status: current

Units: octets

3.2.12. l2OctetTotalCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD12

Status: current

Units: octets

3.2.13. postL2OctetTotalCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD13

Status: current

Units: octets

3.2.14. postMCastL2OctetTotalCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD14

Status: current

Units: octets

3.2.15. minimumL2TotalLength

Description:

Abstract Data Type: unsigned64

ElementId: TBD15

Status: current

Units: octets

3.2.16. maximumL2TotalLength

Description:

Abstract Data Type: unsigned64

ElementId: TBD16

Status: current

Units: octets

3.2.17. droppedL2OctetDeltaCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: deltaCounter

ElementId: TBD17

Status: current

Units: octets

3.2.18. droppedL2OctetTotalCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD18

Status: current

Units: octets

3.2.19. ignoredL2OctetTotalCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD19

Status: current

Units: octets

3.2.20. notSentL2OctetTotalCount

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD20

Status: current

Units: octets

3.2.21. l2OctetDeltaSumOfSquares

Description:

Abstract Data Type: unsigned64

Data Type Semantics: deltaCounter

ElementId: TBD21

Status: current

Units: octets

3.2.22. l2OctetTotalSumOfSquares

Description:

Abstract Data Type: unsigned64

Data Type Semantics: totalCounter

ElementId: TBD22

Status: current

Units: octets

4. Modification of Existing Information Elements Related to Packet Section

The new Information Elements related to packet section (ie, sectionOffset and sectionExportedOctets) can be applied to not only dataLinkFrameSection but also all kinds of packet section (ie, ipHeaderPacketSection, ipPayloadPacketSection, mplsLabelStackSection, and mplsPayloadPacketSection defined in [RFC5477]). Therefore existing Information Elements Descriptions should be modified as follows:

4.1. ipHeaderPacketSection

This Information Element is defined in [RFC5477]. The description is updated from [RFC5477].

Description:

Abstract Data Type: octetArray

ElementId: 313

Status: current

4.2. ipPayloadPacketSection

This Information Element is defined in [RFC5477]. The description is updated from [RFC5477].

Description:

Abstract Data Type: octetArray

ElementId: 314

Status: current

4.3. mplsLabelStackSection

This Information Element is defined in [RFC5477]. The description is updated from [RFC5477].

Description:

Abstract Data Type: octetArray

ElementId: 316

Status: current

4.4. mplsPayloadPacketSection

This Information Element is defined in [RFC5477]. The description is updated from [RFC5477].

Description:

Abstract Data Type: octetArray

ElementId: 317

Status: current

5. Modification of Existing Information Elements Related to VLAN Tag

The traffic measurement using IPFIX and PSAMP for a Provider Backbone Bridged Network requires the Information Elements related to Backbone Service Instance Tag (I-TAG) and Backbone VLAN Tag (B-TAG). The set of Information Elements related to I-TAG is added in section 3, because I-TAG structure and semantics are different from that of Service VLAN Tag (S-TAG) and Customer VLAN Tag (C-TAG). The set of Information Elements related to B-TAG reuses the existing Information Elements, because B-TAG structure and semantics are identical to that of C-TAG and S-TAG. This section modifies existing Descriptions and Reference related to C-TAG and S-TAG as follows:

5.1. dot1qVlanId

Description:

Abstract Data Type: unsigned16

Data Type Semantics: identifier

ElementId: 243

Status: current

Reference:

(1)
[IEEE802.1Q]
(2)
[IEEE802.1Qbg]

5.2. dot1qPriority

Description:

Abstract Data Type: unsigned8

Data Type Semantics: identifier

ElementId: 244

Status: current

Reference:

(1)
[IEEE802.1Q]

5.3. dot1qCustomerVlanId

Description:

Abstract Data Type: unsigned16

Data Type Semantics: identifier

ElementId: 245

Status: current

Reference:

(1)
[IEEE802.1Q]

5.4. dot1qCustomerPriority

Description:

Abstract Data Type: unsigned8

Data Type Semantics: identifier

ElementId: 246

Status: current

Reference:

(1)
[IEEE802.1Q]

6. The relationship between Ethernet header fields and Information Elements

The following figures shows summary of various Ethernet header fields and the Informational Elements which would be used to represent each of the fields.


 <-- 6 --> <-- 6 --> <-- 4 --> <---- 2 ---->
+---------+---------+---------+-------------+
|         |         |         |             |
|  C-DA   |  C-SA   |  C-TAG  | Length/Type |
|    a    |    b    |    c    |      d      |
+---------+---------+---------+-------------+

a.(Information Element)  destinationMacAddress (80)
b.(Information Element)  sourceMacAddress (56)
c.(Information Elements) dot1qVlanId (243), dot1qPriority (244)
d.(Information Element)  ethernetType (256)

Figure 1: Customer tagged frame header fields


 <-- 6 --> <-- 6 --> <-- 4 --> <-- 4 --> <---- 2 ---->
+---------+---------+---------+---------+-------------+
|         |         |         |         |             |
|  C-DA   |  C-SA   |  S-TAG  |  C-TAG  | Length/Type |
|    a    |    b    |    c    |    d    |      e      |
+---------+---------+---------+---------+-------------+

a.(Information Element)  destinationMacAddress (80)
b.(Information Element)  sourceMacAddress (56)
c.(Information Elements) dot1qVlanId (243), dot1qPriority (244)
d.(Information Elements) dot1qCustomerVlanId (245),
                         dot1qCustomerPriority (246)
e.(Information Element)  ethernetType (256)

Figure 2: Service tagged frame header fields


 <-- 6 --> <-- 6 --> <-- 4 --> <--- 16 ---> <-- 4 --> <---- 2 ---->
+---------+---------+---------+------------+---------+-------------+
|         |         |         |            |         |             |
|  B-DA   |  B-SA   |  B-TAG  |   I-TAG    |  C-TAG  | Length/Type |
|    a    |    b    |    c    |     d      |    e    |      f      |
+---------+---------+---------+------------+---------+-------------+

a.(Information Element)  destinationMacAddress (80)
b.(Information Element)  sourceMacAddress (56)
c.(Information Elements) dot1qVlanId (243, dot1qPriority (244)
d.(Information Elements) dot1qServiceInstanceTag (TBD04), or 
                         a set of dot1qServiceInstanceId (TBD05),
                         dot1qServiceInstancePriority (TBD06),
                         dot1qCustomerSourceMacAddress (TBD07)
                         dot1qCustomerDestinationMacAddress (TBD08),
e.(Information Elements) dot1qCustomerVlanId (245),  
                         dot1qCustomerPriority (246)
f.(Information Element)  ethernetType (256)

Figure 3: Backbone VLAN tagged frame header fields

7. Security Considerations

Reporting more granular data may increase the risk of DoS attacks against a Collector. Protection against DoS Attacks is discussed in section 11.4 of [RFC7011].

The recommendations in this document do not otherwise introduce any additional security issues beyond those already mentioned in [RFC7011] and [RFC5477].

8. IANA Considerations

RFCEDITOR: please assign TBDnn throughout this document.

This document requests that existing IPFIX Information Elements [IANA-IPFIX] are modified as indicated in sections 3.1, 4, and 5 above.

Per section 5.2 of [RFC7013], for each of these changes, [RFCEDITOR:thisRFC] is to be appended to the requestor in IANA's IPFIX registry [IANA-IPFIX], the Information Elelement's revision number is to be incremented by one, and the Information Element's revision date column is to be updated.

This document requests that new IPFIX Information Elements [IANA-IPFIX] are allocated as shown in section 3.2 above.

9. Acknowledgments

Thanks to Brian Trammell and the IPFIX working group participants who contributed to mailing-list discussions throughout the development of this document, and especially to Pat Thaler for her help with the IEEE 802 aspects of this work.

10. References

10.1. Normative References

[RFC0791] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC2460] Deering, S.E. and R.M. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", RFC 2460, December 1998.
[RFC3031] Rosen, E., Viswanathan, A. and R. Callon, "Multiprotocol Label Switching Architecture", RFC 3031, January 2001.
[RFC3032] Rosen, E., Tappan, D., Fedorkow, G., Rekhter, Y., Farinacci, D., Li, T. and A. Conta, "MPLS Label Stack Encoding", RFC 3032, January 2001.
[RFC7011] Claise, B., Trammell, B. and P. Aitken, "Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information", STD 77, RFC 7011, September 2013.
[RFC5477] Dietz, T., Claise, B., Aitken, P., Dressler, F. and G. Carle, "Information Model for Packet Sampling Exports", RFC 5477, March 2009.
[RFC6313] Claise, B., Dhandapani, G., Aitken, P. and S. Yates, "Export of Structured Data in IP Flow Information Export (IPFIX)", RFC 6313, July 2011.
[IEEE802.1Q] , , "IEEE Standard for Local and metropolitan area networks: Media Access Control (MAC) Bridges and Virtual Bridged Local Area Networks ", IEEE Std 802.1Q-2011, August 2011.
[IEEE802.1BR] , , "IEEE Standard for Local and metropolitan area networks: Virtual Bridged Local Area Networks: Bridge Port Extension ", IEEE Std 802.1BR-2012, July 2012.
[IEEE802.1Qbg] , , "IEEE Standard for Local and metropolitan area networks: Media Access Control (MAC) Bridges and Virtual Bridged Local Area Networks: Amendment 21: Edge Virtual Bridging ", IEEE Std 802.1Qbg-2012, July 2012.
[IEEE802.3] , , "IEEE Standard for Ethernet ", IEEE Std 802.3-2012, December 2012.
[IEEE802.11] , , "IEEE Standard for Information technology. Telecommunications and information exchange between systems Local and metropolitan area networks. Specific requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications ", IEEE Std 802.11-2012, March 2012.

10.2. Informative References

[RFC7012] Claise, B. and B. Trammell, "Information Model for IP Flow Information Export (IPFIX)", RFC 7012, September 2013.
[RFC7013] Trammell, B. and B. Claise, "Guidelines for Authors and Reviewers of IP Flow Information Export (IPFIX) Information Elements", BCP 184, RFC 7013, September 2013.
[RFC2804] IABIESG, "IETF Policy on Wiretapping", RFC 2804, May 2000.
[IEEE802.1D] , , "IEEE Standard for Local and metropolitan area networks: Media Access Control (MAC) Bridges", IEEE Std 802.1D-2004, June 2004.
[ISO_IEC.7498-1_1994] , , "Information technology -- Open Systems Interconnection -- Basic Reference Model: The Basic Mode", ISO Standard 7498-1:1994, June 1996.
[IANA-IPFIX] , , "IANA IPFIX Information Element Registry", http://www.iana.org/assignments/ipfix/ipfix.xhtml.

Appendix A. Tagged Frame Formats


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-1: Untagged frame format


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-2: C-TAG tagging frame format


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-3: S-TAG tagging frame format in Provider Bridged Networks


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-4: S-TAG and C-TAG tagging frame format in Provider Bridged Networks


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              B-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              B-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        B-TAG TPID=0x88a8      |B-PCP|D|         B-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        I-TAG TPID=0x88e7      |I-PCP|D|U| Res |     I-SID     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             I-SID             |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-DA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-SA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |          Length/Type          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-5: B-TAG and I-TAG tagging frame format in Provider Backbone Bridged Networks


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              B-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              B-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        B-TAG TPID=0x88a8      |B-PCP|D|         B-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        I-TAG TPID=0x88e7      |I-PCP|D|U| Res |     I-SID     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             I-SID             |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-DA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-SA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        C-TAG TCI=0x8100       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C-PCP|C|         C-VID         |          Length/Type          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-6: B-TAG, I-TAG and C-TAG tagging frame format in Provider Backbone Bridged Networks


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-7: S-TAG tagging frame format for S-channel over the link between an end station and its adjacent bridge

Note that this frame format is identical to the format in Figure A-3.


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        S-TAG TPID=0x88a8      |S-PCP|D|         S-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-8: S-TAG and C-TAG tagging frame format over the link between an end station and its adjacent bridge

This frame format is identical to the format in Figure A-4.


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        E-TAG TPID=0x893F      |E-PCP|D|   Ingress_E-CID_base  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Res|GRP|      E-CID_base       |Ingre_E-CID_ext|    E-CID_ext  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-9: E-TAG tagging frame format over the link between a Controlling Bridge and a Bridge Port Extender


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              C-DA                             |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                              C-SA                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        E-TAG TPID=0x893F      |E-PCP|D|   Ingress_E-CID_base  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Res|GRP|      E-CID_base       |Ingre_E-CID_ext|    E-CID_ext  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        C-TAG TPID=0x8100      |C-PCP|C|         C-VID         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Length/Type          |                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
~                         Customer Data                         ~
~                                                               ~
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure A-10: E-TAG and C-TAG tagging frame format over the link between a Controlling Bridge and a Bridge Port Extender

Appendix B. Template Formats Example


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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        Set ID (0x0002)        |             Length            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      Template ID (0x0103)     |      Field Count (0x0008)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   ingressInterface (0x000A)   |     Field Length (0x0004)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   egressInterface (0x000E)    |     Field Length (0x0004)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|observationTimeSeconds (0x0142)|     Field Length (0x0008)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   dataLinkFrameSize (0x0138)  |     Field Length (0x0002)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| dataLinkFrameSection (0x013B) |     Field Length (0xFF40)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   dataLinkFrameType (0x015B)  |     Field Length (0x0002)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     sectionOffset (0x015C)    |     Field Length (0x0002)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|sectionObservedOctets (0x015D) |     Field Length (0x0002)     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure B-1: Template Format Example

Authors' Addresses

Shingo Kashima Nippon Telegraph and Telephone Corporation Midori-Cho 3-9-11 Musashino-shi, Tokyo 180-8585 Japan Phone: +81 422 59 3894 EMail: kashima@nttv6.net
Atsushi Kobayashi Nippon Telegraph and Telephone East Corporation 3-19-2 Nishi-shinjuku Shinjuku-ku, Tokyo 163-8019 Japan Phone: +81 3 5359 4351 EMail: akoba@nttv6.net
Paul Aitken Cisco Systems, Inc. 96 Commercial Quay Commercial Street, Edinburgh EH6 6LX United Kingdom Phone: +44 131 561 3616 EMail: paitken@cisco.com