Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Deleting an Address Pool

date_range 13-Jan-21

This procedure describes how to delete an address pool. You must first halt new sessions from being started and verify that no active sessions remain. The steps are similar to those described in Changing Address Attributes in the Address Pool.

To delete an address from an address pool:

  1. From configuration mode, activate maintenance mode for an address pool.
    content_copy zoom_out_map
    [edit]
    user@host# set routing-instance  juniper-vrf access address-assignment address-pools  pool-name service-mode maintenance
    user@host# commit
    
  2. Verify that all subscriber sessions have ended.
    content_copy zoom_out_map
    [edit]
    user@host# run show unified-edge tdf address-assignment pool brief 
    

    The service mode shows Maintenance – Active Phase if all the sessions are cleared. The service mode shows Maintenance – In Phase if some sessions are active. The service mode shows Maintenance – Out Phase if maintenance mode is not configured (that is, it is in operational mode).

  3. (Optional) Terminate sessions that are using an address pool using the clear command.
    content_copy zoom_out_map
    [edit]
    user@host#   run clear unified-edge tdf subscribers routing-instance juniper-vrf
    

    When the subscriber count is zero and all sessions have terminated, the service mode status indicates Maintenance – Active phase. In this state, you can modify pool attributes and commit changes.

  4. When the subscriber count is zero and all sessions have ended, modify address pool attributes and commit changes.
    Note:

    These modifications, if made outside of active maintenance mode, fail.

  5. Delete the address pool and commit the change.
    content_copy zoom_out_map
    [edit]
    user@host# delete routing-instance juniper-vrf access address-assignment address-pools juniper-pool  
    user@host# commit
    
  6. Verify that the address pool has been deleted (that is, it is not listed in the output).
    content_copy zoom_out_map
    [edit]
    user@host# run show configuration routing-instance juniper-vrf access address-assignment address-pools juniper-pool  
    
footer-navigation