13-2
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 13 Administrative Tasks for the Sensor
Terminating CLI Sessions
Step 3
Create the banner login:
sensor(config)#
banner login
Banner[]:
Step 4
Type your message:
Banner[]:
This message will be displayed on banner login. ^M Thank you
sensor(config)#
Note
To use a ? or a carriage return in the message, press
Ctrl-V-?
or
Ctrl-V-Enter
. They are
represented by ^M.
Example of a completed banner login:
This message will be displayed on login.
Thank you
login: cisco
Password:****
Step 5
To remove the banner login:
sensor(config)#
no banner login
The banner no longer appears at login.
Terminating CLI Sessions
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
—CLI ID number associated with the login session. Use the
show users
command to find the
CLI ID number.
•
message
—Message to send to the receiving user.
Caution
You can only clear CLI login sessions with the
clear line
command. You cannot clear service logins with
this command.
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.