Cisco Cisco Email Security Appliance C190 Leaflet

Page of 322
 
3-229
AsyncOS 9.6 for Cisco Email Security Appliances CLI 참조 가이드
 
     명령참조 예제
  로깅  알림
grep 
다음 예에서는 안티바이러스 로그 내에서 텍스트 문자열 'clean'  또는 'viral' 을 검색하는 것을 보여
줍니다. grep 명령이 regex 표현식을 포함합니다.
mail3.example.com> grep "CLEAN\\|VIRAL" antivirus
Fri Jun  9 21:50:25 2006 Info: sophos antivirus - MID 1 - Result 'CLEAN' ()
Fri Jun  9 21:53:15 2006 Info: sophos antivirus - MID 2 - Result 'CLEAN' ()
Fri Jun  9 22:47:41 2006 Info: sophos antivirus - MID 3 - Result 'CLEAN' ()
Fri Jun  9 22:47:41 2006 Info: sophos antivirus - MID 4 - Result 'CLEAN' ()
Fri Jun  9 22:47:41 2006 Info: sophos antivirus - MID 5 - Result 'CLEAN' ()
Fri Jun  9 22:47:41 2006 Info: sophos antivirus - MID 6 - Result 'CLEAN' ()
Fri Jun  9 22:47:42 2006 Info: sophos antivirus - MID 12 - Result 'CLEAN' ()
Fri Jun  9 22:53:04 2006 Info: sophos antivirus - MID 18 - Result 'VIRAL' ()
Fri Jun  9 22:53:05 2006 Info: sophos antivirus - MID 16 - Result 'VIRAL' ()
Fri Jun  9 22:53:06 2006 Info: sophos antivirus - MID 19 - Result 'VIRAL' ()
Fri Jun  9 22:53:07 2006 Info: sophos antivirus - MID 21 - Result 'VIRAL' ()
Fri Jun  9 22:53:08 2006 Info: sophos antivirus - MID 20 - Result 'VIRAL' ()
Fri Jun  9 22:53:08 2006 Info: sophos antivirus - MID 22 - Result 'VIRAL' ()
mail3.example.com>
logconfig
설명
로그 파일에 대한 액세스를 구성합니다.
사용
Commit: 이 명령은 'commit' 이 필요합니다.
클러스터 관리: 이 명령은 3가지 시스템 모드(클러스터, 그룹, 시스템) 모두에서 사용할 수 있습니다.
배치 명령: 이 명령은 배치 형식을 지원하지 않습니다.
FTP 푸시 로그 서브스크립션의 
다음 예에서는 
logconfig
 명령을 사용하여 
myDeliveryLogs
라는 새 전달 로그를 구성합니다. 그런 
다음 로그가 FTP를 통해 원격 호스트에 푸시되도록 구성합니다.
mail3.example.com> logconfig
Currently configured logs:
1. "antispam" Type: "Anti-Spam Logs" Retrieval: FTP Poll
2. "antivirus" Type: "Anti-Virus Logs" Retrieval: FTP Poll
3. "asarchive" Type: "Anti-Spam Archive" Retrieval: FTP Poll
4. "authentication" Type: "Authentication Logs" Retrieval: FTP Poll
5. "avarchive" Type: "Anti-Virus Archive" Retrieval: FTP Poll
6. "bounces" Type: "Bounce Logs" Retrieval: FTP Poll
-t
로그 파일의 tail에 대해 grep 명령을 실행합니다.
regex
정규 표현식을 입력합니다.
3-12
grep
 
명령
 
옵션
(
계속
)