PCO(Protocol Configuration Options)協(xié)議配置選項是NSA消息中重要部分之一,由以下三部分內容構成:
PDN連接請求:PDN Connectivity Request
激活的EPS默認承載上下文請求:ActivateDefaultEPSBearerContextRequest
激活的EPS默認承載上下文接受:ActivateDefaultEPSBearerContextAccept
*我個人理解PCO就是各節(jié)點(如DNS等IP)地址的請求和分配。
1.PCO數(shù)據(jù)結構:PCO數(shù)據(jù)結構靈活,主要由以下信元組成
2.消息ID內容定義
Container ID | Description (Network to MS Direction) |
0001H | P-CSCF IPv6 Address Request |
0002H | IM CN Subsystem Signaling Flag |
0003H | DNS Server IPv6 Address Request |
0004H | Policy Control rejection code |
0005H | Selected Bearer Control Mode; |
0006H | Reserved |
0007H | DSMIPv6 Home Agent Address |
0008H | DSMIPv6 Home Network Prefix |
0009H | DSMIPv6 IPv4 Home Agent Address |
000AH | reserved |
000BH | reserved |
000CH | P-CSCF IPv4 Address |
000DH | DNS Server IPv4 Address |
000EH | MSISDN Request |
C021H | LCP (refer to RFC 3232) |
C023H | PAP (refer to RFC 3232) |
C223H | CHAP (refer to RFC 3232) |
8021H | IPCP (refer to RFC 3232) |
FF00H | FFFFH reserved for operator specific use. |
3.PCO數(shù)據(jù)配置
PCO數(shù)據(jù)的配置可由網(wǎng)絡側進行,UE也可以配置請求,具體如下:
i) UE --> NW : PCO in PDN Connectivity Request (UE request the information it want to get)
ii) UE <-- NW : PCO in Activate Default EPS Bearer Request (NW informs UE of what it want)
4.PCO示例
Protocol Configuration Options - in PDN Connectivity Request
Element ID: 0x27
Length: 26
[Link direction: MS to network (0)]
1... .... = Extension: True
Configuration Protocol: PPP for use with IP PDP type or IP PDN type (0)
Protocol or Container ID: Internet Protocol Control Protocol (0x8021)
Length: 0x10 (16)
PPP IP Control Protocol
Code: Configuration Request (1)
Identifier: 0 (0x00)
Length: 16
Options: (12 bytes), Primary DNS Server IP Address, Secondary DNS Server IP Address
Primary DNS Server IP Address: 0.0.0.0
Type: Primary DNS Server IP Address (129)
Length: 6
Primary DNS Address: 0.0.0.0 (0.0.0.0)
Secondary DNS Server IP Address: 0.0.0.0
Type: Secondary DNS Server IP Address (131)
Length: 6
Secondary DNS Address: 0.0.0.0 (0.0.0.0)
Protocol or Container ID: DNS Server IPv4 Address Request (0x000d)
Length: 0x00 (0)
Protocol or Container ID: IP address allocation via NAS signalling (0x000a)
Length: 0x00 (0)
Protocol Configuration Options - in Activate Default EPS Bearer Request
Element ID: 0x27
Length: 27
[Link direction: Network to MS (1)]
1... .... = Extension: True
Configuration Protocol: PPP for use with IP PDP type or IP PDN type (0)
Protocol or Container ID: Internet Protocol Control Protocol (0x8021)
Length: 0x10 (16)
PPP IP Control Protocol
Code: Configuration Nak (3)
Identifier: 0 (0x00)
Length: 16
Options: (12 bytes), Primary DNS Server IP Address, Secondary DNS Server IP Address
Primary DNS Server IP Address: 192.168.1.2
Type: Primary DNS Server IP Address (129)
Length: 6
Primary DNS Address: 192.168.1.2 (192.168.1.2)
Secondary DNS Server IP Address: 192.168.1.2
Type: Secondary DNS Server IP Address (131)
Length: 6
Secondary DNS Address: 192.168.1.2 (192.168.1.2)
Protocol or Container ID: DNS Server IPv4 Address (0x000d)
Length: 0x04 (4)
IPv4: 192.168.1.2
原文來自:http://www.sharetechnote.com
整理:kangguoying20201009
"按比特計流量的日子,你還記得嗎?---Byte與Bit”已在微信公眾號"跟著老康學5G"中推出,敬請關注!