Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Configuring MobileNext Broadband Gateway

    This example describes how to configure the MobileNext Broadband Gateway without any provider edge functionality.

    Requirements

    This example uses the following hardware and software components:

    • Junos OS Release 11.2W
    • Juniper Networks MobileNext Broadband Gateway

    Overview

    This example describes how to configure the broadband gateway without any provider edge functionality. VPN routing and forwarding (VRF) is used to support the following configuration:

    • 3GPP interfaces (Gn and S5) are in the same VRF.
    • 3GPP interfaces (Gp and S8) are in the same VRF.
    • Gi interfaces (Gi, SGi) to the external networks are in their own VRF named VRF-wireless1.juniper.net and VRF-wireless2.juniper.net, respectively.
    • RADIUS server is in its own VRF called RADIUS.
    • Charging (Ga) is in its own VRF called CGF.
    • DHCPv4 and DHCPv6 proxy clients are in their own VRF called DHCP.

    Table 1: Components of the Broadband Gateway

    Property

    Settings

    Description

    Loopback address

    lo0 11.11.11.1/32

    lo0 11.11.11.2/32

    lo0 11.11.11.3/32

    lo0 11.11.11.11/32

    lo0 11.11.11.12/32

    lo0 11.11.11.13/32

    Identifies the device for communications.

    Routing protocol

    isis

    bgp group

    Indicates the device is using IS-IS and BGP as routing protocols.

    MPLS protocol and LSP definition

    mpls

    label-switched-path pe1-to-pe2 to 10.255.28.17

    Indicates the device is using the MPLS protocol with the specified LSP to reach the other core device (pe2).

    RSVP

    rsvp

    lo0.0

    Indicates the device is using RSVP. The statement must specify the loopback address and the core interfaces that will be used for the RSVP session.

    Interface family

    family inet

    family iso

    family mpls

    The logical units of the core interfaces belong to family inet, family iso, and family mpls.

    Core interfaces

    ge-5/2/0.0 with IP address 33.33.0.1/16

    ge-5/2/1.0 with IP address 33.44.0.1/16

    ge-5/3/0.0 with IP address 33.55.0.1/16

    ge-5/3/1.0 with IP address 33.66.0.1/16

    Gi interface

    ge-0/0/0 with IP address 44.44.0.1/16

    Gn interface

    ge-5/1/0 with IP address 22.5.0.1/16

    CGF VRF

    ge-0/0/6.0 with IP address 2.2.2.1/16

    lo0.2, lo0.12

    RADIUS VRF

    ge-0/0/7.0 with IP address 3.3.3.1/16

    lo0.11

    DHCP VRF

    ge-0/0/8.0 with IP address 4.4.4.1/16

    lo0.13

    VRF-wireless1.juniper.net

    mif.1

     

    VRF-wireless2.juniper.net

    ge-0/0/0.0

    mif.2

     

    Configuration

    Configuring the Chassis

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set chassis redundancy graceful-switchover set system commit synchronizeload merge /etc/config/mobility-defaults.confset chassis fpc 1 pic 0 apply-groups mobilityset chassis fpc 1 pic 1 apply-groups mobilityset chassis fpc 3 pic 0 apply-groups mobilityset chassis fpc 3 pic 1 apply-groups mobilityset chassis fpc 0 forwarding-packages mobility ggsn-pgw set chassis fpc 5 forwarding-packages mobility ggsn-pgw set interfaces lo0 unit 1 family inet address 11.11.11.1/32set interfaces lo0 unit 2 family inet address 11.11.11.2/32set interfaces lo0 unit 3 family inet address 11.11.11.3/32set interfaces lo0 unit 11 family inet address 11.11.11.11/32set interfaces lo0 unit 12 family inet address 11.11.11.12/32set interfaces lo0 unit 13 family inet address 11.11.11.13/32

    Step-by-Step Procedure

    To configure the chassis:

    1. Enable graceful restart for Routing Engine redundancy.
      [edit]user@pe1# set chassis redundancy graceful-switchover
    2. Load and merge the default configuration file for the mobility group.
      [edit]user@pe1# load merge /etc/config/mobility-defaults.conf
    3. Configure the mobility group on the session DPCs.
      [edit]user@pe1# set chassis fpc 1 pic 0 apply-groups mobilityuser@pe1# set chassis fpc 1 pic 1 apply-groups mobilityuser@pe1# set chassis fpc 3 pic 0 apply-groups mobilityuser@pe1# set chassis fpc 3 pic 1 apply-groups mobility

      Note: You must include every services PIC configured with the jservices-mobile package at the [edit unified-edge gateways ggsn-pgw gateway-name system anchor-spics] hierarchy level on the broadband gateway. If you do not include the services PIC as an anchor interface, then the services PIC will not be used by the broadband gateway.

    4. Configure the interface DPC or MPC at the FPC level.
      [edit]user@pe1# set chassis fpc 0 forwarding-packages mobility ggsn-pgwuser@pe1# set chassis fpc 5 forwarding-packages mobility ggsn-pgw

      Note: You must include every Packet Forwarding Engine configured with the ggsn-pgw forwarding package at the [edit unified-edge gateways ggsn-pgw gateway-name system anchor-pfes] hierarchy level on the broadband gateway. If you do not specify the Packet Forwarding Engine as an anchor interface, then the Packet Forwarding Engine will not be used by the broadband gateway.

    5. Configure loopback interfaces.
      [edit]user@pe1# set interfaces lo0 unit 1 family inet address 11.11.11.1/32user@pe1# set interfaces lo0 unit 2 family inet address 11.11.11.2/32user@pe1# set interfaces lo0 unit 3 family inet address 11.11.11.3/32user@pe1# set interfaces lo0 unit 11 family inet address 11.11.11.11/32user@pe1# set interfaces lo0 unit 12 family inet address 11.11.11.12/32user@pe1# set interfaces lo0 unit 13 family inet address 11.11.11.13/32

    Configuring the IPv4 Interfaces

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set interfaces ge-0/0/0 unit 0 family inet address 44.44.0.1/16 set interfaces ge-0/0/6 unit 0 family inet address 2.2.2.1/16 set interfaces ge-0/0/7 unit 0 family inet address 3.3.3.1/16 set interfaces ge-0/0/8 unit 0 family inet address 4.4.4.1/16 set interfaces ge-5/1/0 unit 0 family inet address 22.5.0.1/16set interfaces ge-5/2/0 unit 0 family inet address 33.33.0.1/16set interfaces ge-5/2/1 unit 0 family inet address 33.44.0.1/16set interfaces ge-5/3/0 unit 0 family inet address 33.55.0.1/16set interfaces ge-5/3/1 unit 0 family inet address 33.66.0.1/16

    Step-by-Step Procedure

    To configure the IPv4 interfaces:

    1. Configure IPv4 interfaces for the Gi interface.
      [edit]user@pe1# set interfaces ge-0/0/0 unit 0 family inet address 44.44.0.1/16
    2. Configure IPv4 interfaces for the Gn interfaces.
      [edit]user@pe1# set interfaces ge-5/1/0 unit 0 family inet address 22.5.0.1/16
    3. Configure IPv4 interfaces for core routing.
      [edit]user@pe1# set interfaces ge-5/2/0 unit 0 family inet address 33.33.0.1/16user@pe1# set interfaces ge-5/2/1 unit 0 family inet address 33.44.0.1/16user@pe1# set interfaces ge-5/3/0 unit 0 family inet address 33.55.0.1/16user@pe1# set interfaces ge-5/3/1 unit 0 family inet address 33.66.0.1/16
    4. Configure IPv4 interfaces for the charging, RADIUS, and DHCP VRFs.
      [edit]user@pe1# set interfaces ge-0/0/6 unit 0 family inet address 2.2.2.1/16user@pe1# set interfaces ge-0/0/7 unit 0 family inet address 3.3.3.1/16user@pe1# set interfaces ge-0/0/8 unit 0 family inet address 4.4.4.1/16

    Enabling IS-IS

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set interfaces ge-5/2/0 unit 0 family iso set interfaces ge-5/2/1 unit 0 family iso set interfaces ge-5/3/0 unit 0 family iso set interfaces ge-5/3/1 unit 0 family iso topset protocols isis interface ge-5/2/0.0set protocols isis interface ge-5/2/1.0set protocols isis interface ge-5/3/0.0set protocols isis interface ge-5/3/1.0set protocols isis interface lo0.0

    Step-by-Step Procedure

    To enable IS-IS routing:

    1. Configure the ISO family on interfaces running IS-IS.
      [edit]user@pe1# set interfaces ge-5/2/0 unit 0 family isouser@pe1# set interfaces ge-5/2/1 unit 0 family isouser@pe1# set interfaces ge-5/3/0 unit 0 family isouser@pe1# set interfaces ge-5/3/1 unit 0 family iso
    2. Create the IS-IS interface.
      [edit]user@pe1# set protocols isis interface ge-5/2/0.0user@pe1# set protocols isis interface ge-5/2/1.0user@pe1# set protocols isis interface ge-5/3/0.0user@pe1# set protocols isis interface ge-5/3/1.0
    3. Configure a network entity title on the loopback interface.
      [edit]user@pe1# set protocols isis interface lo0.0

    Enabling MPLS and RSVP Routing

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set interfaces ge-5/2/0 unit 0 family mpls set interfaces ge-5/2/1 unit 0 family mpls set interfaces ge-5/3/0 unit 0 family mpls set interfaces ge-5/3/1 unit 0 family mpls set protocols rsvp interface ge-5/2/0.0 set protocols rsvp interface ge-5/2/1.0 set protocols rsvp interface ge-5/3/0.0 set protocols rsvp interface ge-5/3/1.0 set protocols rsvp interface lo0.0 set protocols mpls explicit-null set protocols mpls label-switched-path PE-1-to-PE-2 to 10.255.28.17 set protocols mpls interface ge-5/3/1.0 set protocols mpls interface ge-5/3/0.0 set protocols mpls interface ge-5/2/0.0 set protocols mpls interface ge-5/2/1.0

    Step-by-Step Procedure

    To enable MPLS and RSVP:

    1. Configure the interfaces with MPLS enabled.
      [edit]user@pe1# set interfaces ge-5/2/0 unit 0 family mplsuser@pe1# set interfaces ge-5/2/1 unit 0 family mplsuser@pe1# set interfaces ge-5/3/0 unit 0 family mplsuser@pe1# set interfaces ge-5/3/1 unit 0 family mpls
    2. Include the interfaces in the MPLS and RSVP protocol configuration.
      [edit]user@pe1# set protocols rsvp interface ge-5/2/0.0user@pe1# set protocols rsvp interface ge-5/2/1.0user@pe1# set protocols rsvp interface ge-5/3/0.0user@pe1# set protocols rsvp interface ge-5/3/1.0user@pe1# set protocols rsvp interface lo0.0user@pe1# set protocols mpls interface ge-5/2/0.0user@pe1# set protocols mpls interface ge-5/2/1.0user@pe1# set protocols mpls interface ge-5/3/0.0user@pe1# set protocols mpls interface ge-5/3/1.0
    3. In the MPLS configuration, advertise label 0 and specify the LSP used for dynamic MPLS.
      [edit]user@pe1# set protocols mpls explicit-nulluser@pe1# set protocols mpls label-switched-path PE-1-to-PE-2 to 10.255.28.17

    Configuring BGP

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set routing-options nonstop-routingset routing-options router-id 10.102.32.59 set routing-options autonomous-system 69 set routing-options forwarding-table export pplb set protocols bgp group L3VPN-Sig type internal set protocols bgp group L3VPN-Sig local-address 10.102.32.59 set protocols bgp group L3VPN-Sig family inet-vpn any set protocols bgp group L3VPN-Sig neighbor 10.255.28.17

    Step-by-Step Procedure

    To configure BGP:

    1. Configure the routing options.
      [edit]user@pe1# set routing-options nonstop-routinguser@pe1# set routing-options router-id 10.102.32.59user@pe1# set routing-options autonomous-system 69user@pe1# set routing-options forwarding-table export pplb
    2. Configure the BGP group for Layer 3 VPNs.
      [edit]user@pe1# set protocols bgp group L3VPN-Sig type internaluser@pe1# set protocols bgp group L3VPN-Sig local-address 10.102.32.59user@pe1# set protocols bgp group L3VPN-Sig family inet-vpn anyuser@pe1# set protocols bgp group L3VPN-Sig neighbor 10.255.28.17

    Enabling the Routing Instance for the Layer 3 VPN

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set routing-instances VRF-wireless1.juniper.net instance-type vrfset routing-instances VRF-wireless1.juniper.net route-distinguisher 10.102.32.59:512set routing-instances VRF-wireless1.juniper.net vrf-target target:5000:1012 set routing-instances VRF-wireless1.juniper.net vrf-table-label

    Step-by-Step Procedure

    To configure the routing instance for the VRF used in the Layer 3 VPN:

    1. Specify VRF as the type.
      [edit]user@pe1# set routing-instances VRF-wireless1.juniper.net instance-type vrf
    2. Configure the Layer 3 VPN routing instance.
      [edit]user@pe1# set routing-instances VRF-wireless1.juniper.net route-distinguisher 10.102.32.59:512user@pe1# set routing-instances VRF-wireless1.juniper.net vrf-target target:5000:1012user@pe1# set routing-instances VRF-wireless1.juniper.net vrf-table-label

    Configuring RADIUS Servers

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set access radius servers radius_server address 3.3.3.2set access radius servers radius_server secret "$9$TF6ABIcvWxp0WxNdg4QFn"set access radius servers radius_server accounting-secret "$9$TQ6Apu1hyKO1b2aU.mO1REclKM8"set access radius servers radius_server source-interface lo0.11set access radius servers radius_server source-interface ipv4-address 11.11.11.11set access radius network-elements radius_ne server radius_serverset routing-instances RADIUS instance-type virtual-routerset routing-instances RADIUS interface ge-0/0/7.0set routing-instances RADIUS interface lo0.11

    Step-by-Step Procedure

    To configure the RADIUS servers to interact with the broadband gateway:

    1. Configure the RADIUS server.
      [edit]user@pe1# set access radius servers radius_server address 3.3.3.2user@pe1# set access radius servers radius_server secret "$9$TF6ABIcvWxp0WxNdg4QFn"user@pe1# set access radius servers radius_server accounting-secret "$9$TQ6Apu1hyKO1b2aU.mO1REclKM8"user@pe1# set access radius servers radius_server source-interface lo0.11 ipv4-address 11.11.11.11
    2. Specify the RADIUS server as a network element.
      [edit]user@pe1# set access radius network-elements radius_ne server radius_server
    3. Specify the routing instance for the RADIUS accounting server.
      [edit]user@pe1# set routing-instances RADIUS instance-type virtual-routeruser@pe1# set routing-instances RADIUS interface ge-0/0/7.0user@pe1# set routing-instances RADIUS interface lo0.11

    Configuring DHCP Proxy Clients

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set routing-instances DHCP instance-type virtual-routerset routing-instances DHCP system services dhcp-proxy-client dhcpv4-profiles dhcp-1 bind-interface ge-0/0/8.0set routing-instances DHCP system services dhcp-proxy-client dhcpv4-profiles dhcp-1 servers 4.4.4.2 priority 1set routing-instances DHCP system services dhcp-proxy-client dhcpv4-profiles dhcp-1 servers 4.4.4.3 priority 2set routing-instances DHCP interface ge-0/0/8.0set routing-instances DHCP interface lo0.13

    Step-by-Step Procedure

    To configure DHCP proxies:

    1. Configure the DHCP proxy clients by associating them with the host interface and prioritized DHCP servers.
      [edit]user@pe1# set routing-instances DHCP system services dhcp-proxy-client dhcpv4-profiles dhcp-1 bind-interface ge-0/0/8.0user@pe1# set routing-instances DHCP system services dhcp-proxy-client dhcpv4-profiles dhcp-1 servers 4.4.4.2 priority 1user@pe1# set routing-instances DHCP system services dhcp-proxy-client dhcpv4-profiles dhcp-1 servers 4.4.4.3 priority 2
    2. Specify the routing instance for the DHCP server.
      [edit]user@pe1# set routing-instances DHCP instance-type virtual-routeruser@pe1# set routing-instances DHCP interface ge-0/0/8.0user@pe1# set routing-instances DHCP interface lo0.13

    Enabling the APN Configuration

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set interfaces mif unit 1 family inet set interfaces mif unit 2 family inet set interfaces ms-1/1/0 unit 16000 family inet set interfaces ms-3/1/0 unit 16000 family inet set routing-instances VRF-wireless1.juniper.net instance-type vrfset routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 low 100.100.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 high 100.100.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 200.200.0.0/16set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.102.0.0/16 range r2 low 100.102.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.102.0.0/16 range r2 high 100.102.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.103.0.0/16 range r3 low 100.103.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.103.0.0/16 range r3 high 100.103.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.104.0.0/16 range r4 low 100.104.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.104.0.0/16 range r4 high 100.104.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.105.0.0/16 range r5 low 100.105.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.105.0.0/16 range r5 high 100.105.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.106.0.0/16 range r6 low 100.106.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.106.0.0/16 range r6 high 100.106.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.107.0.0/16 range r7 low 100.107.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.107.0.0/16 range r7 high 100.107.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.108.0.0/16 range r8 low 100.108.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.108.0.0/16 range r8 high 100.108.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.109.0.0/16 range r9 low 100.109.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.109.0.0/16 range r9 high 100.109.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.110.0.0/16 range r10 low 100.110.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.110.0.0/16 range r10 high 100.110.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.111.0.0/16 range r11 low 100.111.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.111.0.0/16 range r11 high 100.111.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.112.0.0/16 range r12 low 100.112.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.112.0.0/16 range r12 high 100.112.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.113.0.0/16 range r13 low 100.113.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.113.0.0/16 range r13 high 100.113.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.114.0.0/16 range r14 low 100.114.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.114.0.0/16 range r14 high 100.114.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.115.0.0/16 range r15 low 100.115.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.115.0.0/16 range r15 high 100.115.255.255set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.116.0.0/16 range r16 low 100.116.0.0set routing-instances VRF-wireless1.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.116.0.0/16 range r16 high 100.116.255.255set routing-instances VRF-wireless2.juniper.net instance-type virtual-routerset routing-instances VRF-wireless2.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 low 100.100.0.0set routing-instances VRF-wireless2.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 high 100.100.255.255set routing-instances VRF-wireless2.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 200.200.0.0/16set routing-instances VRF-wireless2.juniper.net interface ge-0/0/0.0set routing-instances VRF-wireless2.juniper.net interface mif.2

    Step-by-Step Procedure

    To enable the APN configuration:

    1. Create mobile interfaces.
      [edit]user@pe1# set interfaces mif unit 1 family inetuser@pe1# set interfaces mif unit 2 family inetuser@pe1# set interfaces ms-1/1/0 unit 16000 family inetuser@pe1# set interfaces ms-3/1/0 unit 16000 family inet
    2. Configure the VRF-wireless1.juniper.net routing instance.
      [edit]user@pe1# edit routing-instances VRF-wireless1.juniper.net
    3. Specify the IP pool configuration for the VRF-wireless1.juniper.net routing instance.
      [edit routing-instances VRF-wireless1.juniper.net]user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 low 100.100.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 high 100.100.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 200.200.0.0/16 user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.102.0.0/16 range r2 low 100.102.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.102.0.0/16 range r2 high 100.102.255.255user@pe1# set address-assignment mobile-pools wireless-juniper1 family inet network 100.103.0.0/16 range r2 low 100.103.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.103.0.0/16 range r2 high 100.103.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.104.0.0/16 range r2 low 100.104.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.104.0.0/16 range r2 high 100.104.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.105.0.0/16 range r2 low 100.105.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.105.0.0/16 range r2 high 100.105.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.106.0.0/16 range r2 low 100.106.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.106.0.0/16 range r2 high 100.106.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.107.0.0/16 range r2 low 100.107.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.107.0.0/16 range r2 high 100.107.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.108.0.0/16 range r2 low 100.108.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.108.0.0/16 range r2 high 100.108.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.109.0.0/16 range r2 low 100.109.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.109.0.0/16 range r2 high 100.109.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.110.0.0/16 range r2 low 100.110.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.110.0.0/16 range r2 high 100.110.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.111.0.0/16 range r2 low 100.111.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.111.0.0/16 range r2 high 100.111.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.112.0.0/16 range r2 low 100.112.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.112.0.0/16 range r2 high 100.112.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.113.0.0/16 range r2 low 100.113.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.113.0.0/16 range r2 high 100.113.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.114.0.0/16 range r2 low 100.114.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.114.0.0/16 range r2 high 100.114.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.115.0.0/16 range r2 low 100.115.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.115.0.0/16 range r2 high 100.115.255.255user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.116.0.0/16 range r2 low 100.116.0.0user@pe1# set access address-assignment mobile-pools wireless-juniper1 family inet network 100.116.0.0/16 range r2 high 100.116.255.255
    4. Configure the IP pool configuration for the VRF-wireless2.juniper.net routing instance.
      [edit routing-instances VRF-wireless2.juniper.net]user@pe1# set routing-instances VRF-wireless2.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 low 100.100.0.0user@pe1# set routing-instances VRF-wireless2.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 100.100.0.0/16 range r1 high 100.100.255.255user@pe1# set routing-instances VRF-wireless2.juniper.net access address-assignment mobile-pools wireless-juniper1 family inet network 200.200.0.0/16 user@pe1# set routing-instances VRF-wireless2.juniper.net interface ge-0/0/0.0user@pe1# set routing-instances VRF-wireless2.juniper.net interface mif.2

    Configuring Offline Charging

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set routing-instances CHR-VRF instance-type vrfset routing-instances CHR-VRF interface lo0.12set routing-instances CHR-VRF route-distinguisher 10.102.32.59:1000set routing-instances CHR-VRF vrf-target target:5000:1000set routing-instances CHR-VRF vrf-table-labelset routing-instances CHR-VRF-Local instance-type virtual-routerset routing-instances CHR-VRF-Local interface ge-0/0/6.0set routing-instances CHR-VRF-Local interface lo0.2set unified-edge gateways ggsn-pgw MBG1 charging cdr-profiles cdr-wireless1.juniper.net enable-reduced-partial-cdrsset unified-edge gateways ggsn-pgw MBG1 charging trigger-profiles CGW-trig-pro-1 offline volume-limit 1048576set unified-edge gateways ggsn-pgw MBG1 charging trigger-profiles CGW-trig-pro-1 offline volume-limit direction bothset unified-edge gateways ggsn-pgw MBG1 charging trigger-profiles trigr-wireless1.juniper.net offline volume-limit 1048576set unified-edge gateways ggsn-pgw MBG1 charging trigger-profiles trigr-wireless1.juniper.net offline volume-limit direction uplinkset unified-edge gateways ggsn-pgw MBG1 charging transport-profiles CGW-trans-pro-1 offline charging-gateways cdr-release r7set unified-edge gateways ggsn-pgw MBG1 charging transport-profiles CGW-trans-pro-1 offline charging-gateways peer-order peer my_cgfset unified-edge gateways ggsn-pgw MBG1 charging transport-profiles CGW-trans-pro-1 offline charging-gateways peer-order peer local_cgwset unified-edge gateways ggsn-pgw MBG1 charging transport-profiles CGW-trans-pro-1 offline charging-gateways switch-back-time 1set unified-edge gateways ggsn-pgw MBG1 charging transport-profiles trans-wireless1.juniper.net offline charging-gateways cdr-release r7set unified-edge gateways ggsn-pgw MBG1 charging transport-profiles trans-wireless1.juniper.net offline charging-gateways persistent-storage-order local-storageset unified-edge gateways ggsn-pgw MBG1 charging local-persistent-storage-options file-age 60set unified-edge gateways ggsn-pgw MBG1 charging local-persistent-storage-options file-format raw-asnset unified-edge gateways ggsn-pgw MBG1 charging local-persistent-storage-options disk-space-policy water-mark-level1 percentage 70set unified-edge gateways ggsn-pgw MBG1 charging local-persistent-storage-options disk-space-policy water-mark-level2 percentage 80set unified-edge gateways ggsn-pgw MBG1 charging local-persistent-storage-options disk-space-policy water-mark-level3 percentage 90set unified-edge gateways ggsn-pgw MBG1 charging charging-profiles CGW-chr-pro-1 profile-id 2set unified-edge gateways ggsn-pgw MBG1 charging charging-profiles CGW-chr-pro-1 transport-profile CGW-trans-pro-1set unified-edge gateways ggsn-pgw MBG1 charging charging-profiles CGW-chr-pro-1 trigger-profile CGW-trig-pro-1set unified-edge gateways ggsn-pgw MBG1 charging charging-profiles chr-wireless1.juniper.net profile-id 1set unified-edge gateways ggsn-pgw MBG1 charging charging-profiles chr-wireless1.juniper.net transport-profile trans-wireless1.juniper.netset unified-edge gateways ggsn-pgw MBG1 charging charging-profiles chr-wireless1.juniper.net cdr-profile cdr-wireless1.juniper.netset unified-edge gateways ggsn-pgw MBG1 charging charging-profiles chr-wireless1.juniper.net trigger-profile trigr-wireless1.juniper.netset unified-edge gateways ggsn-pgw MBG1 charging gtpp transport-protocol tcpset unified-edge gateways ggsn-pgw MBG1 charging gtpp version v0set unified-edge gateways ggsn-pgw MBG1 charging gtpp header-type longset unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw destination-ipv4-address 42.42.0.2set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw source-interface lo0.2set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw source-interface ipv4-address 11.11.11.2set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw destination-port 3386set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw transport-protocol tcpset unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw n3-requests 1set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw t3-response 3set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw header-type longset unified-edge gateways ggsn-pgw MBG1 charging gtpp peer local_cgw pending-queue-size 1000set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf destination-ipv4-address 41.41.0.2set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf source-interface lo0.12set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf source-interface ipv4-address 11.11.11.12set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf destination-port 3386set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf transport-protocol tcpset unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf n3-requests 1set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf t3-response 5set unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf header-type longset unified-edge gateways ggsn-pgw MBG1 charging gtpp peer my_cgf pending-queue-size 1000

    Step-by-Step Procedure

    To configure the offline charging profile:

    1. Create the routing instances for charging. CHR-VRF is for the external charging gateway and CHR-VRF-Local is for persistent local storage.
      [edit]user@pe1# set routing-instances CHR-VRF instance-type vrfuser@pe1# set routing-instances CHR-VRF interface lo0.12user@pe1# set routing-instances CHR-VRF route-distinguisher 10.102.32.59:1000user@pe1# set routing-instances CHR-VRF vrf-target target:5000:1000user@pe1# set routing-instances CHR-VRF vrf-table-labeluser@pe1# set routing-instances CHR-VRF-Local instance-type virtual-routeruser@pe1# set routing-instances CHR-VRF-Local interface ge-0/0/6.0user@pe1# set routing-instances CHR-VRF-Local interface lo0.2
    2. Configure charging for the GGSN called MBG1.
      [edit]user@pe1# edit unified-edge gateways ggsn-pgw MBG1 charging
    3. Specify the global GTP Prime properties to transmit CDRs to the external charging gateway.
      [edit unified-edge gateways ggsn-pgw MBG1 charging]user@pe1# set gtpp transport-protocol tcpuser@pe1# set gtpp version v0user@pe1# set gtpp header-type long
    4. Specify the GTP Prime properties for the GTP Prime peers.
      [edit unified-edge gateways ggsn-pgw MBG1 charging]user@pe1# set gtpp peer local_cgw destination-ipv4-address 42.42.0.2user@pe1# set gtpp peer local_cgw source-interface lo0.2user@pe1# set gtpp peer local_cgw source-interface ipv4-address 11.11.11.2user@pe1# set gtpp peer local_cgw destination-port 3386user@pe1# set gtpp peer local_cgw transport-protocol tcpuser@pe1# set gtpp peer local_cgw n3-requests 1user@pe1# set gtpp peer local_cgw t3-response 3user@pe1# set gtpp peer local_cgw header-type longuser@pe1# set gtpp peer local_cgw pending-queue-size 1000user@pe1# set gtpp peer my_cgf destination-ipv4-address 41.41.0.2user@pe1# set gtpp peer my_cgf source-interface lo0.12user@pe1# set gtpp peer my_cgf source-interface ipv4-address 11.11.11.12user@pe1# set gtpp peer my_cgf destination-port 3386user@pe1# set gtpp peer my_cgf transport-protocol tcpuser@pe1# set gtpp peer my_cgf n3-requests 1user@pe1# set gtpp peer my_cgf t3-response 5user@pe1# set gtpp peer my_cgf header-type longuser@pe1# set gtpp peer my_cgf pending-queue-size 1000
    5. Configure local persistent storage of the CDRs.
      [edit unified-edge gateways ggsn-pgw MBG1 charging]user@pe1# set local-persistent-storage-options file-age 60user@pe1# set local-persistent-storage-options file-format raw-asnuser@pe1# set local-persistent-storage-options disk-space-policy water-mark-level1 percentage 70user@pe1# set local-persistent-storage-options disk-space-policy water-mark-level2 percentage 80user@pe1# set local-persistent-storage-options disk-space-policy water-mark-level3 percentage 90
    6. Configure the transport, trigger, and CDR profiles referenced by the charging profile for offline charging.
      [edit unified-edge gateways ggsn-pgw MBG1 charging]user@pe1# set transport-profiles CGW-trans-pro-1 offline charging-gateways cdr-release r7user@pe1# set transport-profiles CGW-trans-pro-1 offline charging-gateways peer-order peer my_cgfuser@pe1# set transport-profiles CGW-trans-pro-1 offline charging-gateways peer-order peer local_cgwuser@pe1# set transport-profiles CGW-trans-pro-1 offline charging-gateways switch-back-time 1user@pe1# set transport-profiles trans-wireless1.juniper.net offline charging-gateways cdr-release r7user@pe1# set transport-profiles trans-wireless1.juniper.net offline charging-gateways persistent-storage-order local-storageuser@pe1# set trigger-profiles CGW-trig-pro-1 offline volume-limit 1048576user@pe1# set trigger-profiles CGW-trig-pro-1 offline volume-limit direction bothuser@pe1# set trigger-profiles trigr-wireless1.juniper.net offline volume-limit 1048576user@pe1# set trigger-profiles trigr-wireless1.juniper.net offline volume-limit direction uplinkuser@pe1# set cdr-profiles cdr-wireless1.juniper.net enable-reduced-partial-cdrs
    7. Configure the charging profile. The CGW-chr-pro-1 charging profile is used for the external charging gateway, while the chr-wireless1.juniper.net charging profile is used for local persistent storage.
      [edit unified-edge gateways ggsn-pgw MBG1 charging]user@pe1# set charging-profiles CGW-chr-pro-1 profile-id 2user@pe1# set charging-profiles CGW-chr-pro-1 transport-profile CGW-trans-pro-1user@pe1# set charging-profiles CGW-chr-pro-1 trigger-profile CGW-trig-pro-1user@pe1# set charging-profiles chr-wireless1.juniper.net profile-id 1user@pe1# set charging-profiles chr-wireless1.juniper.net transport-profile trans-wireless1.juniper.netuser@pe1# set charging-profiles chr-wireless1.juniper.net cdr-profile cdr-wireless1.juniper.netuser@pe1# set charging-profiles chr-wireless1.juniper.net trigger-profiles trigr-wireless1.juniper.netuser@pe1# set charging-profiles chr-wireless1.juniper.net trigger-profile trigr-wireless1.juniper.net

    Configuring GTP Services

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge gateways ggsn-pgw MBG1 gtp gn interface lo0.1set unified-edge gateways ggsn-pgw MBG1 gtp gn interface v4-address 11.11.11.1set unified-edge gateways ggsn-pgw MBG1 gtp gn n3-requests 3set unified-edge gateways ggsn-pgw MBG1 gtp gn t3-response 3set unified-edge gateways ggsn-pgw MBG1 gtp gn echo-interval 60set unified-edge gateways ggsn-pgw MBG1 gtp gn path-management enableset unified-edge gateways ggsn-pgw MBG1 gtp gp interface lo0.1 set unified-edge gateways ggsn-pgw MBG1 gtp gp interface v4-address 11.11.11.1set unified-edge gateways ggsn-pgw MBG1 gtp gp n3-requests 3 set unified-edge gateways ggsn-pgw MBG1 gtp gp t3-response 3 set unified-edge gateways ggsn-pgw MBG1 gtp gp echo-interval 60 set unified-edge gateways ggsn-pgw MBG1 gtp gp path-management enableset unified-edge gateways ggsn-pgw MBG1 gtp s5 interface lo0.1 set unified-edge gateways ggsn-pgw MBG1 gtp s5 interface v4-address 11.11.11.1set unified-edge gateways ggsn-pgw MBG1 gtp s5 n3-requests 3set unified-edge gateways ggsn-pgw MBG1 gtp s5 t3-response 3 set unified-edge gateways ggsn-pgw MBG1 gtp s5 echo-interval 60set unified-edge gateways ggsn-pgw MBG1 gtp s5 path-management enableset unified-edge gateways ggsn-pgw MBG1 gtp s8 interface lo0.1 set unified-edge gateways ggsn-pgw MBG1 gtp s8 interface v4-address 11.11.11.1set unified-edge gateways ggsn-pgw MBG1 gtp s8 n3-requests 3 set unified-edge gateways ggsn-pgw MBG1 gtp s8 t3-response 3 set unified-edge gateways ggsn-pgw MBG1 gtp s8 echo-interval 60set unified-edge gateways ggsn-pgw MBG1 gtp s8 path-management enable

    Step-by-Step Procedure

    To configure GTP services:

    1. Configure the GTP services for the GGSN called MBG1.
      [edit]user@pe1# edit unified-edge gateways ggsn-pgw MBG1 gtp
    2. Configure GTP services for the Gn, Gp, S5, and S8 interfaces with path management enabled. The same address must be specified for all addresses.
      [edit unified-edge gateways ggsn-pgw MBG1 gtp]user@pe1# set gn interface lo0.1user@pe1# set gn interface v4-address 11.11.11.1user@pe1# set gn n3-requests 3user@pe1# set gn t3-response 3user@pe1# set gn echo-interval 60user@pe1# set gn path-management enableuser@pe1# set gp interface lo0.1user@pe1# set gp interface v4-address 11.11.11.1user@pe1# set gp n3-requests 3user@pe1# set gp t3-response 3user@pe1# set gp echo-interval 60user@pe1# set gp path-management enableuser@pe1# set s5 interface lo0.1user@pe1# set s5 interface v4-address 11.11.11.1user@pe1# set s5 n3-requests 3user@pe1# set s5 t3-response 3user@pe1# set s5 echo-interval 60user@pe1# set s5 path-management enableuser@pe1# set s8 interface lo0.1user@pe1# set s8 interface v4-address 11.11.11.1user@pe1# set s8 n3-requests 3user@pe1# set s8 t3-response 3user@pe1# set s8 echo-interval 60user@pe1# set s8 path-management enable

    Configuring AAA

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge aaa mobile-profiles aaa_profile radius authentication network-element radius_neset unified-edge aaa mobile-profiles aaa_profile radius accounting network-element radius_neset unified-edge aaa mobile-profiles aaa_profile radius options nas-ip-address 11.11.11.1set unified-edge aaa mobile-profiles aaa_profile radius attributes exclude calling-station-id access-requestset unified-edge aaa mobile-profiles aaa_profile radius attributes exclude event-time-stamp accounting-start

    Step-by-Step Procedure

    To configure AAA profiles:

    1. Configure the AAA profile called aaa_profile for the broadband gateway.
      [edit]user@pe1# edit unified-edge aaa mobile-profiles aaa_profile
    2. Specify the RADIUS authentication and accounting settings for the profile.
      [edit unified-edge aaa mobile-profiles aaa_profile]user@pe1# set radius authentication network-element radius_neuser@pe1# set radius accounting network-element radius_ne
    3. Specify the RADIUS options.
      [edit unified-edge aaa mobile-profiles aaa_profile]user@pe1# set radius options nas-ip-address 11.11.11.1
    4. Specify the RADIUS attributes to exclude from the message type.
      [edit unified-edge aaa mobile-profiles aaa_profile]user@pe1# set radius attributes exclude calling-station-id access-requestuser@pe1# set radius attributes exclude event-time-stamp accounting-start

    Configuring APN Parameters

    CLI Quick Configuration

    To quickly configure this example, copy the following commands and paste them into the router terminal window:

    [edit]set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net apn-type realset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net apn-data-type ipv4set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net mobile-interface mif.1set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net address-assignment localset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net address-assignment inet-pool pool wireless-juniper1set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net session-timeout 2set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net idle-timeout 60set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net charging default-charging-profile chr-wireless1.juniper.netset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless1.juniper.net selection-mode from-msset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net apn-type realset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net apn-data-type ipv4set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net mobile-interface mif.2set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net address-assignment localset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net address-assignment inet-pool pool wireless-juniper1set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net address-assignment dhcpv4-proxy-client-profile logical-system default routing-instance DHCP profile-name dhcp-1set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net session-timeout 2set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net idle-timeout 60set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net aaa-profile aaa_profileset unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net charging default-charging-profile CGW-chr-pro-1set unified-edge gateways ggsn-pgw MBG1 apn-services apns wireless2.juniper.net selection-mode from-ms

    Step-by-Step Procedure

    To configure APN services:

    1. Configure the APN services for the GGSN called MBG1.
      [edit]user@pe1# edit unified-edge gateways ggsn-pgw MBG1 apn-services
    2. Configure the wireless1.juniper.net APN used for the mif.1 interface. This APN uses the wireless-juniper1 IP pool for address assignment and chr-wireless1.juniper.net as the default charging profile.
      [edit unified-edge gateways ggsn-pgw MBG1 apn-services]user@pe1# set apn wireless1.juniper.net apn-type realuser@pe1# set apn wireless1.juniper.net apn-data-type ipv4user@pe1# set apn wireless1.juniper.net mobile-interface mif.1user@pe1# set apn wireless1.juniper.net address-assignment localuser@pe1# set apn wireless1.juniper.net address-assignment inet-pool pool wireless-juniper1user@pe1# set apn wireless1.juniper.net session-timeout 2user@pe1# set apn wireless1.juniper.net idle-timeout 60user@pe1# set apn wireless1.juniper.net charging default-charging-profile chr-wireless1.juniper.netuser@pe1# set apn wireless1.juniper.net selection-mode from-ms
    3. Configure the wireless2.juniper.net APN used for the mif.2 interface. This APN uses the wireless-juniper1 IP pool or dhcpv4-proxy-client-profile for address assignment. This APN uses aaa_profile as the AAA profile and CGW-chr-pro-1 as the default charging profile.
      [edit unified-edge gateways ggsn-pgw MBG1 apn-services]user@pe1# set apn wireless2.juniper.net apn-type realuser@pe1# set apn wireless2.juniper.net apn-data-type ipv4user@pe1# set apn wireless2.juniper.net mobile-interface mif.2user@pe1# set apn wireless2.juniper.net address-assignment local user@pe1# set apn wireless2.juniper.net address-assignment inet-pool pool wireless-juniper1user@pe1# set apn wireless2.juniper.net address-assignment dhcpv4-proxy-client-profile logical-system default routing-instance DHCP profile-nameuser@pe1# set apn wireless2.juniper.net session-timeout 2user@pe1# set apn wireless2.juniper.net idle-timeout 60user@pe1# set apn wireless2.juniper.net aaa-profile aaa_profileuser@pe1# set apn wireless2.juniper.net charging default-charging-profile CGW-chr-pro-1user@pe1# set apn wireless2.juniper.net selection-mode from-ms

    Verification

    Verifying MPLS LSP Status

    Purpose

    Verify the MPLS LSP status for GGSN initiation.

    Action

    user@pe1> show mpls lsp
    Ingress LSP: 1 sessions
    To              From            State Rt P     ActivePath       LSPname
    10.255.28.17    10.102.32.59    Up     0 *                      PE-1-to-PE-2
    Total 1 displayed, Up 1, Down 0
    
    Egress LSP: 1 sessions
    To              From            State   Rt Style Labelin Labelout LSPname
    10.102.32.59    10.255.28.17    Up       0  1 FF       0        - PE-2-to-PE-1
    Total 1 displayed, Up 1, Down 0
    
    Transit LSP: 0 sessions
    Total 0 displayed, Up 0, Down 0
    

    Meaning

    The show mpls lsp command displays information about the configured label-switched paths, including the destination address.

    Verifying Layer 3 VPN Status

    Purpose

    Verify Layer 3 VPN status and routes for GGSN initiation and successful call establishment.

    Action

    user@pe1> show route table VRF-wireless1.juniper.net
    VRF-wireless1.juniper.net.inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    11.11.11.1/32      *[Direct/0] 01:08:14
                        > via lo0.10
    55.55.0.0/16       *[BGP/170] 00:15:55, localpref 100, from 10.255.28.17
                          AS path: I
                        > to 33.55.0.2 via ge-5/3/0.0, label-switched-path PE-1-to-PE-2
    100.104.172.0/22   *[Anchor/7] 00:04:53
                          Private indexed
    
    100.104.176.0/22   *[Anchor/7] 00:04:52
                          Private indexed
    100.104.180.0/22   *[Anchor/7] 00:04:51
                          Private indexed
    100.105.20.0/22    *[Anchor/7] 00:04:53
                          Private indexed
    100.105.24.0/22    *[Anchor/7] 00:04:52
                          Private indexed
    100.105.28.0/22    *[Anchor/7] 00:04:51
                          Private indexed
    100.105.32.0/22    *[Anchor/7] 00:04:50
                          Private indexed
    100.105.36.0/22    *[Anchor/7] 00:04:50
                          Private indexed
    run show unified-edge ggsn-pgw resource-manager clients | no-more
    100.105.40.0/22    *[Anchor/7] 00:04:49
                          Private indexed
    100.105.136.0/22   *[Anchor/7] 00:04:50
                          Private indexed
    100.105.140.0/22   *[Anchor/7] 00:04:50
                          Private indexed
    100.105.144.0/22   *[Anchor/7] 00:04:49
                          Private indexed
    

    Meaning

    The show route table command verifies the Layer 3 VPN configuration by displaying the VRF table for the specified VRF.

    Verifying Session DPCs and Interface DPCs Initialization

    Purpose

    Verify the initialization of session DPCs and interface DPCs for GGSN initiation.

    Action

    user@pe1> show chassis fpc pic-status
    Slot 0   Online       MPC Type 2 3D EQ
      PIC 0  Online       10x 1GE(LAN) SFP
      PIC 1  Online       10x 1GE(LAN) SFP
      PIC 2  Online       10x 1GE(LAN) SFP
      PIC 3  Online       10x 1GE(LAN) SFP
    Slot 1   Online       MS-DPC EM
      PIC 0  Online       MS-DPC PIC
      PIC 1  Online       MS-DPC PIC
    Slot 2   Online       MPC Type 2 3D EQ
      PIC 0  Online       10x 1GE(LAN) SFP
      PIC 1  Online       10x 1GE(LAN) SFP
      PIC 2  Online       10x 1GE(LAN) SFP
      PIC 3  Online       10x 1GE(LAN) SFP
    Slot 3   Online       MS-DPC EM
      PIC 0  Online       MS-DPC PIC
      PIC 1  Online       MS-DPC PIC
    Slot 4   Online       MPC Type 2 3D EQ
      PIC 0  Online       2x 10GE  XFP
      PIC 1  Online       2x 10GE  XFP
      PIC 2  Online       10x 1GE(LAN) SFP
      PIC 3  Online       10x 1GE(LAN) SFP
    Slot 5   Online       MPC Type 2 3D EQ
      PIC 0  Online       10x 1GE(LAN) SFP
      PIC 1  Online       10x 1GE(LAN) SFP
      PIC 2  Online       10x 1GE(LAN) SFP
      PIC 3  Online       10x 1GE(LAN) SFP
    
    user@pe1> show unified-edge ggsn-pgw resource-manager clients
    Client      State           Role                 Type
    apfe-0/1    In-Service     RMS_PRIMARY           RCM-PFE
    apfe-0/0    In-Service     RMS_PRIMARY           RCM-PFE
    ms-1/0      In-Service     RMS_PRIMARY           RCM-SP
    ms-1/1      In-Service     RMS_PRIMARY           RCM-SP
    apfe-2/1    In-Service     RMS_SECONDARY         RCM-PFE
    apfe-2/0    In-Service     RMS_SECONDARY         RCM-PFE
    ms-3/0      In-Service     RMS_SECONDARY         RCM-SP
    ms-3/1      In-Service     RMS_SECONDARY         RCM-SP
    apfe-4/1    In-Service     RMS_PRIMARY           RCM-PFE
    apfe-4/0    In-Service     RMS_PRIMARY           RCM-PFE
    apfe-5/1    In-Service     RMS_SECONDARY         RCM-PFE
    apfe-5/0    In-Service     RMS_SECONDARY         RCM-PFE
    

    Meaning

    The show chassis fpc pic-status command lists the PIC status. It shows that the DPCs are initialized if the status is Online.

    The show unified-edge ggsn-pgw resource-manager clients command lists the state for resource manager clients. It displays the In-Service state to indicate that the DPCs are initialized.

    Verifying Broadband Gateway Status

    Purpose

    Verify the status and statistics on the broadband gateway for GGSN initiation, call establishment, and Gn-to-Gi connectivity across the MPLS core.

    Action

    user@pe1> show unified-edge ggsn-pgw status
        Mobile gateway status:
        Active Subscribers   :               180
        Active Sessions      :               180
        Active Bearers       :               180
        CPU Load (%)         :               0
        Memory Load (%)      :               27
    
    user@pe1> show unified-edge ggsn-pgw statistics
    Control plane statistics:
        Session establishment attempts:             200180
        Successful session establishments:          200180
        MS/peer initiated session deactivations:    199611
        Successful MS/peer initiated deactivations: 199611
        Gateway initiated session deactivations:    389
        Successful gateway initiated deactivations: 389
    Data plane GTP statistics (Gn/S5/S8):
        Input     packets:          88696
        Input     bytes:            7805248
        Output    packets:          87843
        Output    bytes:            7730184
        Discarded packets:          0
    Data plane GTP statistics (Gi):
        Input     packets:          87843
        Input     bytes:            7730184
        Output    packets:          88696
        Output    bytes:            7805248
        Discarded packets:          0
    

    Meaning

    The show unified-edge ggsn-pgw status command displays the status of the broadband gateway, including the number of active subscribers, active sessions, and active bearers. It also displays the CPU load and memory load.

    The show unified-edge ggsn-pgw statistics command displays the control plane and data plane statistics for the broadband gateway.

    Verifying Session Establishment

    Purpose

    Verify the session establishment for call establishment and Gn-to-Gi connectivity across the MPLS core.

    Action

    user@pe1> show unified-edge ggsn-pgw subscribers
        IMSI            MSISDN          Subscriber         Peer           APN
                                         Address          Address
     333444444444535        34444535  100.105.24.1      22.0.111.111   wireless1.juniper.net
     666444444494456        64494456  100.105.36.3      88.2.111.111   wireless1.juniper.net
     999114444444489        91444489  100.105.28.14     99.0.111.111   wireless1.juniper.net
     888455444444518        84554518  100.105.28.5      55.0.111.111   wireless1.juniper.net
     222444444444552      2224444552  100.105.24.19     22.2.222.223   wireless1.juniper.net
    
    user@pe1> show unified-edge ggsn-pgw subscribers extensive
    Subscriber Information:
        IMSI: 333444444444535    IMEI: 1122334455667874
        MSISDN: 34444535         Time Zone: None    (DST): None
        Status: Home
    User Location Info:
          MCC:  None  MNC:  None
          LAC: 0x0  CI: 0x0     SAC: 0x0  RAC: 0x0  TAC: 0x0  ECI: 0x0
        RAT Type: Unknown
      PDN Session:
        APN name: wireless1.juniper.net
        IPv4 Address: 100.105.24.1      IPv6 Address: None
        Direct Tunnel: Disabled         Session Duration: 4:52
        Local Control address: 11.11.11.1 Remote Control address: 22.0.111.111
        TEID Control Local: 0xa01944a   TEID Control Remote: 0x1b28a
        Addressing scheme: Local        Selection mode: sub verified
        Session PIC: 1 /0  (FPC/PIC)    Anchor PFE: 0 /0  (FPC/PIC)
        Session State: Established      GTP Version: 1
        Serving network: MCC: None MNC :None
      Bearer:
        NSAPI/EBI: 5                     Charging ID: 0xa01944a
        Local Data address: 11.11.11.1   Remote Data address: 22.0.111.111
        Local TEID: 0x420400             Remote TEID: 0x1b289
        Bearer State: Established        Substate: -
        Idle Timeout: 60  min(188-0,0)   AAA Interim Interval: 0  min(0 -0,0)
        Negotiated QoS Parameters:
         Traffic Class:Background        ARP: 1
         Traffic Handling Priority:3     Transfer Delay      :10
         MBR Uplink: 8640       kbps     MBR Downlink        :8640      kbps
                                         Signaling Indicator :0
         Forwarding Class:  -              Loss Priority:  -
        Requested QoS Parameters:
         Traffic Class: Background         ARP: 1
         Traffic Handling Priority: 3      Transfer Delay: 10
         MBR Uplink  : 8640       kbps     MBR Downlink: 8640      kbps
                                           Signaling Indicator: 0
        Charging information:
         Profile ID: 1 Profile name: chr-wireless1.juniper.net
         State: Ready        Previous State: Ga
         Profile selection criteria: Static default
         Details: Accounting enabled, Offline bearer
        Offline charging information:
         Current service data container sequence number: 0
         Current partial record sequence number        : 0
         Number of CDRs closed                         : 0
        Rating group information:
          Rating group: 0 Service id: 0
          Action ID: 0x101944a          Trigger profile: 2
          Change condition bitmask: 0x0 Action-id-bitmask: 0x1
          Signal bitmask: 0x0           Last signal bitmask: 0x0
          Details: Bearer trigger, Offline RG
          Last statistics collection time : None collected
    
    				.
    				.
    				.
    

    Meaning

    The show unified-edge ggsn-pgw subscribers command lists the established sessions.

    The show unified-edge ggsn-pgw subscribers extensive command displays detailed information about these subscribers.

    Verifying GTP-C Status

    Purpose

    Verify the GTP-C status for call establishment.

    Action

    user@pe1> show unified-edge ggsn-pgw gtp peer
    Rmt IP Address           Local IP Address         Routing-Instance
    ------------------------------------------------------------------
    88.5.100.100                 11.11.11.1                   10
    88.0.100.100                 11.11.11.1                   8
    88.0.100.104                 11.11.11.1                   8
    88.0.111.111                 11.11.11.1                   8
    user@pe1> show unified-edge ggsn-pgw gtp peer remote-address 88.0.111.111 detail
    Peer Detail:
    ---------------
    Remote IP Addr                       = 88.0.111.111
    Local IP Addr                        = 11.11.11.1
    Routing Instance                     = 8
    Interface Type                       = GTP_INTF_GN
    GTP Version                          = 1
    RCM Registration Done                = yes
    Is Restart Counter Valid             = yes
    Restart Counter Value                = 1
    Sent Restart Counter Value           = 7
    Control Path N3 Req                  = 3
    Control Path T3 Timer                = 5
    Control Path Echo N3 Req             = 8
    Control Path Echo T3 Timer           = 15
    Control Path Echo Interval           = 60
    Is PATH Management Enabled (control) = no
    Is CSID Supported                    = no
    IS GTP-C using Short Seq Number      = no
    GTP-C Path State                     = inactive
    Data Path N3 Req                     = 8
    Data Path T3 Timer                   = 15
    Data Path Echo Interval              = 60
    Is PATH Management Enabled (Data)    = no
    GTP-U Path State                     = inactive
    user@pe1> show unified-edge ggsn-pgw gtp statistics
    Global Packet Statistics
      Received Packets Dropped           : 0
      Packet Allocation Fail             : 0
      Packet Send Fail                   : 0
      IP Version Error Received          : 0
      IP Protocol Error Received         : 0
      GTP Port Error Received            : 0
      Packet Length Error Received       : 0
      Unknown Messages Received          : 0
    
    GTP Version 0 Statistics:
    -------------------------
      Protocol Error                     : 0
      Unsupported Messages Received      : 0
      T3 Response Timer Expires          : 0
    
    
      Message Type                                      Received        Transmitted
      -----------------------------------------------------------------------------
      Total number of messages                          63              63
      Total number of bytes                             4158            4032
      Redirect messages                                 0               0
      Echo Request                                      0               0
      Echo Response                                     0               0
      Version Not Supported                             0               0
      Create PDP Context Request                        63              0
      Create PDP Context Response                       0               63
      Update PDP Context Request                        0               0
      Update PDP Context Response                       0               0
      Delete PDP Context Request                        0               0
      Delete PDP Context Response                       0               0
    
    GTP Version 1 Statistics:
    -------------------------
      Protocol Error                     : 0
      Unsupported Messages Received      : 0
      T3 Response Timer Expires          : 0
    
    
      Message Type                                      Received        Transmitted
      -----------------------------------------------------------------------------
      Total number of messages                          216464          217110
      Total number of bytes                             13611840        9676412
      Redirect messages                                 0               0
      Echo Request                                      0               0
      Echo Response                                     0               0
      Version Not Supported                             0               620
      Create PDP Context Request                        116474          0
      Create PDP Context Response                       0               116474
      Update PDP Context Request                        0               0
      Update PDP Context Response                       0               0
      Delete PDP Context Request                        99990           23
      Delete PDP Context Response                       0               99990
    
    GTP Version 2 Statistics:
    -------------------------
      Protocol Error                     : 0
      Unsupported Messages Received      : 0
      T3 Response Timer Expires          : 0
    
    
      Message Type                                      Received        Transmitted
      -----------------------------------------------------------------------------
      Total number of messages                          219727          219473
      Total number of bytes                             24348253        12581846
      Redirect messages                                 0               0
      Echo Request                                      0               0
      Echo Response                                     0               0
      Version Not Supported                             0               0
      Create session request                            120080          0
      Create session response                           0               119460
      Modify bearer request                             0               0
      Modify bearer response                            0               0
      Delete session request                            99647           0
      Delete session response                           0               99647
      Create bearer request                             0               0
      Create bearer response                            0               0
      Update bearer request                             0               0
      Update bearer response                            0               0
      Delete bearer request                             0               366
      Delete bearer response                            0               0
      Delete PDN connection set request                 0               0
      Delete PDN connection set response                0               0
      Update PDN connection set request                 0               0
      Update PDN connection set response                0               0
      Modify bearer command                             0               0
      Modify bearer failure indication                  0               0
      Delete bearer command                             0               0
      Delete bearer failure indication                  0               0
      Bearer resource command                           0               0
      Bearer resource failure indication                0               0
      Change notification request                       0               0
      Change notification response                      0               0
    
    
    Error Indication Statistics:
      Version                                           Received        Transmitted
      -----------------------------------------------------------------------------
      GTPv0                                             0               0
      GTPv1                                             0               3
    

    Meaning

    The show unified-edge ggsn-pgw gtp peer command displays the GTP peers.

    The show unified-edge ggsn-pgw gtp peer remote-address address detail command displays detailed information about the specified GTP peer.

    The show unified-edge ggsn-pgw gtp statistics command displays the GTP statistics.

    Verifying Charging Status

    Purpose

    Verify the charging status for call establishment.

    Action

    user@pe1> show unified-edge ggsn-pgw charging transfer status
    Charging Transfer Status
    Transport-Profile : CGW-TRANS-pro-1
      Total UnAck CDR's         : 19995
      Total Buffered CDR's      : 280005
    
    Transport-Profile : trans-wireless1.juniper.net
      Total UnAck CDR's         : 0
      Total Buffered CDR's      : 50000
    
    user@pe1> show unified-edge ggsn-pgw charging transfer statistics
    Charging Transfer Statistics
    Transport-Profile : CGW-TRANS-pro-1
      Redirection Requests     Rx: 0     Redirection Responses    Tx: 0
      DRT Responses            Rx: 0     DRT Requests             Tx: 4000
      DRT successful Responses Rx: 0     DRT Error Responses      Rx: 0
      DRT Requests timed out     : 334525 CGF Switch Back Times      : 64
      Batch Requests           Tx: 0     Batch Response Errors    Rx: 0
      Batch CDR's              Tx: 0     CDR Count                  : 19995
      Total WFA                  : 4000
    
    Transport-Profile : trans-wireless1.juniper.net
      Redirection Requests     Rx: 0     Redirection Responses    Tx: 0
      DRT Responses            Rx: 0     DRT Requests             Tx: 0
      DRT successful Responses Rx: 0     DRT Error Responses      Rx: 0
      DRT Requests timed out     : 0     CGF Switch Back Times      : 0
      Batch Requests           Tx: 1362  Batch Response Errors    Rx: 0
      Batch CDR's              Tx: 50000 CDR Count                  : 50000
      Total WFA                  : 0
    
    user@pe1> show unified-edge ggsn-pgw charging local-persistent-storage statistics
    Charging local-persistent-storage Statistics
      Batch Messages received                             : 1362
      Batch Responses sent                                : 1362
      Invalid Messages received                           : 0
      Number of temp log files opened                     : 1
      Number of journal files opened                      : 1
      Number of journal files closed                      : 0
      Number of CDR log files closed                      : 0
      Number of CDR files closed due to file-age          : 0
      Number of CDR files closed due to file-size         : 0
      Number of CDR files closed due to cdr-count         : 0
      Abnormal file closures                              : 0
      Normal file closures                                : 0
      Number of CDR log files closed in TS_32_297 format  : 0
      Number of CDR log files closed in raw asn1 format   : 0
      Total number of CDRs backed up                      : 50000
      Disk Full messages sent                             : 0
      Disk Full resolve messages sent                     : 0
      Number of async IO reqs written                     : 1362
      Number of CDR storage files on disk                 : 3
      Disk space status                                   : DISK_AVAILABLE
      Current storage space in use(MB)                    : 6685
      Available storage space on disk(MB)                 : 27862
      Total storage space on disk(MB)                     : 34547
      Watermark level1 at(MB)                             : 24182(70%)
      Watermark level2 at(MB)                             : 27637(80%)
      Watermark level3 at(MB)                             : 31092(90%)
    
    Temporary CDR log file Statistics
    File Name: /var/db/mobility/charging/ggsn/temp_log/templog_file_1.log
        Journal file name          : /var/db/mobility/charging/ggsn/jrnl/jrnl_1.log
        Current number of CDRs     : 50000
        Current file size(bytes)   : 10357039
        File age trigger(mins)     : 60
        File size trigger(bytes)   : 10485760
        CDR count trigger          : 0
    

    Meaning

    The show unified-edge ggsn-pgw charging transfer status command displays the charging transfer status. It also displays information about the CDR transfers for the transport profiles.

    The show unified-edge ggsn-pgw charging transfer statistics command displays the charging transfer statistics for the transport profiles.

    The show unified-edge ggsn-pgw charging local-persistent-storage statistics command displays the charging statistics for local persistent storage.

    Verifying Mobile Interfaces

    Purpose

    Verify there is no data loss across the mobile interfaces for call establishment and Gn-to-Gi connectivity across the MPLS core.

    Action

    user@pe1> show interfaces mif.1 extensive
      Logical interface mif.1 (Index 85) (SNMP ifIndex 812) (Generation 165)
        Flags: SNMP-Traps Encapsulation: GTP-over-MIF
        Bandwidth: 1000mbps
        Traffic statistics:
         Input  bytes  :              6160000
         Output bytes  :              6084936
         Input  packets:                70000
         Output packets:                69147
        Local statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Transit statistics:
         Input  bytes  :              6160000                    0 bps
         Output bytes  :              6084936                    0 bps
         Input  packets:                70000                    0 pps
         Output packets:                69147                    0 pps
        Protocol inet, MTU: 1440, Generation: 219, Route table: 12
          Flags: Sendbcast-pkt-to-re, Is-Primary
    
    user@pe1> show interfaces mif.2 extensive
      Logical interface mif.2 (Index 86) (SNMP ifIndex 813) (Generation 166)
        Flags: SNMP-Traps Encapsulation: GTP-over-MIF
        Bandwidth: 1000mbps
        Traffic statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Local statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Transit statistics:
         Input  bytes  :                    0                    0 bps
         Output bytes  :                    0                    0 bps
         Input  packets:                    0                    0 pps
         Output packets:                    0                    0 pps
        Protocol inet, MTU: 1440, Generation: 220, Route table: 13
          Flags: Sendbcast-pkt-to-re
    
    

    Meaning

    The show interfaces mif.number extensive command displays detailed information about the specified mobile interface.

    Published: 2012-02-17