26.11.2012 Views

IronPort - CLI reference guide

IronPort - CLI reference guide

IronPort - CLI reference guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

grep<br />

Description<br />

Usage<br />

444<br />

Table 3-147 alertconfig - Creating a New Alert and Alert Recipient<br />

[]><br />

mail3.example.com><br />

Searches for text in a log file.<br />

Commit: This command does not require a ‘commit’.<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 <strong>CLI</strong> Reference Guide<br />

Chapter<br />

Cluster Management: This command is restricted to machine mode. It is further<br />

restricted to the login host (i.e., the specific machine you are logged onto). This<br />

command requires access to the local file system.<br />

Batch Command: This command does not support a batch format.<br />

The grep command can be used to search for text strings within logs. Use the<br />

following syntax when you run the grep command:<br />

grep [-C count] [-e regex] [-i] [-p] [-t] [regex] log_name<br />

Note You must enter either -e regex or regex to return results.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!