draft-ietf-radext-ip-port-radius-ext-08.txt   draft-ietf-radext-ip-port-radius-ext-09.txt 
Network Working Group D. Cheng Network Working Group D. Cheng
Internet-Draft Huawei Internet-Draft Huawei
Intended status: Standards Track J. Korhonen Intended status: Standards Track J. Korhonen
Expires: September 15, 2016 Broadcom Corporation Expires: September 18, 2016 Broadcom Corporation
M. Boucadair M. Boucadair
Orange Orange
S. Sivakumar S. Sivakumar
Cisco Systems Cisco Systems
March 14, 2016 March 17, 2016
RADIUS Extensions for IP Port Configuration and Reporting RADIUS Extensions for IP Port Configuration and Reporting
draft-ietf-radext-ip-port-radius-ext-08 draft-ietf-radext-ip-port-radius-ext-09
Abstract Abstract
This document defines three new RADIUS attributes. For devices that This document defines three new RADIUS attributes. For devices that
implementing IP port ranges, these attributes are used to communicate implementing IP port ranges, these attributes are used to communicate
with a RADIUS server in order to configure and report TCP/UDP ports with a RADIUS server in order to configure and report TCP/UDP ports
and ICMP identifiers, as well as mapping behavior for specific hosts. and ICMP identifiers, as well as mapping behavior for specific hosts.
This mechanism can be used in various deployment scenarios such as This mechanism can be used in various deployment scenarios such as
Carrier-Grade NAT, IPv4/IPv6 translators, Provider WLAN Gateway, etc. Carrier-Grade NAT, IPv4/IPv6 translators, Provider WLAN Gateway, etc.
skipping to change at page 1, line 46 skipping to change at page 1, line 46
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/. Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 15, 2016. This Internet-Draft will expire on September 18, 2016.
Copyright Notice Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 2, line 35 skipping to change at page 2, line 35
3.1. Extended Attributes for IP Ports . . . . . . . . . . . . 6 3.1. Extended Attributes for IP Ports . . . . . . . . . . . . 6
3.1.1. IP-Port-Limit-Info Attribute . . . . . . . . . . . . 6 3.1.1. IP-Port-Limit-Info Attribute . . . . . . . . . . . . 6
3.1.2. IP-Port-Range Attribute . . . . . . . . . . . . . . . 8 3.1.2. IP-Port-Range Attribute . . . . . . . . . . . . . . . 8
3.1.3. IP-Port-Forwarding-Map Attribute . . . . . . . . . . 10 3.1.3. IP-Port-Forwarding-Map Attribute . . . . . . . . . . 10
3.2. RADIUS TLVs for IP Ports . . . . . . . . . . . . . . . . 13 3.2. RADIUS TLVs for IP Ports . . . . . . . . . . . . . . . . 13
3.2.1. IP-Port-Type TLV . . . . . . . . . . . . . . . . . . 13 3.2.1. IP-Port-Type TLV . . . . . . . . . . . . . . . . . . 13
3.2.2. IP-Port-Limit TLV . . . . . . . . . . . . . . . . . . 14 3.2.2. IP-Port-Limit TLV . . . . . . . . . . . . . . . . . . 14
3.2.3. IP-Port-Ext-IPv4-Addr TLV . . . . . . . . . . . . . . 15 3.2.3. IP-Port-Ext-IPv4-Addr TLV . . . . . . . . . . . . . . 15
3.2.4. IP-Port-Int-IPv4-Addr TLV . . . . . . . . . . . . . . 16 3.2.4. IP-Port-Int-IPv4-Addr TLV . . . . . . . . . . . . . . 16
3.2.5. IP-Port-Int-IPv6-Addr TLV . . . . . . . . . . . . . . 17 3.2.5. IP-Port-Int-IPv6-Addr TLV . . . . . . . . . . . . . . 17
3.2.6. IP-Port-Int-Port TLV . . . . . . . . . . . . . . . . 17 3.2.6. IP-Port-Int-Port TLV . . . . . . . . . . . . . . . . 18
3.2.7. IP-Port-Ext-Port TLV . . . . . . . . . . . . . . . . 18 3.2.7. IP-Port-Ext-Port TLV . . . . . . . . . . . . . . . . 18
3.2.8. IP-Port-Alloc TLV . . . . . . . . . . . . . . . . . . 19 3.2.8. IP-Port-Alloc TLV . . . . . . . . . . . . . . . . . . 19
3.2.9. IP-Port-Range-Start TLV . . . . . . . . . . . . . . . 20 3.2.9. IP-Port-Range-Start TLV . . . . . . . . . . . . . . . 20
3.2.10. IP-Port-Range-End TLV . . . . . . . . . . . . . . . . 21 3.2.10. IP-Port-Range-End TLV . . . . . . . . . . . . . . . . 21
3.2.11. IP-Port-Local-Id TLV . . . . . . . . . . . . . . . . 22 3.2.11. IP-Port-Local-Id TLV . . . . . . . . . . . . . . . . 22
4. Applications, Use Cases and Examples . . . . . . . . . . . . 23 4. Applications, Use Cases and Examples . . . . . . . . . . . . 23
4.1. Managing CGN Port Behavior using RADIUS . . . . . . . . . 23 4.1. Managing CGN Port Behavior using RADIUS . . . . . . . . . 23
4.1.1. Configure IP Port Limit for a User . . . . . . . . . 24 4.1.1. Configure IP Port Limit for a User . . . . . . . . . 24
4.1.2. Report IP Port Allocation/Deallocation . . . . . . . 26 4.1.2. Report IP Port Allocation/Deallocation . . . . . . . 26
4.1.3. Configure Forwarding Port Mapping . . . . . . . . . . 27 4.1.3. Configure Forwarding Port Mapping . . . . . . . . . . 27
skipping to change at page 8, line 26 skipping to change at page 8, line 26
o an IP-Port-Range-End TLV (see Section 3.2.10), o an IP-Port-Range-End TLV (see Section 3.2.10),
o an IP-Port-Alloc TLV (see Section 3.2.8), o an IP-Port-Alloc TLV (see Section 3.2.8),
o an optional IP-Port-Ext-IPv4-Addr TLV (see Section 3.2.3), o an optional IP-Port-Ext-IPv4-Addr TLV (see Section 3.2.3),
o an optional IP-Port-Local-Id TLV (see Section 3.2.11). o an optional IP-Port-Local-Id TLV (see Section 3.2.11).
This attribute contains a range of contiguous IP ports of a specific This attribute contains a range of contiguous IP ports of a specific
port type and associated with an IPv4 address that are either port type and associated with an IPv4 address that is either
allocated or deallocated by a device for a given user, and the allocated or deallocated by a device for a given user, and the
information is intended to be sent to RADIUS server. information is intended to be sent to RADIUS server.
This attribute can be used to convey a single IP port number; in such This attribute can be used to convey a single IP port number; in such
case IP-Port-Range-Start and IP-Port-Range-End conveys the same case IP-Port-Range-Start and IP-Port-Range-End conveys the same
value. value.
Within an IP-Port-Range Attribute, the IP-Port-Alloc TLV is always Within an IP-Port-Range Attribute, the IP-Port-Alloc TLV is always
included. For port allocation, both IP-Port-Range-Start TLV and IP- included. For port allocation, both IP-Port-Range-Start TLV and IP-
Port-Range-End TLV must be included; for port deallocation, the Port-Range-End TLV must be included; for port deallocation, the
skipping to change at page 13, line 12 skipping to change at page 13, line 12
This TLV may be included as part of the IP-Port-Forwarding-Map This TLV may be included as part of the IP-Port-Forwarding-Map
Attribute. Refer to Section 3.2.3. Attribute. Refer to Section 3.2.3.
The IP-Port-Forwarding-Map Attribute is associated with the following The IP-Port-Forwarding-Map Attribute is associated with the following
identifier: 241.Extended-Type(TBD3). identifier: 241.Extended-Type(TBD3).
3.2. RADIUS TLVs for IP Ports 3.2. RADIUS TLVs for IP Ports
The TLVs that are included in the three attributes (see Section 3.1) The TLVs that are included in the three attributes (see Section 3.1)
are defined in the following sub-sections. These TLVs use the format are defined in the following sub-sections. These TLVs use the format
defined in [RFC6929]. defined in [RFC6929]. As the three attributes carry similar data, we
have defined a common set of TLVs which are used for all three
attributes. That is, the TLVs have the same name and number, when
encapsulated in any one of the three parent attributes. See
Section 3.1.1, Section 3.1.2, and Section 3.1.3 for a list of which
TLV is permitted within which parent attribute.
3.2.1. IP-Port-Type TLV 3.2.1. IP-Port-Type TLV
The format of IP-Port-Type TLV is shown in Figure 4. Its "Type" The format of IP-Port-Type TLV is shown in Figure 4. This attribute
field contains a value that uniquely refers to IPFIX Information carries IPFIX Information Element TBAx1, "transportType", which
Element "transportType" (TBAx1), and its "Value" field contains the indicates the type of IP transport as follows:
values defined for the IPFIX Information Element "transportType",
which indicates the type of IP transport as follows:
1: 1:
Refer to TCP port, UDP port, and ICMP identifier as a whole. Refer to TCP port, UDP port, and ICMP identifier as a whole.
2: 2:
Refer to TCP port and UDP port as a whole. Refer to TCP port and UDP port as a whole.
3: 3:
skipping to change at page 14, line 4 skipping to change at page 14, line 16
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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | transportType | TLV-Type | Length | transportType
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
transportType | transportType |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 4 Figure 4
TLV-Type TLV-Type
1. This MUST uniquely refer to the IPFIX Information Element
identifier TBAx1. 1
Length Length
6. 6
transportType transportType
Integer. This field contains the data (unsigned8) of Integer. This field contains the data (unsigned8) of
transportType (TBAx1) defined in IPFIX, right justified, and the transportType (TBAx1) defined in IPFIX, right justified, and the
unused bits in this field MUST be set to zero. unused bits in this field MUST be set to zero.
IP-Port-Type TLV is included in the following Attributes: IP-Port-Type TLV is included in the following Attributes:
o IP-Port-Limit-Info Attribute, identified as 241.TBD1.1 (see o IP-Port-Limit-Info Attribute, identified as 241.TBD1.1 (see
Section 3.1.1). Section 3.1.1).
o IP-Port-Range Attribute, identified as 241.TBD2.1 (see o IP-Port-Range Attribute, identified as 241.TBD2.1 (see
Section 3.1.2). Section 3.1.2).
o IP-Port-Forwarding-Mapping Attribute, identified as 241.TBD3.1 o IP-Port-Forwarding-Mapping Attribute, identified as 241.TBD3.1
(see Section 3.1.3). (see Section 3.1.3).
3.2.2. IP-Port-Limit TLV 3.2.2. IP-Port-Limit TLV
The format of IP-Port-Limit TLV is shown in Figure 5. Its "Type" The format of IP-Port-Limit TLV is shown in Figure 5. This attribute
field contains a value that uniquely refers to IPFIX Information carries IPFIX Information Element TBAx2, "natTransportLimit", which
Element natTransportLimit (TBAx2), and its "Value" field contains indicates the maximum number of ports for a given IPv4 address
IPFIX Information Element natTransportLimit, which indicates the assigned to a user for a specified IP-Port-Type.
maximum number of ports for a given IPv4 address assigned to a user
for a specified IP-Port-Type.
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | natTransportLimit | TLV-Type | Length | natTransportLimit
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
natTransportLimit | natTransportLimit |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 5 Figure 5
TLV-Type TLV-Type
2. It MUST uniquely refer to the IPFIX Information Element 2
identifier TBAx2.
Length Length
6. 6
natTransportLimit natTransportLimit
Integer. This field contains the data (unsigned16) of Integer. This field contains the data (unsigned16) of
natTransportLimit (TBAx2) defined in IPFIX, right justified, and natTransportLimit (TBAx2) defined in IPFIX, right justified, and
the unused bits in this field MUST be set to zero. the unused bits in this field MUST be set to zero.
IP-Port-Limit TLV is included as part of the IP-Port-Limit-Info IP-Port-Limit TLV is included as part of the IP-Port-Limit-Info
Attribute (refer to Section 3.1.1), identified as 241.TBD1.2. Attribute (refer to Section 3.1.1), identified as 241.TBD1.2.
3.2.3. IP-Port-Ext-IPv4-Addr TLV 3.2.3. IP-Port-Ext-IPv4-Addr TLV
The format of IP-Port-Ext-IPv4-Addr TLV is shown in Figure 6. Its The format of IP-Port-Ext-IPv4-Addr TLV is shown in Figure 6. This
"Type" field contains a value that uniquely refers to IPFIX attribute carries IPFIX Information Element 225,
Information Element postNATSourceIPv4Address(225), and its "Value" "postNATSourceIPv4Address", which is the IPv4 source address after
field contains IPFIX Information Element postNATSourceIPv4Address, NAT operation (refer to [IPFIX]).
which is the IPv4 source address after NAT operation (refer to
[IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | postNATSourceIPv4Address | TLV-Type | Length | postNATSourceIPv4Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
postNATSourceIPv4Address | postNATSourceIPv4Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 6 Figure 6
TLV-Type TLV-Type
3. This MUST uniquely refer to the IPFIX Information Element 3
identifier 225.
Length Length
6 6
postNATSourceIPv4Address postNATSourceIPv4Address
Integer. This field contains the data (ipv4Address) of Integer. This field contains the data (ipv4Address) of
postNATSourceIPv4Address (225) defined in IPFIX. postNATSourceIPv4Address (225) defined in IPFIX.
skipping to change at page 16, line 16 skipping to change at page 16, line 28
Section 3.1.1). Section 3.1.1).
o IP-Port-Range Attribute, identified as 241.TBD2.3 (see o IP-Port-Range Attribute, identified as 241.TBD2.3 (see
Section 3.1.2). Section 3.1.2).
o IP-Port-Forwarding-Mapping Attribute, identified as 241.TBD3.3 o IP-Port-Forwarding-Mapping Attribute, identified as 241.TBD3.3
(see Section 3.1.3). (see Section 3.1.3).
3.2.4. IP-Port-Int-IPv4-Addr TLV 3.2.4. IP-Port-Int-IPv4-Addr TLV
The format of IP-Port-Int-IPv4 TLV is shown in Figure 7. Its "Type" The format of IP-Port-Int-IPv4 TLV is shown in Figure 7. This
field contains a value that uniquely refers to IPFIX Information attribute carries IPFIX Information Element 8, "sourceIPv4Address",
Element sourceIPv4Address (8), and its "Value" field contains IPFIX which is the IPv4 source address before NAT operation (refer to
Information Element sourceIPv4Address, which is the IPv4 source [IPFIX]).
address before NAT operation (refer to [IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | sourceIPv4Address | TLV-Type | Length | sourceIPv4Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
sourceIPv4Address | sourceIPv4Address |
+-+--+-+-+-+-+-+-++-+-+-+-+-+-+-+ +-+--+-+-+-+-+-+-++-+-+-+-+-+-+-+
Figure 7 Figure 7
TLV-Type TLV-Type
4. It MUST uniquely refer to the IPFIX Information Element 4
identifier 8.
Length Length
6. 6
sourceIPv4Address sourceIPv4Address
Integer. This field contains the data (ipv4Address) of Integer. This field contains the data (ipv4Address) of
sourceIPv4Address (8) defined in IPFIX. sourceIPv4Address (8) defined in IPFIX.
IP-Port-Int-IPv4-Addr TLV MAY be included as part of the IP-Port- IP-Port-Int-IPv4-Addr TLV MAY be included as part of the IP-Port-
Forwarding-Map Attribute (refer to Section 3.1.3), identified as Forwarding-Map Attribute (refer to Section 3.1.3), identified as
241.TBD3.4. 241.TBD3.4.
3.2.5. IP-Port-Int-IPv6-Addr TLV 3.2.5. IP-Port-Int-IPv6-Addr TLV
The format of IP-Port-Int-IPv6-Addr TLV is shown in Figure 8. Its The format of IP-Port-Int-IPv6-Addr TLV is shown in Figure 8. This
"Type" field contains a value that uniquely refers to IPFIX attribute carries IPFIX Information Element 27, "sourceIPv6Address",
Information Element sourceIPv6Address(27), and its "Value" field which is the IPv6 source address before NAT operation (refer to
contains IPFIX Information Element sourceIPv6Address, which is the [IPFIX]).
IPv6 source address before NAT operation (refer to [IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | sourceIPv6Address | TLV-Type | Length | sourceIPv6Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
sourceIPv6Address sourceIPv6Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
sourceIPv6Address sourceIPv6Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
sourceIPv6Address sourceIPv6Address
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
sourceIPv6Address | sourceIPv6Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 8 Figure 8
TLV-Type TLV-Type
5. It MUST uniquely refer to the IPFIX Information Element 5
identifier 27.
Length Length
18. 18
sourceIPv6Address sourceIPv6Address
IPv6 address (128 bits). This field contains the data IPv6 address (128 bits). This field contains the data
(ipv6Address) of sourceIPv6Address (27) defined in IPFIX. (ipv6Address) of sourceIPv6Address (27) defined in IPFIX.
IP-Port-Int-IPv6-Addr TLV MAY be included as part of the IP-Port- IP-Port-Int-IPv6-Addr TLV MAY be included as part of the IP-Port-
Forwarding-Map Attribute (refer to Section 3.1.3), identified as Forwarding-Map Attribute (refer to Section 3.1.3), identified as
241.TBD3.5. 241.TBD3.5.
3.2.6. IP-Port-Int-Port TLV 3.2.6. IP-Port-Int-Port TLV
The format of IP-Port-Int-Port TLV is shown in Figure 9. Its "Type" The format of IP-Port-Int-Port TLV is shown in Figure 9. This
field contains a value that uniquely refers to IPFIX Information attribute carries IPFIX Information Element 7, "sourceTransportPort",
Element sourceTransportPort (7), and its "Value" field contains IPFIX which is the source transport number associated with an internal IPv4
Information Element sourceTransportPort, which is the source or IPv6 address (refer to [IPFIX]).
transport number associated with an internal IPv4 or IPv6 address
(refer to [IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | sourceTransportPort | TLV-Type | Length | sourceTransportPort
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
sourceTransportPort | sourceTransportPort |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 9 Figure 9
TLV-Type TLV-Type
6. It MUST uniquely refer to the IPFIX Information Element 6
identifier 7.
Length Length
4. 6
sourceTransportPort sourceTransportPort
Integer. This field contains the data (unsigned16) of Integer. This field contains the data (unsigned16) of
sourceTrasnportPort (7) defined in IPFIX, right justified, and sourceTrasnportPort (7) defined in IPFIX, right justified, and
unused bits MUST be set to zero. unused bits MUST be set to zero.
IP-Port-Int-Port TLV is included as part of the IP-Port-Forwarding- IP-Port-Int-Port TLV is included as part of the IP-Port-Forwarding-
Map Attribute (refer to Section 3.1.3), identified as 241.TBD3.6. Map Attribute (refer to Section 3.1.3), identified as 241.TBD3.6.
3.2.7. IP-Port-Ext-Port TLV 3.2.7. IP-Port-Ext-Port TLV
The format of IP-Port-Ext-Port TLV is shown in Figure 10. Its "Type" The format of IP-Port-Ext-Port TLV is shown in Figure 10. This
field contains a value that uniquely refers to IPFIX Information attribute carries IPFIX Information Element 227,
Element postNAPTSourceTransportPort (227), and its "Value" field "postNAPTSourceTransportPort", which is the transport number
contains IPFIX Information Element postNAPTSourceTransportPort, which associated with an external IPv4 address(refer to [IPFIX]).
is the transport number associated with an external IPv4
address(refer to [IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | postNAPTSourceTransportPort | TLV-Type | Length | postNAPTSourceTransportPort
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
postNAPTSourceTransportPort | postNAPTSourceTransportPort |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 10 Figure 10
TLV-Type TLV-Type
7. It MUST uniquely refer to the IPFIX Information Element 7
identifier 227 .
Length Length
6. 6
postNAPTSourceTransportPort postNAPTSourceTransportPort
Integer. This field contains the data (unsigned16) of Integer. This field contains the data (unsigned16) of
postNAPTSourceTrasnportPort (227) defined in IPFIX, right postNAPTSourceTrasnportPort (227) defined in IPFIX, right
justified, and unused bits must be set to zero. justified, and unused bits must be set to zero.
IP-Port-Ext-Port TLV is included as part of the IP-Port-Forwarding- IP-Port-Ext-Port TLV is included as part of the IP-Port-Forwarding-
Map Attribute (refer to Section 3.1.3), identified as 241.TBD3.7. Map Attribute (refer to Section 3.1.3), identified as 241.TBD3.7.
3.2.8. IP-Port-Alloc TLV 3.2.8. IP-Port-Alloc TLV
The format of IP-Port-Alloc TLV is shown in Figure 11. Its "Type" The format of IP-Port-Alloc TLV is shown in Figure 11. This
field contains a value that uniquely refers to IPFIX Information attribute carries IPFIX Information Element 230, "natEvent", which is
Element natEvent (230), and its "Value" field contains IPFIX a flag to indicate an action of NAT operation (refer to [IPFIX]).
Information Element "natEvent", which is a flag to indicate an action
of NAT operation (refer to [IPFIX]).
When the value of natEvent is "1" (Create event), it means to When the value of natEvent is "1" (Create event), it means to
allocate a range of transport ports; when the value is "2", it means allocate a range of transport ports; when the value is "2", it means
to deallocate a range of transports ports. For the purpose of this to deallocate a range of transports ports. For the purpose of this
TLV, no other value is used. TLV, no other value is used.
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | natEvent | TLV-Type | Length | natEvent
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
natEvent | natEvent |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 11 Figure 11
TLV-Type TLV-Type
8. It MUST uniquely refer to the IPFIX Information Element 8
identifier 230 .
Length Length
3. 6
natEvent natEvent
Integer. This field contains the data (unsigned8) of natEvent Integer. This field contains the data (unsigned8) of natEvent
(230) defined in IPFIX, right justified, and unused bits must be (230) defined in IPFIX, right justified, and unused bits must be
set to zero. It indicates the allocation or deallocation of a set to zero. It indicates the allocation or deallocation of a
range of IP ports as follows: range of IP ports as follows:
1: 1:
skipping to change at page 20, line 48 skipping to change at page 20, line 47
Reserved: Reserved:
0. 0.
IP-Port-Alloc TLV is included as part of the IP-Port-Range Attribute IP-Port-Alloc TLV is included as part of the IP-Port-Range Attribute
(refer to Section 3.1.2), identified as 241.TBD2.8. (refer to Section 3.1.2), identified as 241.TBD2.8.
3.2.9. IP-Port-Range-Start TLV 3.2.9. IP-Port-Range-Start TLV
The format of IP-Port-Range-Start TLV is shown in Figure 12. Its The format of IP-Port-Range-Start TLV is shown in Figure 12. This
"Type" field contains a value that uniquely refers to IPFIX attribute carries IPFIX Information Element 361, "portRangeStart",
Information Element portRangeStart (361), and its "Value" field which is the smallest port number of a range of contiguous transport
contains IPFIX Information Element portRangeStart, which is the ports (refer to [IPFIX]).
smallest port number of a range of contiguous transport ports (refer
to [IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | portRangeStart | TLV-Type | Length | portRangeStart
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
portRangeStart | portRangeStart |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 12 Figure 12
TLV-Type TLV-Type
9. It MUST uniquely refer to the IPFIX Information Element 9
identifier 361.
Length Length
4. 6
portRangeStart portRangeStart
Integer. This field contains the data (unsigned16) of (361) Integer. This field contains the data (unsigned16) of (361)
defined in IPFIX, right justified, and unused bits must be set to defined in IPFIX, right justified, and unused bits must be set to
zero. zero.
IP-Port-Range-Start TLV is included as part of the IP-Port-Range IP-Port-Range-Start TLV is included as part of the IP-Port-Range
Attribute (refer to Section 3.1.2), identified as 241.TBD2.9. Attribute (refer to Section 3.1.2), identified as 241.TBD2.9.
3.2.10. IP-Port-Range-End TLV 3.2.10. IP-Port-Range-End TLV
The format of IP-Port-Range-End TLV is shown in Figure 13. Its The format of IP-Port-Range-End TLV is shown in Figure 13. This
"Type" field contains a value that uniquely refers to IPFIX attribute carries IPFIX Information Element 362, "portRangeEnd",
Information Element portRangeEnd (362), and its "Value" field which is the largest port number of a range of contiguous transport
contains IPFIX Information Element portRangeEnd, which is the largest ports (refer to [IPFIX]).
port number of a range of contiguous transport ports (refer to
[IPFIX]).
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | portRangeEnd | TLV-Type | Length | portRangeEnd
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
portRangeEnd | portRangeEnd |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 13 Figure 13
TLV-Type TLV-Type
10
10. It MUST uniquely refer to the IPFIX Information Element
identifier 362.
Length Length
4. The Length field for IP-Port-Range-End TLV. 6
portRangeEnd portRangeEnd
Integer. This field contains the data (unsigned16) of (362) Integer. This field contains the data (unsigned16) of (362)
defined in IPFIX, right justified, and unused bits must be set to defined in IPFIX, right justified, and unused bits must be set to
zero. zero.
IP-Port-Range-End TLV is included as part of the IP-Port-Range IP-Port-Range-End TLV is included as part of the IP-Port-Range
Attribute (refer to Section 3.1.2), identified as 241.TBD2.10. Attribute (refer to Section 3.1.2), identified as 241.TBD2.10.
3.2.11. IP-Port-Local-Id TLV 3.2.11. IP-Port-Local-Id TLV
The format of IP-Port-Local-Id TLV is shown in Figure 14. Its "Type" The format of IP-Port-Local-Id TLV is shown in Figure 14. This
field contains a value that uniquely refers to the IPFIX Information attribute carries IPFIX Information Element TBAx3, "localID", which
Element localID (TBAx3), and its "Value" field contains IPFIX is a local significant identifier as explained below.
Information Element localID, which is a local significant identifier
as explained below.
In some CGN deployment scenarios such as DS-Extra-Lite [RFC6619] and In some CGN deployment scenarios such as DS-Extra-Lite [RFC6619] and
Lightweight 4over6 [RFC7596], parameters at a customer premise such Lightweight 4over6 [RFC7596], parameters at a customer premise such
as MAC address, interface ID, VLAN ID, PPP session ID, IPv6 prefix, as MAC address, interface ID, VLAN ID, PPP session ID, IPv6 prefix,
VRF ID, etc., may also be required to pass to the RADIUS server as VRF ID, etc., may also be required to pass to the RADIUS server as
part of the accounting record. part of the accounting record.
0 1 2 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TLV-Type | Length | localID .... | TLV-Type | Length | localID ....
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 14 Figure 14
TLV-Type TLV-Type
11. This MUST uniquely refer to the IPFIX Information Element 11
identifier TBAx3.
Length Length
Variable number of bytes. Variable number of bytes.
localID localID
string. This field contains the data (string) of (TBAx3) defined string. This field contains the data (string) of (TBAx3) defined
in IPFIX. This is a local session identifier at the customer in IPFIX. This is a local session identifier at the customer
premise, such as MAC address, interface ID, VLAN ID, PPP sessions premise, such as MAC address, interface ID, VLAN ID, PPP sessions
 End of changes. 39 change blocks. 
101 lines changed or deleted 74 lines changed or added

This html diff was produced by rfcdiff 1.44. The latest version is available from http://tools.ietf.org/tools/rfcdiff/