Beruflich Dokumente
Kultur Dokumente
2013/11/15
Signaling analysis
of PDSN
CDMA Team
www.huawei.com
Huawei Confidential
Preface
This slide introduces the signaling analysis of PDSN. It
includes the analysis of A11 messages, PPP messages and
accounting messages.
Huawei Confidential
Page 2
Reference
Package of Documents-PDSN9660(V800R002C02_05)
Rfc1332 (IPCP)
Rfc1661 (PPP)
Rfc1994 (CHAP)
Rfc2484 (LCP)
3GPP2_X.S0011-005-C_v1.0 (Accounting)
Huawei Confidential
Page 3
Objective
After this course, you will be able to:
Huawei Confidential
Page 4
CONTENT
Chapter 1 Overview
Chapter 2 A11 messages
Chapter 3 PPP messages
Chapter 4 Accounting messages
Huawei Confidential
Page 5
Overview
Procedure of CDMA 1X data service connection setup:
Huawei Confidential
Page 6
Overview
Huawei Confidential
Page 7
Overview
Procedure of CDMA 1X data service connection released by MS:
Huawei Confidential
Page 8
Overview
PPP messages
Accounting messages
Huawei Confidential
Page 9
Overview
The whole procedure of a connection setup and release:
Accounting
Huawei Confidential
Page 10
Overview
Huawei Confidential
Page 11
CONTENT
Chapter 1 Overview
Huawei Confidential
Page 12
A11 messages
Huawei Confidential
Page 13
A11 messages
PCF
PDSN
A11-registration request (setup)
A11-registration reply
Huawei Confidential
Page 14
A11 messages
Huawei Confidential
Page 15
A11 messages
A11-Registration Request setup message
PDSN RPIF IP in
hexadecimal
PCF IP in
hexadecimal
MS IMSI
Huawei Confidential
Page 16
A11 messages
Important parameters:
usLifeTime : Indicates the length of A10 connection that the PCF expected,
measures by second.
ulHomeAgent : The PDSN RPIF IP address.
ulCareOfAddr : The PCF IP address.
stIMSI: The IMSI of the subscriber. The IMSI in the message of page 15 is 2
57 03 02 94 00 11 22. It is encoded with the rule as follows:
Huawei Confidential
Page 17
A11 messages
A11-Registration Reply of the
A11-Registration Request setup
message:
Important parameters:
ucCode, indicates whether the
PDSN accepts the request
message. 0 means accept.
usLifeTime, indicates the length of
A10 connection that the PDSN
permitted.
This parameter can be set in
command SET A11TIMER. The
default value is 1800 seconds.
Huawei Confidential
Page 18
A11 messages
A11-Registration Request active message :
Huawei Confidential
Page 19
A11 messages
extension part, such as the service option, the air link QOS, etc.
This message is also used in the A10 connection keep alive scenario.
Huawei Confidential
Page 20
A11 messages
PCF
PDSN
The reason to trigger the release can be:
MS terminate, PDSN terminate, PCF terminate
Huawei Confidential
Page 21
A11 messages
A11-Registration Request stop :
Important parameters:
usLifeTime: 0 indicates this is a
release message.
ulHomeAgent: PDSN RPIF IP
ulCareOfAddr: PCF IP
stIMSI: MS IMSI
Huawei Confidential
Page 22
CONTENT
Chapter 1 Overview
Chapter 2 A11 messages
Huawei Confidential
Page 23
PPP messages
After the A10 connection of a subscriber is setup, the PPP negotiation starts.
PPP is Point to Point Protocol. It setup a connection between two point.
In CDMA data service, the PDSN needs to set up PPP sessions with an MS to
enable the MS to access external PDNs. Before the PPP session setup, the MS
should negotiate the parameters with PDSN.
PPP negotiation between the PDSN and an MS goes in three phases.
Step1: Link Control Protocol (LCP) phase.
Step2: Authentication phase.
Step3: Network Control Protocol (NCP) phase.
Huawei Confidential
Page 24
PPP messages
includes:
Maximum Receive Unit (MRU)
Magic number
Authentication method
MRU is the maximum size of IP packet that can be received by a equipment.
The default value is 1500Bytes. It can be set in command SET PPP.
Magic number is used to detect the loopback of a link.
The authentication method can be no-authenticate, PAP or CHAP. This
authentication method indicates which method to use in the authentication
phase.
HUAWEI TECHNOLOGIES CO., LTD.
Huawei Confidential
Page 25
PPP messages
There are four main messages in LCP phase:
LCP Configure-Request
LCP Configure-Ack
LCP Configure-Nak
LCP Configure-Reject
LCP Configure-Request message
contains the parameters that should
be negotiated.
Notes:
If the authentication method of MS is noauthenticate, the authentication method
wont be contained in LCP ConfigureRequest message.
Huawei Confidential
Page 26
PPP messages
LCP Configure-Ack message
contains the parameters that are
accepted by the sender.
Huawei Confidential
Page 27
PPP messages
LCP Configure-Reject message
contains the parameters that reject
by the sender.
Huawei Confidential
Page 28
PPP messages
PAP
The MS sends its user name and
password to PDSN, then the PDSN
forward them to AAA. AAA will check
whether the user name and
password is correct. If the result is
correct, the AAA will reply a
authentication success message.
Huawei Confidential
Access response
PAP authenticate Ack
Page 29
PPP messages
CHAP
The password is not send in message. Use a challenge number to do the
authentication.
Password in MS
challenge
MD5
message ID
CHAP password
Password in AAA
challenge
MD5
message ID
Access request CHAP
(with user name, challenge number,
CHAP password
chap password and message ID )
Access response
CHAP authenticate
success
Huawei Confidential
Page 30
PPP messages
Huawei Confidential
Page 31
PPP messages
IPCP Configure-Request contains
the IP address option, it means that
the MS want to get IP address from
PDSN.
Notes:
The value of ip address must be 00000000
if the MS dont have a IP address.
Huawei Confidential
Page 32
PPP messages
IPCP Configure-Ack
The IP address contains in this
message means the PDSN accept
the IP request of MS. This message
indicates the IPCP phase is
successful.
Huawei Confidential
Page 33
PPP messages
A full signaling procedure of PPP negotiation:
Huawei Confidential
Page 34
CONTENT
Chapter 1 Overview
Chapter 2 A11 messages
Chapter 3 PPP messages
Huawei Confidential
Page 35
Accounting messages
Postpaid accounting procedure:
PDSN
Accounting
start
When the timer of interim
UDR reaches, PDSN will
send this message to
AAA to trigger the interim
record.
AAA
Accounting request start
Accounting response
Huawei Confidential
Page 36
Accounting messages
Used to
identify a
couple of
Accounting
start and
Accounting
stop messages.
Time of
accounting start
in second.
Huawei Confidential
Page 37
Accounting messages
Huawei Confidential
Page 38
Accounting messages
Some importance parameters:
Calling station ID: IMSI of the MS
Acct event time: The time of this accounting start message.
Acct session ID: this ID is used to identify a couple of Accounting start and
Accounting stop messages.
3GPP2 Correlation ID: this ID is used to identify one connection of an MS.
The relationship between the acct session ID and 3GPP2 correlation ID:
During the network browsing, an MS may have many accounting sessions.
Each accounting session consists of an Accounting start message and an
Accounting stop message. Different accounting sessions of one MS are
identified by different accounting session ID. But during the MS connecting
to the network, one MS only have one 3GPP2 correlation ID. In the AAA side,
AAA use the 3GPP2 correlation ID to identify one connection of an MS.
Huawei Confidential
Page 39
Accounting messages
Accounting Request stop message:
Huawei Confidential
Page 40
Accounting messages
Huawei Confidential
Page 41
Accounting messages
Huawei Confidential
Page 42
Accounting messages
Some importance parameters:
Calling station ID: IMSI of the MS
Acct session ID: In a start and stop message pair, the acct session id are the
same.
Acct session time: The time duration between this pair of accounting start
and stop messages.
Acct output/input octets: The number of output/input octets packet during
this session.
Acct event time: The time of this accounting stop message.
Acct terminate cause: The reason of the stop message.
3GPP2 Correlation ID: this ID is used to identify one connection of an MS.
3GPP2 session continue: identify whether this is the last accounting
message. True means the whole accounting procedure is over. False means
the procedure isnt finish, there will be another accounting start message
follow this stop message.
Huawei Confidential
Page 43
CONTENT
Chapter 1 Overview
Chapter 2 A11 messages
Chapter 3 PPP messages
Chapter 4 Accounting messages
Huawei Confidential
Page 44
Examples
The successful flow of no-authentication
Huawei Confidential
Page 45
Examples
The successful flow of PAP authentication
Huawei Confidential
Page 46
Examples
The successful flow of CHAP authentication
Huawei Confidential
Page 47
Huawei Confidential
Page 48
Huawei Confidential
Page 49
83H (131)
Reason: The secret key and SPI are different in PCF and PDSN.
Solution: Use LST PDSN in BSC, use LST SPI in PDSN to check whether the
parameters are match. Use MOD PDSN in BSC and SET SPI in PDSN to
change.
85H (133)
Reason: The system time of PCF and PDSN are different. And the time
interval is longer than 5 minutes.
Solution: Change the system time of PCF and PDSN. Change the BSC BAM
time or change the PDSN system time (SET SYSTIME)
86H (134)
Huawei Confidential
Page 50
If one of these parameters failed to negotiate, the LCP negotiation phase will be
failed.
Huawei Confidential
Page 51
Huawei Confidential
Page 52
Huawei Confidential
Page 53
Huawei Confidential
Page 54
Huawei Confidential
Page 55
Trouble phenomena 1:
Some of the MSs cant access to the network, but sometimes these MSs can
access. The failure MSs are not fixed. When tracing the signaling of these MSs,
you may find the authentication is successful. But after the authentication step,
PDSN will send a LCP terminate request to end this connection.
Solution for phenomena 1:
This is a representative problem of less of IP address.
Check point:
1. Whether the domain has aN IP POOL.
2. Whether there is a The usage of local address pool exceeds 90% alarm in
PDSN.
If the domain doesnt have an IP POOL, use SET POOL to add an IP POOL.
If there is an alarm, you need to discuss with the maintenance engineer of
customer to enlarge the IP POOL of the domain.
Huawei Confidential
Page 56
Huawei Confidential
Page 57
Trouble phenomena:
The AAA cant receive the billing record. When trace in PDSN, you can only see
the Accounting request messages but not the response messages.
Solution for this phenomena:
Check point:
1. Whether the AAA IP is correctly configured in PDSN.
2. Whether the connection between PDSN and AAA is normal. Use the PING
command to do the test.
3. If the authentication server and the accounting server is one AAA, check
whether the successful ratio of authentication is normal. If the ratio if low when
the busy hour comes, check whether the AAA is over load.
Huawei Confidential
Page 58
Security Level:
2013/11/15
Thank You
www.huawei.com
www.huawei.com
Huawei Confidential