www.huawei.com Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved. GGSN9811 Data Configuration
Dec 28, 2015
www.huawei.com
Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GGSN9811 Data Configuration
Page1Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
References
� GGSN9811 user manual
� GGSN9811 trainee’s manual
Page2Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
� Upon completion of this course, you will be able to:
� Master GGSN9811 data configuration steps
� Master GGSN9811 data configuration method
� Master GGSN9811 data relationships and parameters setting
Page3Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concept
2. GGSN9811 Data Configuration
Page4Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concept
1.1 APN
1.2 MS Access Mode
1.3 MS Address Allocation
1.4 VPN
Page5Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
APN — Definition and Function
� APN: Access Point Name
� APN function:
� Use APN to identify the GGSN in the GPRS/WCDMA
backbone
� APN defines the external PDN which is connected to GGSN,
such as the ISP network and enterprise network
Page6Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
APN — Structure
� APN OI defines the external network
� APN NI defines the GPRS backbone of GGSN
� APN classification
� General APN: local accessing
� Area APN: home accessing
internet. mnc<MNC>.mcc<MCC>.gprs
APN Network Identifier
APN Network Identifier
APN Operator Identifier
APN Operator Identifier
Page7Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
APN — Application
SGSN MS GGSN
DNS
Ro
uter
traffic
www.yahoo.com=211.*.*.*
Domain name:WWW.YAHOO.COM
APN:cmnet
DNS DNS of GPRS
INTERNET
www.yahoo.com
IP address= 211.*.*.*
DNS of GPRS
Core network
APN=GGSN IP
Page8Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concept
1.1 APN
1.2 MS Access Mode
1.3 MS Address Allocation
1.4 VPN
Page9Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
MS Access Mode
� Transparent mode
� Fit for mobile operator acts as the ISP
� The IP address allocate to the MS belong to the operator’s network
� Generally, no need to authenticate the subscriber
� None transparent mode
� Fit for the mobile operator and ISP separate mode
� The IP allocate to MS belong to the operator or ISP
� Must authenticate the subscriber
Page10Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
MS Access Mode
MSGGSN
Radius
Ro
uter
1. Create PDP context request
2. Create PDP context respond
traffic
Trans
Page11Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
MS Access Mode
MS GGSN
Radius
Ro
uter
1. Create PDP context request
3. Create PDP context respond
traffic
Trans and Charging
Username and password
2. Cha
rging
Page12Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
MS Access Mode
MSGGSN
Radius
Ro
uter
1. Create PDP context request2.A
uthen
ticati
on or
charg
ing
3. Create PDP context respond
traffic
None trans
Username and password
Page13Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
MS Access Mode
MS GGSN
Radius
Ro
uter
1. Create PDP context request
3. Create PDP context respond
traffic
Trans and authentication
Username and password
2.Auth
entic
ation
or ch
arging
Page14Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concept
1.1 APN
1.2 MS Access Mode
1.3 MS Address Allocation
1.4 VPN
Page15Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
MS Address Allocation
� Static IP allocation
� The subscriber get the IP address when the they subscribe the
data service
� Dynamic IP allocation
� Allocate by GGSN internal IP address pool
� Allocate by RADIUS
� Allocate by DHCP
Page16Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concept
1.1 APN
1.2 MS Access Mode
1.3 MS Address Allocation
1.4 VPN
Page17Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
VPN� VPN: Virtual Private Network
� The subscriber get the IP address when the they subscribe the data service
� Features
� Address separation
� Data security
� Reachability inside VPN
� VPN Classification
� Layer 2 tunneling protocol
� PPTP, L2TP
� Layer 3 tunneling protocol
� GRE
Page18Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
VPN — GRE
� GRE:
� Network tunneling protocol (Generic Routing Encapsulation), GRE
can enable data packets encapsulated to transport on the IP network
� When transporting in a tunnel, a packet needs to experience
the following two processes:
� Encapsulation process
� Decapsulation process
Page19Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN
GGSN
MS GGSN
Ro
uter
Internet
(public IP and router)
Fire (NAT)
Active
Active respond
(private IP=10.10.10.10)
10.10.10.10 = (211.136.19.176, port)
NO GRE (local)
Active respond
(private IP)
ActiveGRE (remote)Internet
(pubilc IP and router)
www.yahoo.com211.136.19.176(port)data
Wap gateway10.10.10.10data
www.yahoo.com10.10.10.10data
MS
GRE tunnel
Wap gateway
yahoo
Ro
uter
2
Wap gateway ROUTER1 ROUTER210.10.10.10data
Ro
uter
1
Page20Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Typical Application
NO GRE and Trans
yahooGGSN
Internet
(public IP and router)
Fire (NAT)
Active
Active respond
(private IP=10.10.10.10)
10.10.10.10 = (211.136.19.176,port)
www.yahoo.com211.136.19.176(port)
data10.10.10.10data
MS
APN: cmnet
www.yahoo.com
Page21Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Typical Application
GRE and no Trans
1.Active PDP context request
3.Active PDP context respond
Username and password
MSGGSN
Ro
uter
Internet
(public IP and router)
Wapgateway
GRE tunnel
Wapgateway
Ro
uter
10.10.10.10 ROUTE
R
Gi IPWap gatewaydata
Ro
uter
Radius
10.10.10.10dat
a
10.10.10.10data Wap gateway
encapsulation
decapsulation
Page22Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Basic Concept
2. GGSN9811 Data Configuration
Page23Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page24Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Example
UHPU
UGTP
CG
ROUTER
AAA
SGSN
GGSN
internet
10.220.154.1/24 10.220.154.2/24
10.99.75.138/24
10.99.77.111/2410.99.76.2/24
10.99.76.1/24
10.99.75.137/24
10.99.77.110/24
LPU SPU SRU
gnif 217.164.95.80/32
gaif 10.99.75.3/32
giif 10.99.77.10/32
gif
GTP-C:217.64.95.67/24GTP-U:217.164.95.65/24
217.164.95.66/24
Page25Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page26Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Interface List
Eth 1/0/3
Eth 1/0/2
Eth 1/0/1
Eth 1/0/0
Physical
Interface
The MS downlink data package will be
transferred from G interface
GifGi
The logical interface is Giif when
GGSN9811 communicate with AAA server
GiifGi
The logical interface is Gaif when
GGSN9811 communicate with CG
GaifGa
The logical interface is Gnif when
GGSN9811 communicate with SGSN
GnifGn
RemarkLogical
Interface
Interface
Page27Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Interface IP List
10.99.76.1/24Eth 1/0/3
10.99.77.110/24Eth 1/0/2
10.99.75.137/24Eth 1/0/1
217.164.95.80/32Gnif
None
10.99.77.10/32
10.99.75.3/32
10.220.154.1/24
IP
Gif
Giif
Gaif
Eth 1/0/0
Interface
Page28Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Commands
� Configure the interface
� ADD INTF
� Active the interface
� ACT INTF
� Configure the IP address of the interface
� ADD IP
Page29Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Sequence
Physical Interface
Gnif
Giif
Gaif
Giif
Page30Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Physical Interface� Use Ethernet to identify the physical interface, configured on LPU
board and occupy specific physical port, the later logical interface will use the physical interface to forward the external data package
� Step
� Create the interface which connect to SGSN, LPU slot number is 1 and port
number is 0
ADD INTF: INTFN=“ethernet1/0/0";
� Active this physical interface
ACT INTF: INTFN=“ethernet1/0/0";
� Configure the IP and mask of this interface
ADD IP: INTFN=“ethernet1/0/0”, IPADDR=“10.220.154.1”, MASK=“255.255.255.0";
Page31Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Physical Interface� Create the interface which connect to CG, LPU slot number is 1 and port number is 1
ADD INTF: INTFN=“ethernet1/0/1";
� Active this physical interface
ACT INTF: INTFN=“ethernet1/0/1";
� Configure the IP and mask of this interface
ADD IP: INTFN=“ethernet1/0/1”, IPADDR=“10.99.75.137”, MASK=“255.255.255.0";
� Create the interface which connect to AAA, LPU slot number is 1 and port number is 2
ADD INTF: INTFN=“ethernet1/0/2";
� Active this physical interface
ACT INTF: INTFN=“ethernet1/0/2";
� Configure the IP and mask of this interface
ADD IP: INTFN=“ethernet1/0/2”, IPADDR=“10.99.77.110”, MASK=“255.255.255.0";
Page32Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Physical Interface
� Create the interface which connect to PDN, LPU slot number is 1
and port number is 3
ADD INTF: INTFN=“ethernet1/0/3";
� Active this physical interface
ACT INTF: INTFN=“ethernet1/0/3";
� Configure the IP and mask of this interface
ADD IP: INTFN=“ethernet1/0/3”, IPADDR=“10.99.76.1”,
MASK=“255.255.255.0";
Page33Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gnif
LPU SPU
Physical interface
Gn interface
Data
Gnif interface is used in GTP protocol stack, SGSN resolves this
APN domain name then gets this IP address
The data package receives from SGSN will conduct GTP
encapsulation in this interface
The data package sends to SGSN will conduct GTP decapsulation
in this interface
Gnif interface
� Basic concept
Page34Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gnif — User Plane Networking
LPU1 IPx.x.x.xGnif IP
NhopMaskDes
LPU1
SGSN9810 GGSN9811
ULPI SPU
Gnif接口
UHPU
MS
UHPU IP Gnif IP
LPU2
MS IPdata
ULPIx.x.x.xUHPU
Route0.0.0.00.0.0.0
NhopMaskDes
Sina IPMS IPdata Sina IP GTP head
GTP-U data
ROUTE
Gnif IP MS IP dataSina IPGTP head
GTP-U data
encapsulation decapsulation
decapsulationdecapsulation
UHPU IP
sina
uplink
downlinkMS IP dataSina IP
Page35Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gnif — Control Plane Networking
LPU
SGSN9810 GGSN9811
ULPI SPU
Gnif接口
UGTP UHPU
encapsulation decapsulationuplink
downlink
decapsulation
LPU1 IPx.x.x.xGnif IP
Next hopMaskDes
ULPIx.x.x.xUGTP
Next hopMaskDes
GTP-C data
UGTP IP Gnif IPSignal GTP head Signal
GTP-C data
UGTP IP Gnif IP SignalGTP headSignal
encapsulation
MS
Page36Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gnif Data Configuration
� Gnif is used to identify the Gn logical interface and configured
on SPU board, it does not occupy the physical port. It is the
source IP or destination IP of the GTP package
� Step
� Create the Gnif interface, the slot number is the odd SPU slot number
ADD INTF: INTFN="gnif3/0/0";
� Configure the IP address and mask of the Gnif interface
ADD IP: INTFN=“gnif3/0/0”, IPADDR=“217.164.95.80",
MASK="255.255.255.255";
� Configure the GTP protocol parameter:
SET GTP: ESW=ON, INTV=60, T3=10, N3=5, PRISW=OFF, PRIID=0,
IDLSW=OFF, IDLE=48
Page37Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Giif
LPU SPU
Physical interface
Gi interface
Data
Giif interface is used in Radius protocol stack
If the APN service requires authentication、accounting、authorization,
GGSN will send message to Radius after it receives PDP active
request from MS. In this message, the IP address is Giif IP.
If the APN doesn’t need AAA service, then this IP will not be configured
Giif interface
Radius
� Basic concept
Page38Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Giif
� Giif is used to identify the Gi logical interface and configured
on SPU board, it does not occupy the physical port. It is just
configured when you have the AAA server
� Step
� Create the Gnif interface, the slot number is the odd SPU slot number
ADD INTF: INTFN="giif3/0/0";
� Configure the IP address and mask of the Gnif interface
ADD IP: INTFN=“giif3/0/0”, IPADDR=“10.99.77.10",
MASK="255.255.255.255";
Page39Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gaif
� Gaif is used to identify the Ga logical interface and configured
on SPU board, it does not occupy the physical port.
� Step
� Create the Gaif interface, the slot number is the odd SPU slot number
ADD INTF: INTFN="gaif3/0/0";
� Configure the IP address and mask of the Gnif interface
ADD IP: INTFN=“gaif3/0/0”, IPADDR=“10.99.75.3", MASK="255.255.255.255";
� Configure the CG information
ADD CHGCG: IP="10.99.75.138", PRO=TCP, CGR=R4;
Page40Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gif� Basic concept
LPU SPUPhysical interface
G interface
DataRoute:MS IP network segment G_IP
-conduct GTP encapsulation
Route:SGSN_Gn network segment Nhop
-transfer GTP package to SGSN
Route:Other network segment Nhop
-other datagram route
Page41Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gif� Concept
Physical interface
G interface
LPU SPU
SGSN
Gif interface
Gnif interface
Data
Other router
� GGSN is a router with GPRS function,so there are two kinds
of data to come in GGSN: the IP package (black line) which
sends to MS and ordinary data package (red line). None but the MS IP package needs to be transfer to Gnif interface to
conduct GTP encapsulation, ordinary data package needn’t
Page42Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Gif� G interface is an inner interface of the equipment, it’s a
logical interface, identified by Gif.
� Step
� Create the Gif interface
ADD INTF: INTFN="gif0";
� Configure the route information of UE address for UE downlink
data
ADD IPRT: IP="192.168.10.0", MASK="255.255.255.0", PREF=1,
OP=REJECT, OUTOP=INTF, INTFTYPE="Gif0";
Page43Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page44Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Commands� Add a static route
� ADD IPRT
� Remove a static route
� RMV IPRT
� Query the route table information
� LST IPRT
� Query the detailed route table information
� LST IPRTDET
Page45Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GGSN9811 Route Table
GGSN G interfaceUE IP (downlink)3
Router DCG4
Router CAAA server5
Router ADefault routing (uplink)
2
Router EUHPU UGTP1
NhopgatewayDes IPNo.
GGSN
Ro
uter
Internet
(pubilc IP and router)
GRE tunnel
WAP gateway
Ro
uter B
Ro
uter A
SGSN
(1)(3)
(2)
Router C
Router DCG
AAA
(4)
(5)
Router E
Page46Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GGSN9811 Route Table
10.99.77.111
10.99.75.138
gif
10.99.76.2
10.220.154.1
Next Hop
MS downlink data package10.168.10.0/243
To CG10.99.75.0/244
To AAA server10.99.77.0/245
To PDNDefault route2
To SGSN217.164.95.0/2
4
1
RemarkDes IPNo.
Page47Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GGSN9811 Route Table� The static route to SGSN
� There are two static route to SGSN: GTP-C and GTP-U. they
are configured in the global route table
� ADD IPRT: IP=“X.X.X.X", MASK=“ ", OUTOP=GATEWAY,
GATEWAYIP=“Y.Y.Y.Y";
� X.X.X.X: GTP-U and GTP-C IP of SGSN
� Y.Y.Y.Y: the SGSN ULPI IP which connect to GGSN LPU
� ADD IPRT: IP=“217.164.95.60", MASK=“255.255.255.0 ",
OUTOP=GATEWAY, GATEWAYIP=“10.220.154.1";
Page48Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GGSN9811 Route Table� The downlink static route to the MS
� ADD IPRT: IP="10.168.10.0", MASK="255.255.255.0",
OUTOP=INTF, INTFTYPE="gif", INTFNUM="0";
� The static route to the AAA server
� ADD IPRT: IP=“10.99.77.0", MASK=“255.255.255.0", OUTOP=GATEWAY, GATEWAYIP=“10.99.77.111";
� The static route to the CG
� ADD IPRT: IP=“10.99.75.0", MASK=“255.255.0.0",
OUTOP=GATEWAY, GATEWAYIP=“10.99.75.138";
� The static route to the PDN
� ADD IPRT: IP=“0.0.0.0", MASK=“0.0.0.0", OUTOP=GATEWAY,
GATEWAYIP=“10.99.76.2";
Page49Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page50Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Example (Base on the previous example)
UHPU
UGTP
CG
ROUTER
AAA
SGSN
GGSN
internet
10.220.154.1/24 10.220.154.2/24
10.99.75.138/24
10.99.77.111/2410.99.76.2/24
10.99.76.1/24
10.99.75.137/24
10.99.77.110/24
LPU LPU Eth_Trunk0
Eth_Trunk1
Eth_Trunk2
Eth_Trunk3
GTP-C:217.64.95.67/24GTP-U:217.164.95.65/24
217.164.95.66/24
Page51Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Reliability Networking� Basic Concept
� If the physical interface work abnormally, all of the service
connect to this equipment fail. The resolution is the reliability networking which can bind two physical interfaces together with
one Eth_trunk, the two interface work in active and standby
mode, if the active one failed, system can switch to the standbyinterface
� At most, one Eth_trunk can bind with 16 physical interfaces, but
for the reliability networking, it is recommended to bind only two
physical interfaces with one trunk
� One Eth_trunk has only one IP address, all of the interface bind
with the Eth_trunk has the same IP
� Eth_trunk is identified by the trunk id which is from 0~15
� Eth_trunk is a logical concept
Page52Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Reliability Networking� Step (just give the interface connect to SGSN)
� Create the Eth_trunk logical interface
� ADD INTF: INTFN = "Eth-Trunk0";
� Active this Eth_trunk
� ACT INTF: INTFN = "Eth-Trunk0";
� Configure the IP address of this Eth_trunk
� ADD IP: INTFN = "Eth-Trunk0", IPADDR = "10.220.154.2",MASK =
"255.255.255.0";
� Set the Eth_trunk interface work in active and standby mode,
otherwise, all of the interface work in load sharing mode
� SET TRKHAMODE: INTFN="eth-trunk0";
Page53Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Reliability Networking
� Create the ethernet1/0/0 interface that should bind with the
Eth_trunk0
� ADD INTF: INTFN = “Ethernet1/0/0";
� ACT INTF: INTFN = “Ethernet1/0/0";
� Create the ethernet2/0/0 interface that should bind with the
Eth_trunk0
� ADD INTF: INTFN = “Ethernet2/0/0";
� ACT INTF: INTFN = “Ethernet2/0/0";
� Bind the two physical interface with this trunk
� ADD ETHTRK: INTFN = "Ethernet1/0/0", TRKID = 0;
� ADD ETHTRK: INTFN = "Ethernet2/0/0", TRKID = 0;
Page54Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page55Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Commands
� Configure basic information about APN SET APN
� Configure IP address pool for the APN SET POOL
� Configure APN authentication information SET AUTH
� Configure APN authentication security key SET AUTHSEC
� Configure APN common user SET COMUSR
� Configure APN accounting information SET ACCT
� Configure APN accounting security key SET ACCTSEC
� AAA Client function SET AAASIG
� Set DNS configuration information SET DNS
� Set default DNS configuration information SET DEFDNS
Page56Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
APN
� SET APN
� SET APN: APN="test", SM=NO, ACCESS=TNA,
IPADDRMODE=LOCAL;
� LST APN: APN=“test";
� RMV APN: APN=“test";
� If the APN need VPN, bind the APN with the VPN instance
Page57Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
IP Pool
� SET Pool
� Address pool associates with APN
� The different APN can not has the same address pool, if the APN bind
with different VPNI, they are allowed to has the same address pool
� Example:
� SET POOL: APN=“huawei.com”, PID=0, SID=0, IP=“10.168.10.0",
LEN=100;
� LST POOL: APN=“huawei.com";
� RMV POOL: APN=“huawei.com", PID=0, SID=0;
Page58Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
AAA Authentication
� SET AUTH & SET AUTHSEC� If the APN configuration is “NT” or “TA”, when the MS access the APN,
it need authentication, then we must configure the authentication information
� Step:
� Configure the AAA server IP
� SET AUTH: APN="huawei.com", VPNSW=NO, MIP="10.99.77.111",BIP="10.99.77.112";
� Configure the AAA server security key
� SET AUTHSEC: APN="huawei.com", MSEC="chinahuawei", BSEC="huaweichina";
� Configure the default user name and password for this APN
� SET COMUSR: APNNAME="huawei.com", USRNAME="ggsn", PWD="ggsn";
Page59Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
AAA Accounting
� SET ACCT & SET ACCTSEC
� Step:
� Configure the AAA server IP and accounting information
� SET ACCT: APN="huawei.com", MIP="10.99.77.111", BIP="10.99.77.112",
VPNSW=NO, AT=FLOW, FVALUE=1024;
� Configure the AAA server security key
� SET ACCTSEC: APN="huawei.com", MSEC="chinahuawei",
BSEC="huaweichina";
� Configure the AAA client features
� SET AAASIG: APN="huawei.com", TRASW=YES, APN3GPP=NO,
ACCMSGSW=YES;
Page60Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
DNS
� SET DNS
� Configure the DNS information related to a specific APN
� Configure DNS information after the APN configuration
� Example:
� SET DNS: APN=“huawei.com", SW=LOCAL, MDNSIP="1.1.1.1",
BDNSIP="1.1.1.2";
� LST DNS: APN=“huawei.com”;
� RMV DNS: APN=“huawei.com";
Page61Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
DNS� SET DEFDNS
� Configure the default DNS information
� Default DNS is a global information, any APNs can not get DNS
will use this DNS IP
� Example:
� SET DEFDNS: SW=LOCAL, MDNSIP="1.1.1.1", BDNSIP="1.1.1.2";
� LST DEFDNS:
� RMV DEFDNS:
Page62Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page63Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration
� Concept
� VPN instance
� It needs to create a VPN instance before using GRE, there are
three parameters bind with this instance
� VPN instance name (APN, interface, tunnel), G interface and Gi
interface may be included in the interface according to the
requirement
� APN is used to judge the route of the uplink data package;
G interface is used to judge the route of the downlink data package
Gi interface is used between GGSN and AAA server
Tunnel is used to encapsulate the subscriber’s data package
Page64Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration
� Between different APN, APN and global route is
separate entirely, they are sightless with each other
VPN
instance1
VPN
instanceN
APN1
APNn
Tunnel1
Tunnel2G interface
Gi interface
G interface
Gi interface
Page65Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration
APN1
Tunnel1
Tunnel2
ROUTER
Physical address of the tunnel
Network address of the tunnel
WAP
gateway
10.0.0.129
129.1.1.3
211.139.1.1/16211.138.1.1/16
129.1.1.1
AAA
server
129.1.1.2129.1.1.1
210.139.1.1/16211.138.1.1/1610.1.1.1
ROUTER
VPN
Route
Table
Page66Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration
� Create VPN instance
� Create a VPN instance
� CRE VPNI: VIN="cmwap";
� Specify the RD for the VPN instance
� SET VPNRTDSTG: VPNI="cmwap", RTDSTG="10.100.1.1:1";
Page67Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration� Create GRE tunnel
� Create virtual tunnel interface
� ADD INTF: INTFN="tunnel1/0/0";
� Set encapsulation mode of packets on Tunnel interface
� SET TUNNELPROT: INTFN="tunnel1/0/0", PROTN=GRE;
� Specify source addresses for a Tunnel
� SET TUNNELSRC: INTFN="tunnel1/0/0", OP=INTF, SRCINTFN="ethernet1/0/0";
� Specify destination addresses for a Tunnel
� SET TUNNELDES: INTFN=“tunnel1/0/0”, DESIP=“211.139.1.1“;
� Configure network address
� If static route is next hop mode, then configuring network address here to be the next hop of GRE route. Otherwise, no more configuration is needed here
Page68Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration
� APN binding VPN instance
� Set APN name, and bind with a VPN instance
� SET APN: APN="cmwap", SM=NO, ACCESS=NT,
ADDRMODE=LOCAL, VPNI="cmwap";
� All of the activated data package whose APN is cmwap will be bind
with the cmwap VPN
Page69Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration
� Binding Tunnel interface/G interface/Gi interface
� SET VPNIBIND: INTFN="tunnel1/0/0", VIN="cmwap";
� SET VPNIBIND: INTFN="gif10", VIN="cmwap";
� SET VPNIBIND: INTFN="giif3/0/0", VIN="cmwap";
� Giif doesn’t need to bind with VPN if no GRE VPN to AAA server
� Gnif interface should not be bind with VPN
Page70Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GRE VPN Configuration� Configuring VPN Route
� Configure the route to wap gateway
� ADD IPRTVPN: VPNN="cmwap", IP=“0.0.0.0", MASK="255.255.0.0", NHOP=GATEWAY, GWIP="129.1.1.2";
� Note: Select tunnel not by destination address but APN
� Configure the route to AAA server
� ADD IPRTVPN: VPNN=“cmwap”, IP=“10.1.1.1", MASK="255.255.0.0", NHOP=GATEWAY, GWIP=“129.1.1.3";
� It doesn’t needs to bind this interface with VPN if no GRE VPN to AAA server
� Configure the downlink encapsulation route
� ADD IPRTVPN: VPNN=“cmwap”, IP=“MS network segment",MASK="255.255.0.0", NHOP=INTF, INTFTYPE="gif", INTFNUM="10";
� Configure route to PDN
� Configure a default route, the upper router acts as gateway
Page71Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Contents
2 GGSN9811 Data Configuration
2.1 Configuration Example
2.2 Interface and IP Configuration
2.3 Route Table Configuration
2.4 Reliability Networking
2.5 APN Configuration
2.6 GRE VPN Configuration
2.7 Charging Configuration
Page72Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Sequence
GGSN Charging Principle
GGSN Charging Data Configuration
Page73Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
GGSN Charging Principle� GGSN just can export G-CDR
� R98 CDR version:
� CMCC V130
� GSMV760
� R99 CDR version:
� TS32015V390、TS32015V3A0
� R4 CDR version:
� TS32215V440
� CDR format must match the peer CG supporting
Page74Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
G-CDR Main Content
M field:Record TypeServed IMSIServed MSISDNSGSN AddressCharging IDGGSN AddressAPN NIServed PDP AddressList of Traffic Data VolumesRecord Opening TimeDurationCause for Record ClosingRecord ExtensionsLocal Record Sequence
NumberSGSN PLMN Identifier
O field:Network Initiated PDP ContextPDP typeAPN Seletion ModeDiagnosticsNode ID
C field:Dynamic Address FlagRecord Sequence NumberCharging Characteristics
Page75Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
G-CDR and Partial CDR� In one PDP activate procedure, one entire CDR will be generated,
but for some reasons, the CDR is composed of several partial CDRs, then the consolidation of partial CDRs is accomplish by CG or BS
� G-CDR closed reason:� termination of PDP context
� any abnormal release� Note: At present, CDR closure result from abnormal interruption is looked as
normal active pause.
� partial G-CDR generated reason:� data volume limit� time (duration) limit
� maximum number of charging condition changes
� management intervention� SGSN switch
� The above restriction can be configured
Page76Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Management
GGSN
SGSN
Home RoamingVisiting
46000
46001
SGSN
Page77Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Other Billing Methods
� Besides G-CDR, GGSN supports radius charging, content charging and prepaid
� Radius charging� In active procedure, GGSN will send a charging request package to
Radius, active succeed after its response, service is running, GGSN must inform Radius often of data package usage
� Content charging� It’s analyze the subscriber’s service IP package deeply to master
usage of the subscriber on different service. Billing center shall charge according to different service
� Prepaid � In active procedure, GGSN send service usage to SCP to charging
Page78Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Sequence
GGSN Charging Principle
GGSN Charging Data Configuration
Page79Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure� Configuration procedure
� Confirm charging version
� Confirm optional field which is provide in CDR format
� Confirm normal charging characteristic
� Confirm generated condition of partial CDR in three charging
characteristic
� Confirm processing to charging characteristic in the three user
mode
� Confirm information of CG
� Confirm tariff parameters
Page80Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure� Confirm charging version
� Command: SET CHARGE:;
� This command should consult with the peer CG
� Confirm optional field which is provide in CDR format
� Command: SET CHARGE:;
� Optional field is O and C attribute field of CDR which is defined
in protocol, it will be configured by operator’s choice
� Confirm normal charging parameter
� Command: SET CHARGE:;
� Including node ID, alarm threshold, time zone and generated
condition of partial CDR
Page81Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure
� Confirm generated condition of partial CDR in three
charging characteristic
� Command: SET CHGTHRSHOLD:;
� If this command is not configured, then use the
information configured in “SET CHARGE”
� Partial CDR has different generating condition of the three
charging characteristic
Page82Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure
� Set the APN-based or global-based charging
characteristics
� In three user mode, confirm its processing on charging
characteristic
� Command: SET CHGCHARAC:;
� GGSN divide user area to home subscriber, roaming subscriber
and visiting subscriber
� MS will get the charging characteristic from SGSN, otherwise,
from GGSN
Page83Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure
� When a problem occurred on the charging server,
GGSN9811 uses a method called Radius charging
message retransmission to prevent the G-CDR from
losing
� SET RADIUS
� SET RADIUS : RETRY=3, TIMEOUT=10;
� LST RADIUS
� RMV RADIUS
Page84Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure
� Confirm information of CG
� Command: SET CG:;
� GGSN selects CG of different priority by data
configuration
� Confirm tariff parameters
� As same as the procedure in SGSN
Page85Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure� SET FESTIVAL
� E.g.
� SET FESTVL: YEAR=2004, MONTH=1, DAY=1;
� LST FESTVL;
� RMV FESTVL: YEAR=2004, MONTH=1, DAY=1;
Page86Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure� SET WEEKDAY
� Define the workday and weekend in one week
� E.g.
� SET WEEKDAY: WKD=MON, TP=WORK;
� SET WEEKDAY: WKD=TUE, TP=WORK;
� SET WEEKDAY: WKD=WED, TP=WORK;
� SET WEEKDAY: WKD=THU, TP=WORK;
� SET WEEKDAY: WKD=FRI, TP=WORK;
� SET WEEKDAY: WKD=SAT, TP=WEEKEND;
� SET WEEKDAY: WKD=SUN, TP=WEEKEND;
� LST WEEKDAY:;
Page87Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure
� SET TARIFF
� Define the tariff for different days.
� E.g.
� SET TARIFF: TP=WEEKEND, ST=0, ET=7;
� SET TARIFF: TP=WORK, ST=7, ET=21;
� SET TARIFF: TP=FESTIVAL, ST=21, ET=23;
� LST TARIFF:;
� RMV TARIFF:;
Page88Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Data Configuration Procedure
� SET CG
� Add CG information which is connected with
GGSN9811
� E.g
� SET CG: IP="10.3.10.4", GRD=0, TP=UMTS;
� Related commands:
� LST CG:;
� RMV CG: IP="10.3.10.4";
Page89Copyright © 2006 Huawei Technologies Co., Ltd. All rights reserved.
Summary
� After this slides, you know the important part and parameter
of the data configuration, and you can complete the
exercise in the trainee’s manual
Thank youwww.huawei.com