簡介
本檔案將說明封包資料網路閘道(PGW)報告比指派的配額更高的配額時要檢查的組態。
必要條件
需求
思科建議您瞭解以下主題:
- 長期演化(LTE)
- 線上計費
- Diameter信用控制應用程式
採用元件
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
問題
當配額用完時,PGW在已用服務單元(USU)Attribute-Value Pair(AVP)下報告,比線上計費系統(OCS)在較早的信用控制 — 應答更新中在已授權服務單元(GSU)下分配的配額多。
執行的分析
設定配額後 按OCS之前的信用控制 — 答案_更新(幀3130) 精疲力竭, PGW報告在USU(幀3142)下使用更高的配額。報告的GSU(CC-Total-Octets=11375)和USU(CC-Total-Octets=11756)二進位制八位數之間存在細微差異。
No. Source Destination Protocol CC-Request-Type CC-Total-Octets 3GPP-Reporting-Reason Info
3130 10.30.50.36 10.125.230.100 DIAMETER UPDATE_REQUEST 11375 cmd=Credit-Control Answer(272)
3142 10.125.230.100 10.30.50.36 DIAMETER UPDATE_REQUEST 11756 QUOTA_EXHAUSTED cmd=Credit-Control Request(272)
RFC 4006包含此案例的行為和互動。標準規定:
8.17. Granted-Service-Unit AVP
Granted-Service-Unit AVP (AVP Code 431) is of type Grouped and
contains the amount of units that the Diameter credit-control client
can provide to the end user until the service must be released or the
new Credit-Control-Request must be sent.
8.19. Used-Service-Unit AVP
The Used-Service-Unit AVP is of type Grouped (AVP Code 446) and
contains the amount of used units measured from the point when the
service became active or, if interim interrogations are used during
the session, from the point when the previous measurement ended.
解決方案
觀察到此行為時,請檢視 show configuration verbose
從PGW輸出並驗證 quota request-trigger include-packet-causing-trigger
命令在 credit-control group
組態.Cisco StarOS®配置指南說明此配置行的狀態:
quota request-trigger
This command configures the action on the packet that triggers the credit control application to request quota.
include-packet-causing-trigger
Includes the packet causing the threshold limit violation trigger.
如果啟用此命令,則觸發QUOTA_EXPIRED報告的資料包必須包含在此報告中,並且其負載會導致USU報告值高於OCS的GSU。
根據您的要求,此行為可以使用 quota request-trigger
通過包括或排除導致閾值限制違規觸發的資料包:
quota request-trigger { exclude-packet-causing-trigger | include-packet-causing-trigger }
註:預設情況下,它設定為 include-packet-causing-trigger
.