Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 328
 
3-110
CLI Reference Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  General Management/Administration/Troubleshooting
Batch Format
The batch format of the 
tlsverify
 command can be used to perform all the fuctions of the traditional 
CLI command to check the TLS connection to the given hostname.
Example
mail3.example.com> tlsverify
Enter the TLS domain to verify against:
[]> example.com
Enter the destination host to connect to.  Append the port (example.com:26) if you are not 
connecting on port 25:
[example.com]> mxe.example.com:25
Connecting to 1.1.1.1 on port 25.
Connected to 1.1.1.1 from interface 10.10.10.10.
Checking TLS connection.
TLS connection established: protocol TLSv1, cipher RC4-SHA.
Verifying peer certificate.
Verifying certificate common name mxe.example.com.
TLS certificate match mxe.example.com
TLS certificate verified.
TLS connection to 1.1.1.1 succeeded.
TLS successfully connected to mxe.example.com.
TLS verification completed.
trace
Description
Trace the flow of a message through the system
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format.
Example
mail3.example.com> trace
Enter the source IP
[]> 192.168.1.1
Enter the fully qualified domain name of the source IP
[]> example.com
tlsverify <domain> <hostname>[:<port>]