18.10.2013 Views

FTOS Command Reference for the S-Series - Force10 Networks

FTOS Command Reference for the S-Series - Force10 Networks

FTOS Command Reference for the S-Series - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• find — search <strong>for</strong> <strong>the</strong> first occurrence of a pattern<br />

• grep — display text that matches a pattern<br />

• no-more — do not paginate <strong>the</strong> display output<br />

Displaying All Output<br />

To display <strong>the</strong> output all at once (not one screen at a time), use <strong>the</strong> no-more after <strong>the</strong> pipe.<br />

This is similar to <strong>the</strong> terminal length screen-length command except that <strong>the</strong> no-more<br />

option affects <strong>the</strong> output of just <strong>the</strong> specified command.For example:<br />

<strong>Force10</strong>#show running-config|no-more<br />

Filtering <strong>Command</strong> Output Multiple Times<br />

<strong>Command</strong> Modes<br />

EXEC Mode<br />

Note: <strong>FTOS</strong> accepts a space be<strong>for</strong>e or after <strong>the</strong> pipe, no space be<strong>for</strong>e or after <strong>the</strong><br />

pipe, or any combination. For example:<br />

<strong>Force10</strong>#command|grep gigabit |except regular-expression | find regular-expression<br />

You can filter a single command output multiple times. For example:<br />

<strong>Force10</strong># command | grep regular-expression | except regular-expression | grep<br />

o<strong>the</strong>r-regular-expression | find regular-expression | no-more<br />

To navigate to various CLI modes, you need to use specific commands to launch each mode.<br />

Navigation to <strong>the</strong>se modes is discussed in <strong>the</strong> following sections.<br />

Note: Some of <strong>the</strong> following modes are not available on C-<strong>Series</strong> or S-<strong>Series</strong>.<br />

When you initially log in to <strong>the</strong> switch, by default, you are logged into <strong>the</strong> EXEC mode. This<br />

mode allows you to view settings and to enter <strong>the</strong> EXEC privilege mode to configure <strong>the</strong><br />

device. The > prompt is displayed while you are logged into <strong>the</strong> EXEC mode.<br />

The launch command to enter EXEC privilege mode is enable. When you use <strong>the</strong> enable<br />

command you must provide a password.<br />

42 CLI Basics

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

Saved successfully!

Ooh no, something went wrong!