Anda di halaman 1dari 77

SGSN9810 V900R010C02 Gn and Gp Interfaces Data Configuration

ISSUE2.0
www.huawei.com

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

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.

Page1

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.

Page2

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.

Page3

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.

Page4

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.

Page5

Protocol Stack of Gn and Gp Interfaces

G T P G T P

U D P U D P

I P I P

L 2L 2

L 1L 1

G n / G p

G S N G S N
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page6

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 PFP PFI GTP-U UDP/IP PHY

Gn/Gp Control Plane SPP GTP/PCP PFP PFI SM GTP-U UDP/IP PHY

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page7

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.

Page8

Communications Signal Flows Inside the SGSN


SWI SWI

SWU

SWU Gn/Gp signaling Gn/Gp data Base Iu/Gr/Gb signaling UPBA3 S P P Fabric S G P D D P UPBA3 S P P S G P D D P

Fabric/Base 1 Fabric/Base 2

MSPB0 G T P P C P U M P G T P

MSPB0 P P U P

C M

Internal PFP PFP

Data

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Networking Example
10.0.0.3 10.0.0.4
10.0.0.10
EPU/PFI EPU/PFI

R
10.0.0.100

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

OMU

OMU

ECU

ECU

11 13

211.0.0.2 211.0.1.2

SGSN

L P U

S P U

GGSN 211.1.1.1

Page10

Parameter Negotiation of the Gn Interface (1) - Service IP Addresses


SGSN EPU Frame No. 0 0 Slot No. 11 13 Interface No. Operating Mode for the Interface Active Standby IP Address 211.0.0.2 211.0.1.2

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

The addresses in red are service IP addresses (GTPC/GTPU), which need to be negotiated when the GGSN interworks with the SGSN9810.

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page11

Parameter Negotiation of the Gn Interface (2) - Interface IP Addresses


SGSN PFI Frame No. 0 0 Slot No. 11 13 Interface No. 0 0 Operating Mode for the Interface Active Active IP Address 10.0.0.3 10.0.0.4

IP address of the interface on the router 10.0.0.10

IP address of the Ethernet interface on the GGSN 10.0.0.100

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.

Page12

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.

Page13

Configuration Procedure for the SGSN9810 (1)


Step
3 4.1 4.2 4.3 4.4 4.5 4.6 (optional) 4.7 (optional)

Action
Configure the EPU process group. Set an IP address for the board. Set the GTPC IP address. Set the GTPU IP address. Configure a public network segment.

Command
ADD PROCESSGRP ADD BRDIP ADD BINDGTPCIP ADD BINDGTPUIP ADD PUBNWIP ADD IFIP ADD IPRT ADD DFTRT

3. Configure the process group.


4. Configure IP addresses and static routes.

Set an IP address for the PFI interface.


Set a static route. Configure the default route on the board.

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page14

Configuration Procedure for the SGSN9810 (2)


Step
5.1 5.2 Set OSPF. Add OSPF processes.

Action

Command SET OSPF ADD OSPFPROCESS

5. Setting dynamic routes (optional)

5.3
5.4 5.5 (optional)

Add OSPF areas.


Add OSPF interfaces. Set attributes of OSPF interfaces.

ADD OSPFAREA
ADD OSPFNW SET OSPFPRO

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page15

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.

Page16

Step 2 Configure the PFI interface.


Sending

Receiving

Active

Active

PFI
Active

PFI
Standby

EPU

EPU

GGSN Configure the double active interfaces.

Ethernet Port

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page17

Step 2 Configure the PFI interface.

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.

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

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.

Page19

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.

Page20

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.

Page21

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.

Page22

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.

Page23

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.

Page24

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;
IP address of the PFI port 10.0.0.2/10.0.0.4

SGSN
GTP-C IP address: 211.0.0.2 GTP-U IP address: 211.0.1.2

Router

GGSN
GTP-C IP address: 211.1.1.1 GTP-U IP address: 211.1.1.1

GW IP address: 10.0.0.10

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page25

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.

Page26

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.

Test
TST GTPPATH
GTP-C/U UDP IP GTP-C/U

PING

UDP IP

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page31

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.

