Specifications

3-15
CLEAR/PURGE Commands
TCP LISTENER
(privileged)
Syntax
Description
This privileged command resets a predefined TCP listener in the access server
database to the factory-set defaults. The access server defaults are: Connections:
DISABLED, Ports: NONE, and Type: TCP. The listener type will remain RAW
TCP.
When you enter the CLEAR TCP LISTENER command, you will get an error
message if there are sessions active that were established from the specified
listener. When this occurs, log out the ports on which these sessions are
established before attempting the CLEAR command.
Keywords
listener-id
This keyword identifies the listener to be reset. If the listener is in the range of
2001 to 2032, that port is reset to Connections: DISABLED, Ports: NONE, and
Type: TCP.
ALL
Specifies that all Telnet listeners with type RAW TCP are currently defined in the
designated database.
Restrictions
You cannot use the CLEAR TCP LISTENER command with an active session.
The specified listener must be type RAW TCP.
Listener 23 cannot be type RAW TCP.
Example: CLEAR TCP LISTENER
The following example resets the Telnet listener (type RAW TCP) mapped to TCP
port 2010 to factory-set defaults:
Local> CLEAR TCP LISTENER 2010