This procedure describes how to place an address pool
of a virtual routing and forwarding (VRF) instance in maintenance
mode, allow all existing sessions using this pool to gracefully terminate,
and then delete or modify pool attributes (for example, change address
ranges in a pool).
To change address attributes in the address pool:
- From configuration mode, activate maintenance mode for
an address pool.
[edit]
user@host# set routing-instance vrf-name access address-assignment address-pools juniper-pool service-mode maintenance
user@host# commit
- Verify that all subscriber sessions have ended.
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).
- (Optional) Terminate existing sessions using the clear command.
[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 address
pool attributes and commit changes.
- Make changes to the pool.
- Verify that changes were properly saved.
[edit]
user@host# run show configuration routing-instance access address-assignment address-pools pool-name detail
Note: These modifications, if made outside of active maintenance
mode, fail.
- Exit maintenance mode to return to normal operational
mode.
[edit]
user@host# delete routing-instance juniper-vrf access address-assignment address-pools pool-name service-mode
- Return the gateway to operational state.
[edit]
user@host# run show unified-edge tdf gateway service-mode