Page32

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.

Page33

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.

Page34

Background
RAI Domain name RACXXX.LACYYY.MNCZZZ.MCCAAA.GPRS (3)DNS response
DNS server

(old SGSN ip address) (4)SGSN context request

(2)DNS request (RAI Domain name)

Old SGSN

New SGSN

(1)RAU request

RA1

RA2

RA3

RA4

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page35

Configuration Procedure
Step
9 (optional)

Action
Configuring the Static Route to the SGSN

Command

1. Configuring a Static Route


ADD IPRT

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page36

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;
PFI Port IP: 10.0.0.2/10.0.0.4

SGSN

Router

SGSN GTP-C IP: 211.12.0.1 GTP-U IP: 211.12.2.1

GTP-C IP: 211.0.0.2 GTP-U IP: 211.0.1.2

GW IP: 10.0.0.10

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page37

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.

Page38

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)

ISP A GPRS backbone


BSS DNS GGSN (B) Internet/ Intranet

ISP B

MS
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page39

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.

Page40

Example

EPU/PFI

EPU/PFI

OMU

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

OMU

ECU

ECU

11 13

SGSN
DNS server 211.13.1.1

L P U

S P U

GGSN

Page41

Configuration Procedure DNS Server


Step Configure IP routes.
1 Set the static route to the DNS server. Configure the default route on the board. ADD IPRT

Action

Command

ADD DFTRT

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page42

Configuration Procedure: DNS Server


Step Action
Selection mode of the DNS server

Command
SET GBSM/ SET IUSM

Configuring the DNS server


3

4
5

Configure the DNS server.


Configure the mapping from the APNOI to the DNS server. Configure the mapping from the PLMN ID to the DNS server. Set DNS-related parameters.

ADD DNSS
ADD APNOIDNSS

6 7

ADD PLMNDNSS SET DNS

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page43

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;

SGSN DNS IP: 211.0.3.1

Router

DNS Server DNS IP: 211.13.1.1

GW IP: 10.0.0.3

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page44

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.

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.

Page46

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.

Page47

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.

Page48

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.

Page49

Configuration Procedure: DNS Hostfile

Step
1
2

Action
Selection mode of the DNS Host file Configure the DNS host file.

Command
SET GBSM/ SET IUSM ADD IPV4DNSH

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page50

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.

Page51

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.

Page52

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.

Page53

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.

Page54

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.

Page55

Principle of NTP Synchronization


NTP Server NTP Server NTP Server

NTP

RTC NTP

Active

OMU

Standby

OMU

RTC

S M M

E P U

E P U

E P U

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page56

Flow of Time Calibration


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.

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page57

Flow of Time Calibration


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.

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page58

Example
10.161.70.0 10.161.70.1
EPU/PFI EPU/PFI

OMU

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

OMU

EPU:
0 1 4 8

EPU:211.0.4.1 SGSN

ECU

ECU

11 13

NTP server
10.161.71.100

Page59

Configuring NTP (Service Network)


Step
1. Configure IP parameters. Configure a public network segment. (same principle as Gn/Gp configuration) Set an IP address for the PFI interface. (same principle as Gn/Gp configuration) Configuring IP routes. Configure the IP address of the NTP client. Configure the NTP server (CGP). Set the NTP configuration (CGP)

Action

Command

1.1

ADD PUBNWIP

1.2 1.3

ADD IFIP ADD IPRT ADD NTPCLIENTIP ADD NTPSVR SET NTPCFG
Page60

2. Configure NTP parameters. 2.1 2.2 2.3

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

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.

Page61

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.

Page62

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.

Page63

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.

Page64

Configure NTP: Maintenance Network

Step

Action

Command

1
2

Configure the NTP server (CGP MML)

ADD NTPSVR
SET NTPCFG

Set NTP parameters (CGP MML)

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page65

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.

Page66

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.101 Connection status = Abnormal Is time source = No (Number of results = 1) --- END

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page67

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.

Page68

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.

Page69

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.

Page70

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.

Page71

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.

Page72

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.

Page73

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.

Page74

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;

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page75

Thank You
www.huawei.com

Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

Page76