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 a Mobility Address Pool

    Requirements

    This example uses the following hardware and software components:

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

    Example of Deleting a Mobility Address Pool

    In this example, a pool “juniper-pool” in routing-instance “default” exists with the following configuration:

    juniper-pool {
        family inet {
            network {
                30.30.0.0/16 {
                    range {
                        range1 {
                            low 30.30.1.1;
                            high 30.30.255.254;
                        }
                    }
                }
            }
        }
        default-pool;
    }
    

    In this example, you delete this pool.

    Configuration

    Step-by-Step Procedure

    To delete the pool, execute the following steps.

    1. Enter configuration mode and place the pool in maintenance mode.
      user@host# configureuser@host# set access address-assignment mobile-pools juniper-pool service-mode maintenance user@host# commit
    2. Wait for all sessions using “juniper-pool” to terminate. Do this by monitoring the service-mode status using the show command. When sessions become zero, the service-mode status will display Maintenance – Active Phase.
      user@host# run show unified-edge ggsn-pgw address-assignment service-mode pool juniper-pool

      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. Remove all references to the pool from all APNs, if any.
      user@host# delete unified-edge gateways ggsn-pgw MBG1 apn-services apn internet address-assignment inet-pool pool juniper-pooluser@host# commit
    4. Remove all references to the pool from any pool group, if any.
      user@host# delete access address-assignment mobile-pool-groups pool-group-xyz juniper-pooluser@host# commit
    5. If the pool is marked default pool, many APNs could be referencing this pool. In this case, delete the default pool attribute for the “juniper-pool.”
      user@host# delete access address-assignment mobile-pools juniper-pool default-pool user@host# commit
    6. Delete the pool “juniper-pool.”
      user@host# delete access address-assignment mobile-pools juniper-pool routing-instance juniper-vrf user@host# commit
    7. Verify that the address pool is deleted.
      user@host# run show unified-edge ggsn-pgw address-assignment pool details

      The address pool “juniper-pool” should not be displayed in the show command output.

    Published: 2011-11-16