owb091010(slide)sgsn9810 v900r010c02 gngp interface data configuration-20101105-b-v2.0
Post on 25-Oct-2015
117 Views
Preview:
TRANSCRIPT
www.huawei.com
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
英文标题 :40-47pt
副标题 :26-30pt
字体颜色 : 反白内部使用字体 :
FrutigerNext LT Medium
外部使用字体 : Arial
中文标题 :35-47pt
字体 : 黑体 副标题 :24-28pt
字体颜色 : 反白字体 : 细黑体
SGSN9810 V900R010C02 Gn and Gp
Interfaces Data Configuration
ISSUE2.0
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page2
References 3GPP TS 29.060 GPRS Tunneling Protocol (GTP) across
the Gn and Gp interfaces
SGSN9810 V900R010 Data Configuration Guide
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page3
Objectives
Upon completion of this course, you will be able to:
Describe networking of Gn and Gp interfaces for the
SGSN9810.
Complete data configuration for Gn and Gp interfaces.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page4
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and the
GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and the
DNS Server
5. Configurations for the Interworking Between the SGSN and the
NTP Server
6. (Optional) Configurations of the Routing Functions of the GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page5
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and the
GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and the
DNS Server
5. Configurations for the Interworking Between the SGSN and the
NTP Server
6. (Optional) Configurations of the Routing Functions of the GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page6
Gn Interface
The interface between GSNs (including SGSNs and GGSNs) in the same PLMN is a Gn interface.
The interface between GSNs in different PLMNs is a Gp interface.
Gn interfaces are mandatory in GPRS and UMTS networks.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page7
Protocol Stack of Gn and Gp Interfaces
UDP
L2
L1
IP
L2
L1
IP
UDP
Gn/GpGSN GSN
GTP GTP
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page8
Boards Related to Gn and Gp Interfaces The protocol stack of Gn and Gp interfaces is processed by ECUs, EPUs, and PFIs.
Gn/Gp User Plane
GTP/PCP GTP-U
PFP
PFI
UDP/IP
PHY
Gn/Gp Control Plane
GTP/PCP GTP-U
PFP
PFI
UDP/IP
PHY
SPP SM
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page9
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and
the GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and the
DNS Server
5. Configurations for the Interworking Between the SGSN and the
NTP Server
6. (Optional) Configurations of the Routing Functions of the GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Communications Signal Flows Inside the SGSN
SWI
SWU
MSPB0
G
T
P
P
C
P
U
M
P
MSPB0
G
T
P
P
C
P
U
M
P
PFP
UPBA3
S
P
P
S
G
P
D
D
P
UPBA3
S
P
P
S
G
P
D
D
P
Fabric/Base 1
SWI
SWU
Fabric
Base
PFP
Internal
Fabric/Base 2
Data
Gn/Gp signaling
Gn/Gp data
Iu/Gr/Gb signaling
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page11
EP
U/P
FI
EP
U/P
FI
Networking Example
0
SS
SGSNSGSN
OM
U
RR
LPU
SPU
GGSNGGSN
11 13
EC
U
4
EC
U
81
OM
U
211.0.0.2211.0.1.2
10.0.0.310.0.0.4
10.0.0.100
10.0.0.10
211.1.1.1
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page12
Parameter Negotiation of the Gn Interface (1) - Service IP Addresses
SGSN Frame No. Slot No.Interface
No.Operating Mode for
the InterfaceIP Address
EPU0 11 Active 211.0.0.2
211.0.1.20 13 Standby
The addresses in red are service IP addresses (GTPC/GTPU), which need to be negotiated when the GGSN interworks with the SGSN9810.
Logical IP Address of the Gn Interface for the GGSN
211.1.1.1
Logical IP Address of the Gn Interface for the other SGSN9810
211.12.0.1
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page13
Parameter Negotiation of the Gn Interface (2) - Interface IP Addresses
IP address of the Ethernet interface on the GGSN
10.0.0.100
IP address of the interface on the router
10.0.0.10
SGSN Frame No. Slot No.Interface
No.Operating Mode for
the InterfaceIP Address
PFI0 11 0 Active 10.0.0.3
0 13 0 Active 10.0.0.4
The addresses in blue are the IP addresses of interfaces, which need to be negotiated when the GGSN interworks with the router.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page14
Configuration Procedure for the CGP
Step Action Command
1. Configure the board.
1 Configure the EPU. ADD BRD
2. Configure the PFI interface.
2 Configure the PFI interface. MOD PORT
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page15
Configuration Procedure for the SGSN9810 (1)
Step Action Command
3. Configure the process group.
3 Configure the EPU process group. ADD PROCESSGRP
4. Configure IP addresses and static routes.
4.1 Set an IP address for the board. ADD BRDIP
4.2 Set the GTPC IP address. ADD BINDGTPCIP
4.3 Set the GTPU IP address. ADD BINDGTPUIP
4.4Configure a public network
segment. ADD PUBNWIP
4.5Set an IP address for the PFI interface. ADD IFIP
4.6 (optional) Set a static route. ADD IPRT
4.7 (optional)
Configure the default route on the board. ADD DFTRT
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page16
Configuration Procedure for the SGSN9810 (2)
Step Action Command
5. Setting dynamic routes (optional)
5.1 Set OSPF. SET OSPF
5.2 Add OSPF processes. ADD
OSPFPROCESS
5.3 Add OSPF areas. ADD OSPFAREA
5.4 Add OSPF interfaces. ADD OSPFNW
5.5 (optional) Set attributes of OSPF interfaces. SET OSPFPRO
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page17
Step 1 Configure the EPU.
Configure the EPU.
ADD BRD: SRN=0, SN=11, METYPE=SGSN-USN,
FBRDHTYP=MSPB0, BBRDHTYP=PFIA0,
APPTYPE=EPU, BUPDBRDTYPE=EEC,
BDOWNDBRDTYPE=EEC;
ADD BRD: SRN=0, SN=13, METYPE=SGSN-USN,
FBRDHTYP=MSPB0, BBRDHTYP=PFIA0, APPTYPE=EPU,
BUPDBRDTYPE=EEC, BDOWNDBRDTYPE=EEC;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page18
Step 2 Configure the PFI interface.
Ethernet Port
PFI
Configure the double active interfaces.
Active Standby
Receiving Sending
GGSN
PFI
EPU EPU
Active Active
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Configure the PFI interface.
MOD PORT: SRN=0, SN=11, PORTTYPE=EETH_PFI,
PORTNAME=Card1/Lan0;
MOD PORT: SRN=0, SN=13, PORTTYPE=EETH_PFI,
PORTNAME=Card1/Lan0;
EETH indicates an Ethernet electrical interface; FETH
indicates an Ethernet optical interface; ATM indicates an
STM optical interface.
Step 2 Configure the PFI interface.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page20
Step 3 Configure the EPU process group. Configure the EPU process group.
ADD PROCESSGRP: SRN=0, SN=11, PSN=13, PROCGRP=EPUGP;
When configuring a process group, you must select the slot number for the per process. The mapping relations of slot numbers are as follows: 0 to 2, 1 to 3, 4 to 8, 5 to 9, 10 to 12, and 11 to 13.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page21
Step 4.1 Set an IP address for the board. Set the IP address of the board.
ADD BRDIP: SRN=0, SN=11, MSTYPE=PRIMARY, IPT=IPV4,
IPV4=211.0.0.2, DESC=gtpc ip;
ADD BRDIP: SRN=0, SN=11, MSTYPE=SECONDARY,
IPT=IPV4, IPV4=211.0.1.2, DESC= gtpu ip;
You can set up to 48 addresses for an EPU.
You can set only one primary address for an EPU.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page22
Step 4.2 Set the GTP-C IP address.
Set the GTPC IP address.
ADD BINDGTPCIP: IPT=IPV4, IPV4=211.0.0.2,
PTTP=PROTOCOL;
ADD BINDGTPCIP: IPT=IPV4, IPV4=211.0.0.2,
PTTP=LOCAL;
The GTP-C IP address must be selected from the IP addresses
of the boards.
The GTP-U address of the local type must be selected from the
addresses of the protocol type.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page23
Step 4.3 Set the GTP-U IP address.
Set the GTP-U IP address.
ADD BINDGTPUIP: IPT=IPV4, IPV4= 211.0.1.2 ,
ITFDRT=GNGP;
ADD BINDGTPUIP: IPT=IPV4, IPV4=211.0.1.2 , ITFDRT=IUPS;
The GTP-U IP address must be selected from the IP addresses of the
boards.
The addresses of the Gn, Gp, and Iu-PS interfaces can be the same
or different from each other. You must set addresses for these
interfaces.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page24
Step 4.4 Configure the public network segment. ADD PUBNWIP (optional)
ADD PUBNWIP: IP= 10.0.0.0 , MSK= 255.255.0.0;
You can set up to eight public network segments for the SGSN9810.
After public network segments are set, you can assign IP addresses that belong to the public network segments to the PFI interfaces.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page25
Step 4.5 Set an IP address for the PFI interface. ADD IFIP
Using this command, you can set an IP address for each
interface of the PFI board
ADD IFIP: SRN=0, SN=11, IFTP=Physical, PN=0,
IPT=PRI, IP="10.0.0.2", MSK="255.255.0.0";
ADD IFIP: SRN=0, SN=11, IFTP=Physical, PN=0, IPT=PRI,
IP="10.0.0.2", MSK="255.255.0.0";
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page26
Step 4.6 Add static routes.
Configure a static route.
ADD IPRT: IP= 211.1.1.1, MSK= 255.255.0.0, GATE= 10.0.0.10,
PRE=40;
SGSN GGSN
GTP-C IP address: 211.1.1.1GTP-U IP address: 211.1.1.1
GTP-C IP address: 211.0.0.2GTP-U IP address: 211.0.1.2
Router
GW IP address: 10.0.0.10
IP address of the PFI port 10.0.0.2/10.0.0.4
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page27
Step 4.7 Set the default route.
ADD DFTRT
Using this command, you can set a default route for a certain
EPU.
ADD DFTRT: SRN=0, SN=11, GATE= 10.0.0.10;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Step 5.1: Configure dynamic routing: OSPF. SET OSPF
This command is used to enable OSPF.
Example:
SET OSPF: SW=ON;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Step 5.2: Configure dynamic routing: OSPF process. ADD OSPFPROCESS
This command is used to configure an OSPF process number. OSPF
supports multiple processes. Different OSPF processes do not affect each
other and run independently. The routing interaction between different
OSPF processes can be regarded as the routing interaction between
different routing protocols.
A process can contain multiple interfaces. An interface, however, can
belong to only one OSPF process. Multiple processes can be used to
isolate the routing domains of different interfaces.
Example:
ADD OSPFPROCESS: PID=1;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Step 5.3: Configure dynamic routing: OSPF area.
ADD OSPFAREA
This command is used to add an OSPF area and
configure the authentication type and area type for the
OSPF area. If area authentication is configured, running
this command is to use the same authentication mode
for all the interfaces in the specified area.
Example:
ADD OSPFAREA: PID=1, AREA="0.0.0.0", ATP=NULL,
AREATYPE=TRANSIT;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Step 5.4: Configure dynamic routing: OSPF network.
ADD OSPFNW This command is used to add the network segment and area in which the
interface running OSPF is located. If the IP address of the interface is within
the command-specified network segment, the interface runs OSPF. The
interface can be an EETH or an FETH interface.
Example:
ADD OSPFNW: PID=1, IP="10.0.0.2", MASK="0.0.255.255",
AID="0.0.0.0"; //Add an OSPF network to which an interface address
belongs.
ADD OSPFNW: PID=1, IP=" 211.0.1.2 ", MASK="0.0.0.0",
AID="0.0.0.0"; //Add an OSPF network to which a board address belongs.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page32
Test
GTP-C/U
UDP
IP
GTP-C/U
UDP
IP
PING
TST GTPPATH
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page33
Testing IP Routes
Run the following commands to test the Gn interface:
PING
Control Plane
– PING: SRN=0, SN=11, DIP= 211.1.1.1, SIP= 211.0.0.2;
User Plane
– PING: SRN=0, SN=11, DIP= 211.1.1.1, SIP= 211.0.1.2;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page34
Testing the GTP-C/GTP-U Route
TST GTPPATH
TST GTPPATH: GTPPATHTYPE=GTPC, PATHINTFTYPE=GU,
IPTYPE=IPV4, LOCIPV4ADDR= 211.0.0.1 , PEERIPV4ADDR=
211.1.1.1 ;
TST GTPPATH: GTPPATHTYPE=GTPU, PATHINTFTYPE=GU,
IPTYPE=IPV4, LOCIPV4ADDR= 211.0.0.2 , PEERIPV4ADDR=
211.1.1.1 ;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page35
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and the
GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and the
DNS Server
5. Configurations for the Interworking Between the SGSN and the
NTP Server
6. (Optional) Configurations of the Routing Functions of the GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page36
Background
Old SGSNOld SGSN New SGSNNew SGSN
RA1RA1 RA2RA2 RA3RA3 RA4RA4
(1)RAU request(1)RAU request
DNS server
(2)DNS request(2)DNS request
(RAI Domain name)(RAI Domain name)
(3)DNS response(3)DNS response
(old SGSN ip address)(old SGSN ip address)
(4)SGSN context (4)SGSN context requestrequest
RAI Domain nameRAI Domain name
RACXXX.LACYYY.MNCZZZ.MCCAAA.GPRSRACXXX.LACYYY.MNCZZZ.MCCAAA.GPRS
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page37
Configuration Procedure
Step Action Command
1. Configuring a Static Route
9 (optional)
Configuring the Static Route to the SGSN ADD IPRT
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page38
Step 9 Configure the static route to the SGSN.
Configure IP routes.
ADD IPRT: IP= 211.12.0.0 , MSK= 255.255.0.0 , GATE= 10.0.0.10 ,
PRE=40;
SGSN SGSN
GTP-C IP: 211.12.0.1GTP-U IP: 211.12.2.1GTP-C IP: 211.0.0.2
GTP-U IP: 211.0.1.2
Router
GW IP: 10.0.0.10
PFI Port IP: 10.0.0.2/10.0.0.4
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page39
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and the
GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and
the DNS Server
5. Configurations for the Interworking Between the SGSN and the
NTP Server
6. (Optional) Configurations of the Routing Functions of the
GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page40
Functions of the DNS Server Analyze the APN in the PDP context activation process to obtain the IP
address of the GGSN.
Analyze the RAI in the inter-SGSN RAU process to obtain the IP address
of the SGSN.
Analyze the RNC ID in the SRNS transition process to obtain the IP
address of the SGSN. SGSN GGSN (A)
MS
BSS
GPRS backboneGPRS backboneGPRS backboneGPRS backboneISP AISP AISP AISP A
ISP BISP BISP BISP B
Internet/
IntranetGGSN (B)DNS
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page41
Priority of Analysis
The analysis methods are as follows:
DNS Server
HOSTFILE
On the SGSN, the priorities of various analysis
methods are as follows: HOSTFILE set for the EPU
DNS cache on the EPU
DNS server
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page42
Example
EP
U/P
FI
EP
U/P
FI
0 4 8
SS
SGSNSGSN
EC
U
OM
U
EC
U
RR
LPU
SPU
GGSNGGSN
11 13
DNS server
211.13.1.1
1
OM
U
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page43
Configuration Procedure DNS Server
Step Action Command
Configure IP routes.
1Set the static route to the DNS server. ADD IPRT
2Configure the default route on the board. ADD DFTRT
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page44
Configuration Procedure: DNS Server
Step Action Command
Configuring the DNS server
3Selection mode of the DNS server
SET GBSM/ SET IUSM
4 Configure the DNS server. ADD DNSS
5Configure the mapping from the APNOI to the DNS server. ADD APNOIDNSS
6
Configure the mapping from the PLMN ID to the DNS server. ADD PLMNDNSS
7 Set DNS-related parameters. SET DNS
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page45
Step 1 Set the static route to the DNS server.
Configuring IP routes. ADD IPRT: IP= 211.13.0.0, MSK= 255.255.0.0, GATE=
10.0.0.10, PRE=40;
SGSNDNS Server
DNS IP: 211.13.1.1DNS IP: 211.0.3.1
Router
GW IP: 10.0.0.3
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Step 2 Configure the DNS server selection mode.
SET GBSM / SET IUSM
SET GBSM: DNSSMODE=BYAPNOI;
SET IUSM: DNSSMODE=BYPLMN;
In the PDP context activation procedure, DNS resolution can
be performed in one of the following modes:
Common mode
DNS server selection by APN OI
DNS server selection by PLMN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page47
Step 3 Configure the DNS server.
ADD DNSS ADD DNSS:IP= 211.13.1.1, PRI=PRI1;
The SGSN9810 supports configuration of up to six universal DNS servers and 32 special DNS servers.
Each DNS server has a unique priority.
Special DNS servers are only used to select DNS servers according to the APN-OI or PLMN in the PDP activation process.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page48
Step 4 Configure mapping from the APN OI to the DNS server.
ADD APNOIDNSS ADD APNOIDNSS: APNOI= MNC000.MCC460.GPRS, IP=
211.13.1.1, PRI=30;
If a specified APN-OI is not configured with a corresponding DNS server, the SGSN9810 selects a universal DNS server.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page49
Step 5 Configure the mapping from the PLMN to the DNS server. ADD PLMNDNSS
ADD PLMNDNSS: MCC= 460, MNC= 01, IP= 211.13.1.1, PRI=200;
If a specified PLMN is not configured with a corresponding DNS
Server, the SGSN9810 selects a universal DNS server.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page50
Step 6 Set DNS parameters.
SET DNS: TMS=5;
Certain parameters, such as the timer and counter, are related to the configuration of the DNS sever.
Generally, DNS parameters need not be modified.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page51
Configuration Procedure: DNS Hostfile
Step Action Command
1Selection mode of the DNS Host file
SET GBSM/ SET IUSM
2 Configure the DNS host file. ADD
IPV4DNSH
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page52
Step 1 Set the selection Mode of the DNS Hostfile.
SET GBSM / SET IUSM
SET GBSM: DNSHMODE=COMMON;
SET 3GSM: DNSHMODE=COMMON;
At present, the SGSN9810 supports only the universal mode.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page53
Step 2 Configure the Hostfile.
ADD IPV4DNSH ADD IPV4DNSH: NM= mobile.MNC000.MCC460.GPRS,
ADDRNUM=FOUR, ADDR1= 211.13.1.1;
The domain names configured in HOSTFILE are:
APN
- Mobile.MNCYYY.MCCZZZ.GPRS
Adjacent RA
- RACAAAA.LACBBBB. MNCYYY.MCCZZZ.GPRS
Adjacent RNC ID
- RNCXXX. MNCYYY.MCCZZZ.GPRS
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page54
Test
To test the DNS, use the following commands:
PING
– PING: SRN=0, SN=10, DIP= 211.13.1.1, SIP= 211.0.3.1;
TST DNS:
– TST DNS: SRN=0, SN=10, HOST=mobile.mnc000.mcc460.gprs,
RSVTP=SERVER, SVRIP= 211.13.1.1;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page55
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and the
GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and the
DNS Server
5. Configurations for the Interworking Between the SGSN and
the NTP Server
6. (Optional) Configurations of the Routing Functions of the GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page56
Functions of NTP
The system time can be used for the following purposes:
Performance management
Alarming
Accounting
The source of the reference time can be one of the following:
Internal clock of the system
NTP server
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page57
Principle of NTP Synchronization
NTP Server NTP Server NTP Server……
E
P
U
S
M
M
E
P
U
E
P
U
Active OMURTC Standby OMU RTC
NTP
NTP
……
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page58
The flow of time calibration for the SGSN9810 is as follows:
The active OMU synchronizes its time with the NTP server
regularly and applies its time to the operating system of the active
OMU and the RTC of the rear board. If the NTP server is unavailable,
the OMU synchronizes its time with the RTC regularly and applies the
time to the operating system. The time calibration between the OMU
and NTP server adopts NTP. Between the OMU and RTC is a drive
interface.
Flow of Time Calibration
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page59
The standby OMU synchronizes its time with the active OMU regularly and applies the time to the operating system of the standby OMU and the RTC of the rear board. When the standby OMU synchronizes time with the active OMU, you should eliminate network delay on the active OMU. The NTP time calibration processing logic does not operate on the standby OMU. Only when the standby OMU switches to the active OMU, the NTP time calibration processing function is enabled. When synchronizing time with the standby OMU and the host, the active OMU obtains time signals from the RTC first.
The active OMU obtains time signals from the operating system only when failing to obtain time signals from the RTC.
Boards of the host synchronize time with the OMU regularly through NTP. If the communications between the host and the OMU fail, each board operates independently.
Flow of Time Calibration
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page60
Example
EPU:EPU:
EP
U/P
FI
EP
U/P
FI
0 4 8
SS
SGSNSGSN
EC
U
OM
U
EC
U
RR11 13
NTP server
1
OM
U
10.161.71.100
EPU:211.0.4.1
10.161.70.110.161.70.0
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page61
Configuring NTP (Service Network)
Step Action Command
1. Configure IP parameters.
1.1
Configure a public network segment.(same principle as Gn/Gp configuration) ADD PUBNWIP
1.2
Set an IP address for the PFI interface. (same principle as Gn/Gp configuration) ADD IFIP
1.3 Configuring IP routes. ADD IPRT
2. Configure NTP parameters.
2.1Configure the IP address of the NTP client.
ADD NTPCLIENTIP
2.2 Configure the NTP server (CGP). ADD NTPSVR
2.3 Set the NTP configuration (CGP) SET NTPCFG
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page62
Step 1.3 Configuring IP routes.
Set a route to the NTP server on the network.
ADD IFIP: SRN=0, SN=11, PN=0, IP= 10.161.70.0, MSK=
255.255.255.0;
ADD IPRT: IP= 10.161.71.0, MSK= 255.255.255.0, GATE=
10.161.70.1;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page63
Step 2.1 Set an IP address for the NTP client.
ADD NTPCLIENTIP
ADD NTPCLIENTIP: IPV4= 211.0.4.1 ;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page64
Step 2.2 Configure the NTP server.
ADD NTPSVR
ADD NTPSVR: SVRNAME= NTP Server , IPADDRESS=
10.161.71.100 , AUTHFLAG=YES, KEYID=1, KEYSTRING=
network , CONNECTTYPE=OPERATION_NET;
ADD NTPSVR: SVRNAME= NTP Server , IPADDRESS=
10.161.71.101 , AUTHFLAG=NO,
CONNECTTYPE=OPERATION_NET;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page65
Step 2.3 Set NTP parameters.
SET NTPCFG
SET NTPCFG: SYNPERIOD=5, SYNFORCED=NO,
THRESHOLD=3;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page66
Configure NTP: Maintenance Network
Step Action Command
1Configure the NTP server
(CGP MML) ADD NTPSVR
2Set NTP parameters (CGP
MML) SET NTPCFG
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page67
Step 1: Configure the NTP server.
ADD NTPSVR
ADD NTPSVR: SVRNAME="NTP Server",
IPADDRESS="10.161.71.100", AUTHFLAG=YES,
KEYID=1, KEYSTRING="network",
CONNECTTYPE=MAINTENANCE_NET;
ADD NTPSVR: SVRNAME="NTP Server",
IPADDRESS="10.161.71.101", AUTHFLAG=NO,
CONNECTTYPE=MAINTENANCE_NET;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page68
Test NTP
DSP NTPSVR
DSP NTPSVR: SVRNAME= NTP Server;
%%DSP NTPSVR:;%% RETCODE = 0 Operation succeeded.
NTP server status ------------------ NTP server name = NTP Server IP address = 10.161.71.101Connection status = Abnormal Is time source = No (Number of results = 1) --- END
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page69
Contents
1. Basic Concepts
2. Configurations for the Interworking Between the SGSN and
the GGSN
3. Configurations for the Interworking Between Two SGSNs
4. Configurations for the Interworking Between the SGSN and
the DNS Server
5. Configurations for the Interworking Between the SGSN and
the NTP Server
6. (Optional) Configurations of the Routing Functions of the
GGSN
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page70
Optional Routing Function of the GGSN9810
To increase the reliability of network and service operation
the active and standby mode to routing GGSN
DNS response multiple GGSN IP, 1 active+ N standby
load-sharing mode to routing GGSN
DNS response multiple GGSN IP which work in load-sharing mode
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page71
Optional Routing Function of the GGSN9810
To routing GGSN based on the IMSI segment
For example: select a GGSN for content-based charging.
To routing GGSN based on APNOI
When multiple carriers use one SGSN, each carrier can have its
own DNS server and make independent DNS resolving policies and
analyze the address to a particular GGSN.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page72
Availability of Optional Routing Functions of the GGSN9811 The routing function of the active and standby mode and the
load-sharing mode is available only after the license is
obtained.
Selecting a GGSN based on the IMSI segment or selecting
a DNS based on the APN OI does not need support of the
license.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page73
Selecting a GGSN According to the IMSI Segment Selecting a GGSN according to the IMSI segment
When a GGSN is selected according to the IMSI, the
SGSN9810 checks whether the signaling plane IP address of
the corresponding GGSN is configured according to the IMSI
of the user during the activation process.
If yes, the SGSN9810 does not initiate DNS resolving and uses
the IP address directly.
If not, the SGSN9810 queries the IP address of the
corresponding GGSN by constructing the APN and performing
DNS resolving.
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page74
Selecting a GGSN According to the IMSI Segment
The GGSN IP address based on the IMSI segment is
configured.
SET SERVICE_PARA: GGSN=YES;
ADD IMSISMCHAR: BEGIMSI= 460001234560000, ENDIMSI=
460001234569999, PARATYPE=GGSNIP, IPV4= 211.1.1.1 ,
QOS2G=NO, QOS3G=NO;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page75
Selecting a GGSN According to the IMSI Segment (Cont.)
The GGSN APN OI based on the IMSI segment is configured.
SET SERVICE_PARA: GGSN=YES;
ADD IMSISMCHAR: BEGIMSI= 460001234560000,
ENDIMSI= 460001234569999, PARATYPE=APNOI, APNOI=
MNC000.MCC460.GPRS, DFTNI= HUAWEI1.COM,
QOS2G=NO, QOS3G=NO;
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page76
Selecting a DNS According to the APN OI
The SGSN9810 selects the DNS server according to the APN
OI.
ADD APNOIDNSS
ADD APNOIDNSS: APNOI= MNC000.MCC460.GPRS, IP=
211.13.1.1, PRI=30;
If a special APN OI is not configured with a corresponding DNS
Server, the SGSN9810 selects a universal DNS server.
ADD DNSS:IP="123.111.100.102", PRI=PRI6;
top related