This procedure describes how to use maintenance mode
to delete a TDF interface. You must first halt new sessions from being
started and verify that no active sessions are remaining.
You can use maintenance mode to remove any of the TDF interfaces.
You can also enter maintenance mode to delete control and data
portions of these interface configurations.
- From configuration mode, activate maintenance mode for
a gateway.
[edit]
user@host# set unified-edge gateways tdf gateway-name service-mode maintenance
user@host# commit
- Verify that the TDF gateway is in maintenance mode.
[edit]
user@host# run show unified-edge tdf gateway service-mode
From the gateway hierarchy, the service mode for the gateway
shows Maintenance – Active Phase
if all the sessions using this pool are cleared. The service mode
for the gateway shows Maintenance – In Phase
if some sessions are actively using this pool. The service mode
for the gateway shows Maintenance – Out Phase
if maintenance mode is not configured (that is, the gateway is in
operational mode).
- Verify that no subscribers are active on this gateway.
[edit]
user@host# run show unified-edge tdf subscriber gateway gateway-name
- (Optional) Terminate sessions that are using the gateway
and clear CDRs using the following clear command.
[edit]
user@host# run clear unified-edge tdf subscribers gateway gateway-name
- When the subscriber count is zero, and all sessions have
ended, delete the TDF interface in active maintenance mode.
Note: These modifications must be made in active maintenance
mode or they fail.
- Delete the TDF interface.
[edit]
user@host# delete unified-edge gateways tdf gateway-name domains domain-name tdf-interface mif interface-name
- Exit maintenance mode and commit the changes.
user@host# delete unified-edge gateways tdf gateway-name gateway gateway-name service-mode
user@host# commit
- Verify that changes were properly committed.
user@host# run show configuration unified-edge tdf gateway gateway-name