17-19
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter1 7 Administrative Tasks for the Sensor
Terminating CLI Sessions
Step 5
Remove the banner login. The banner no longer appears at logi n.
sensor(config)# no banner login
Terminating CLI Sessions
Caution
You can only clear CLI login sessions with the clear line command. You cannot clear service logins with
this command.
Use the clear line cli_id [message] command to terminate another CLI session. If you use the message
keyword, you can send a message along with the termination request to the receiving user. The maximum
message length is 2500 characters.
The following options apply:
cli_id—Specifies the CLI ID number associated with the login session. Use the show users
command to find the CLI ID number.
message—Specifies the message to send to the receiving user.
If an administrator tries to log in when the maximum sessions have been reached, the following message
appears:
Error: The maximum allowed CLI sessions are currently open, would you like to terminate
one of the open sessions? [no]
If an operator or viewer tries to log in when the maximum sessions are open, the following message
appears:
Error: The maximum allowed CLI sessions are currently open, please try again later.
To terminate a CLI session, follow these steps:
Step 1
Log in to the CLI using an account with administrator privileges.
Note
Operator and viewer can only clear lines with the same username as the current login.
Step 2
Find the CLI ID number associated with the login session.
sensor# show users
CLI ID User Privilege
* 13533 jtaylor administrator
15689 jsmith operator
20098 viewer viewer
Step 3
Terminate the CLI session of jsmith.
sensor# clear line cli_id message
Message[]:
Example
sensor# clear line 15689 message
Message{}: Sorry! I need to terminate your session.