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

Página de 312
L O G C O N F I G
C H A P T E R   3 :   T H E   C O M M A N D S :   R E F E R E N C E   E X A M P L E S
 231
[]> LogPush
Choose the method to retrieve the logs.
1. FTP Poll
2. FTP Push
3. SCP Push
[1]> 3
Hostname to deliver the logs:
[]> 10.1.1.1
Port to connect to on the remote host:
[22]>
Username on the remote host:
[]> logger
Directory on remote host to place logs:
[]> /tmp
Filename to use for log files:
[delivery.log]>
Maximum time to wait before transferring:
[3600]>
Maximum filesize before transferring:
[10485760]>
Protocol:
1. SSH1
2. SSH2
[2]> 2
Do you want to enable host key checking?  [N]> y
Do you want to automatically scan the host for its SSH key, or enter it
manually?
1. Automatically scan.
2. Enter manually.
[1]> 1
Code Example 3-137 
logconfig
 - Creating a SCP ‘Push’ Delivery Log  (Continued)