No. |
44 |
---|---|
Attribute Name |
Acct-Session-Id |
Attribute Value Type |
Text |
Standard Defined |
RFC 2866 |
Server Type |
All |
Value of Length field (in Bytes) |
1–44 |
Description |
The formats of Acct-Session-Id are as follows: version 1: On an X1/X2 model: host name(7 bytes)+slot ID(1 byte)+card ID(2 bytes)+port number(2 bytes)+ {VPI(4 bytes)+VCI(5 bytes), outer-VLAN(4 bytes)+inner-VLAN(5 bytes)}+CPUTICK(6 bytes in hexadecimal notation)+user connection index (Base62 encoding, 6 bytes). If the three-dimensional interface format is used: host name (7 bits)+slot ID (2 bits)+card ID (1 bit)+port number (2 bits)+{VPI (4 bits)+VCI (5 bits), outer VLAN ID (4 bits)+inner VLAN ID (5 bits)}+CPU tick (6 bits in hexadecimal notation)+user connection index (Base62 encoding, 6 bytes). Version 2: {VPI (4 bits), outer VLAN ID (4 bits)}+CPU tick (6 bits in hexadecimal notation)+user connection index (Base62 encoding, 6 bytes) Version 3: CPU tick (in hexadecimal notation, least significant 2 bits)+user connection index (Base62 encoding, 6 bytes) Version 4: Host name (7 bits)+serial number (2 bits)+user connection index (Base62 encoding, 6 bytes). 15 bytes in total version 5: If the three-dimensional interface format is used: host name (7 bits)+space (1 bit)+interface name abbreviation (3 bits to 5 bits)+slot ID+/ (1 bit)+card ID+/ (1 bit)+port number+. (1 bit)+CPU tick (4 least significant bits in hexadecimal notation)+: (1 bit)+outer VLAN ID+. (1 bit)+inner VLAN ID+: (1 bit)+user connection index (Base62 encoding, 6 bytes) version6: Host name (7 bytes) + "#" (1 byte) + slot ID (2 bytes) + card ID (1-2 bytes) + port ID (2-5 bytes) + "#" (1 byte) + outer VLAN ID (4 bytes) + "#" (1 byte) + inner VLAN ID (5 bytes) + "#" (1 byte) +CPUTICK (in hexadecimal notation, 6 bytes in total) + "#" (1 byte) + user connection index (Base62 encoding, 6 bytes). The maximum size is 44 bytes. NOTE: The interface name can be eth, atm, or ethtr. The slot ID, card ID, port number, outer VLAN ID, and inner VLAN ID do not have length limitation. Format in the EDSG service: On an X1/X2 model: host name(7 bytes)+slot ID(1 byte)+card ID(2 bytes)+port number(2 bytes)+SSG+service ID (6 bits)+CPU tick (6 bits in hexadecimal notation)+user connection index (Base62 encoding, 6 bytes). If the three-dimensional interface format is used: host name (1 bit to 7 bits)+slot ID (2 bits)+card ID (1 bit)+port number (2 bits)+SSG+service ID (6 bits)+CPU tick (6 bits in hexadecimal notation)+user connection index (Base62 encoding, 6 bytes). |
Remark |
When Acct-Session-Id is in version 1 format, the value contains 27 to 33 bytes with variable-length host name. When Acct-Session-Id is in version 2 format, the value contains 16 bytes. When Acct-Session-Id is in version 3 format, the value contains 8 bytes. When Acct-Session-Id is used in the EDSG service, the value contains 26 to 32 bytes. |