How to Delete an APN
Requirements
This example uses the following hardware and software components:
- An operational MX chassis
- Junos OS Mobility package
Deleting an APN
This section shows an example of how to delete an Access Point Name.
Configure
Step-by-Step Procedure
To delete an APN, the operator executes the following steps.
- Enter Configure mode and set the APN named Central in
Maintenance Mode.user@host# configureuser@host# set unified-edge gateways ggsn-pgw PGW apn-service apn Central service mode-maintenanceuser@host# commit
- Wait for all sessions using juniper-pool to terminate; This is done by monitoring the service-mode status
using the show command below. When sessions become zero, the service-mode
status will display Maintenance – Active Phase.user@host# run show unified-edge ggsn-pgw PGW apn-services apn Central
Note: When Maintenance Mode shows Active Phase the system is ready to accept configuration changes for all attributes of this object and its sub-hierarchies. When Maintenance Mode shows In/Out Phase - the ystem is ready to accept configuration changes only for non-maintenance mode attributes of this object and its sub-hierarchies.
- Delete the APN Central.user@host# delete unified-edge ggsn-pgw PGW apn-services apn Central user@host# commit
- Verify that the address pool has been deleted.user@host# run show unified-edge gateways ggsn-pgw PGW apn-services apn details
The APN Cetnral should not display in the show command output.
- Exit Maintenance Mode.user@host# delete unified-edge ggsn-pgw PGW apn-services apn Central service-mode maintenanceuser@host# commit