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: Deleting an APN

    Requirements

    This example uses the following hardware and software components:

    • An operational MX Series chassis
    • Junos OS MobileNext Broadband Gateway package

    Overview

    This configuration example shows how to delete an access point name (APN).

    Configuration

    Step-by-Step Procedure

    To delete an APN:

    1. Enter configuration mode and place the APN named Central in maintenance mode.
      user@host# configureuser@host# set unified-edge gateways ggsn-pgw MBG1 apn-service apns Central service-mode maintenanceuser@host# commit
    2. Wait for all sessions using Central to terminate. Do this by monitoring the service-mode status using the following show command. When sessions become zero, the service-mode status displays Maintenance – Active Phase.
      user@host# run show unified-edge ggsn-pgw subscribers | match apn-name

      Note: When maintenance mode shows Maintenance – Active Phase, the system is ready to accept configuration changes for all attributes of this object and its subhierarchies. When maintenance mode shows In/Out Phase, the system is ready to accept configuration changes only for non-maintenance mode attributes of this object and its subhierarchies.

    3. Delete the APN named Central and commit the changes.
      user@host# delete unified-edge ggsn-pgw MBG1 apn-services apnsCentral user@host# commit
    4. Exit maintenance mode and commit.
      user@host# delete unified-edge ggsn-pgw MBG1 apn-services apns Central service-mode user@host# commit
    5. Verify that the APN has been deleted.
      user@host# run show configuration unified-edge gateways ggsn-pgw MBG1 apn-services apns

      The APN named Central should not be displayed in the show command output.

    6. Return the gateway to operational state.
      user@host# run show unified-edge ggsn-pgw gateway service-mode

    Published: 2011-11-16