How it Works
This section describes how this feature works.
cnSGW-C stores the update bearer information in the Flags database in the CDL.
cnSGW-C uses partial CDL update when the subscriber moves from:
-
Active state to Idle state on receiving Release Access Bearer Request
-
Idle state to Active state on receiving Modify Bearer Request
With partial CDL update, the session-state-flag displays the following value in the cdl show sessions summary slice-name <n> CLI output:
-
sgw_active: when the session is Active
-
sgw_inactive: when the session is Idle
The following is a sample output for an Active session:
cdl show sessions summary slice-name 1
message params: {session-summary cli session {0 100 0 [] 0 0 false 4096 [] []} 1}
session {
primary-key 2#/#imsi-123456789012348
unique-keys [ "2#/#16777229" ]
non-unique-keys [ "2#/#id-index:1:0:32768" "2#/#id-value:16777229"
"2#/#imsi:imsi-123456789012348" "2#/#msisdn:msisdn-223310101010101"
"2#/#imei:imei-123456786666660" "2#/#upf:209.165.201.1"
"2#/#upfEpKey:209.165.201.1:209.165.201.30" "2#/#s5s8Ipv4:209.165.202.129" "2#/#s11Ipv4:209.165.201.1"
"2#/#namespace:sgw" ]
flags [ byte-flag1:00:13:03:53:00:00:06:85:0A:01:01:1B session-state-flag:sgw_active ]
map-id 1
instance-id 1
app-instance-id 1
version 1
create-time 2022-01-20 11:37:15.181259564 +0000 UTC
last-updated-time 2022-01-20 11:37:15.703032336 +0000 UTC
purge-on-eval false
next-eval-time 2022-01-27 11:37:26 +0000 UTC
session-types [ SGW:rat_type:EUTRAN ]
data-size 925
The following is a sample output for an Idle session:
cdl show sessions summary slice-name 1
message params: {session-summary cli session {0 100 0 [] 0 0 false 4096 [] []} 1}
session {
primary-key 2#/#imsi-123456789012348
unique-keys [ "2#/#16777229" ]
non-unique-keys [ "2#/#id-index:1:0:32768" "2#/#id-value:16777229"
"2#/#imsi:imsi-123456789012348" "2#/#msisdn:msisdn-223310101010101"
"2#/#imei:imei-123456786666660" "2#/#upf:209.165.201.1" "2#/#upfEpKey:209.165.201.1:209.165.201.30"
"2#/#s5s8Ipv4:209.165.202.129" "2#/#s11Ipv4:209.165.201.1" "2#/#namespace:sgw" ]
flags [ byte-flag1:00:25:00:55:00:65 session-state-flag:sgw_inactive ]
map-id 1
instance-id 1
app-instance-id 1
version 3
create-time 2022-01-20 11:37:15.181259564 +0000 UTC
last-updated-time 2022-01-20 11:37:18.102852792 +0000 UTC
purge-on-eval false
next-eval-time 2022-01-27 11:37:28 +0000 UTC
session-types [ SGW:rat_type:EUTRAN ]
data-size 1644