Cisco Cisco Email Security Appliance C160 Références techniques

Page de 325
 
3-68
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  General Management/Administration/Troubleshooting
the GUI. You can use the login banner to display internal security information or best practice 
instructions for the appliance. For example, you can create a simple note that saying that unauthorized 
use of the appliance is prohibited or a detailed warning concerning the organization’s right to review 
changes made by the user to the appliance.
The maximum length of the login banner is 2000 characters to fit 80x25 consoles. A login banner can 
be imported from a file in the 
/data/pub/configuration
 directory on the appliance. After creating the 
banner, commit your changes.
In the following example, the login banner “Use of this system in an unauthorized manner is prohibited” 
is added to the appliance:
mail.example.com> adminaccessconfig
Choose the operation you want to perform:
- BANNER - Configure login message (banner) for appliance administrator login.
- WELCOME - Configure welcome message (post login message) for appliance administrator 
login.
- IPACCESS - Configure IP-based access for appliance administrative interface.
- CSRF - Configure web UI Cross-Site Request Forgeries protection.
- HOSTHEADER - Configure option to use host header in HTTP requests.
- TIMEOUT - Configure GUI and CLI session inactivity timeout.
[]> banner
A banner has not been defined.
Choose the operation you want to perform:
- NEW - Create a banner to display at login.
- IMPORT - Import banner text from a file.
[]> new
Enter or paste the banner text here. Enter CTRL-D on a blank line to end.
Use of this system in an unauthorized manner is prohibited.
^D
Choose the operation you want to perform:
- BANNER - Configure login message (banner) for appliance administrator login.
- WELCOME - Configure welcome message (post login message) for appliance administrator 
login.
- IPACCESS - Configure IP-based access for appliance administrative interface.
- CSRF - Configure web UI Cross-Site Request Forgeries protection.
- HOSTHEADER - Configure option to use host header in HTTP requests.
- TIMEOUT - Configure GUI and CLI session inactivity timeout.
[]> banner
Banner: Use of this system in an unauthorized manner is prohibited.
Choose the operation you want to perform:
- NEW - Create a banner to display at login.
- IMPORT - Import banner text from a file.
- DELETE - Remove the banner.
[]>
Example - Configuring Web Interface and CLI Session Timeout
The following example sets the web interface and CLI session timeout to 32 minutes. 
Note
The CLI session timeout applies only to the connections using Secure Shell (SSH), SCP, and direct serial 
connection. Any uncommitted configuration changes at the time of CLI session timeout will be lost. 
Make sure that you commit the configuration changes as soon as they are made.