Cisco Cisco Packet Data Gateway (PDG)
Exec Mode Commands (A-C)
clear subscribers ▀
Command Line Interface Reference, StarOS Release 18 ▄
4003
clear subscribers
Disconnects subscribers based on specified criteria.
Product
All
Privilege
Security Administrator, Administrator, Operator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
clear subscribers [ keywords ] [ verbose ] [ -noconfirm ]
The keywords are filters that modify or filter the criteria for deciding which subscriber sessions to clear and
are described below. Multiple keywords can be entered on a command line.
When multiple keywords are specified, the subscriber sessions deleted must meet the specifications of all of
the keywords.
For example; if you enter the following command:
are described below. Multiple keywords can be entered on a command line.
When multiple keywords are specified, the subscriber sessions deleted must meet the specifications of all of
the keywords.
For example; if you enter the following command:
clear subscribers ip-pool pool1 card-num 1
Only subscriber sessions that were assigned an IP address from the IP pool named
pool1
and are also being
processed by the processing card in slot
1
are cleared. All other subscriber sessions that do not meet these
criteria remain and are not cleared.
-noconfirm
Executes the command without any additional prompt and confirmation from the user.
Important:
The Operator privilege does not have access to this keyword.
active
Only disconnects subscribers who currently have active sessions.
active-charging-service ecs_service_name
Clears information for subscribers using the Active charging Service.
ecs_service_name
must be the name of the Active Charging Service, expressed as an alphanumeric string
of 1 through 15 characters.
all
Disconnects all subscribers.