Changing a TDF Interface
This procedure describes how to use maintenance mode to halt new sessions from being started and to verify that no active sessions remain before making changes to a TDF interface address.
- 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 TDF gateway shows
Maintenance – Active Phase
if all the sessions using this pool are cleared. The service mode for the gateway showsMaintenance – In Phase
if some sessions are actively using this pool. - Verify that no subscribers are active on this gateway.
[edit] user@host# run show unified-edge tdf subscribers gateway gateway-name
Note:If a large number of subscribers use this gateway, the preceding command can be process intensive, in which case you can use the following command to show the active contexts across all of the gateway instances:
[edit] user@host# run show unified-edge tdf status
- (Optional) Terminate sessions that are using the gateway
using the following clear command:
[edit] user@host# run clear unified-edge tdf subscribers gateway gateway-name
CAUTION:This clear command deletes all of the existing subscribers on the gateway. Only issue these commands if you intend to disconnect service to all these subscribers.
- When the subscriber count is zero, and all sessions have
ended, modify the TDF interface in active maintenance mode.
[edit] user@host# set unified-edge gateways tdf gateway-name domains domain-name user@host# commit
Note:These modifications must be made in active maintenance mode or they fail.
- Verify that changes were properly committed.
[edit] user@host# run show configuration unified-edge tdf gateway gateway-name
- Exit maintenance mode and commit the changes.
[edit] user@host# delete unified-edge gateways tdf gateway-name gateway gateway-name service-mode user@host# commit
- Return the gateway to operational state.
[edit] user@host# run show unified-edge tdf gateway service-mode