Deleting a Charging Profile
This procedure describes how to use maintenance mode to delete a charging profile. You must first halt new sessions from being started and verify that there are no active sessions remaining.
The example shown is for deleting a charging transport profile. The same configuration applies for deleting a transport or trigger profile.
![]() | Note: Use this procedure to delete a charging profile or a charging transport profile. To specify a charging profile, replace the syntax charging transport-profiles with charging charging-profiles. |
To delete a charging profile:
- Enter configuration mode in the CLI. user@host> configure
- Activate maintenance mode for a charging transport profile:user@host# set unified-edge gateways ggsn-pgw gw-name charging transport-profiles profile-name service-mode maintenance commit
- Verify that the charging gateway is in maintenance mode.user@host#show unified-edge ggsn-pgw charging service-mode transport-profile profile-name gateway gw-name
Note: The service mode for the charging profile shows Maintenance – Active Phase if all the sessions using this pool are cleared. The service mode for the charging profile shows Maintenance – In Phase if there are some sessions actively using this profile. The service mode for the profile shows Maintenance – Out Phase if maintenance mode is not configured (that is, it is in operational mode).
- Verify that there are no subscribers active on this charging
profile.user@host#show unified-edge ggsn-pgw charging service-mode transport-profile profile-name gateway gw-name
- (Optional) Terminate sessions that are using a charging
profile using the clear command.user@host# run clear unified-edge ggsn-pgw subscribers charging transport-profile profile-name gateway gw-name
- When the subscriber count is zero and all sessions have
ended, you can make and commit changes to charging profile attributes
in active maintenance mode.
Note: These modifications must be made in active maintenance mode or they will fail.
- Delete the charging transport profile, commit your changes,
and exit maintenance mode.user@host# delete unified-edge gateways ggsn-pgw gw-name charging transport-profile profile-name service-mode user@host# commit
- Verify that changes were properly committed.user@host# run show configuration unified-edge ggsn-pgw gateway gw-name
- Return the gateway to operational state.user@host# run show unified-edge ggsn-pgw gateway service-mode