Navigating the CLI

Dell Networking OS displays a CLI prompt comprised of the host name and CLI mode.

Host name is the initial part of the prompt and is “Dell” by default. You can change the host name with the hostname command.

CLI mode is the second part of the prompt and reflects the current CLI mode. For a list of the Dell Networking OS command modes, refer to the command mode list in the Accessing the Command Line section.

The CLI prompt changes as you move up and down the levels of the command structure. Starting with CONFIGURATION mode, the command prompt adds modifiers to further identify the mode. For more information about command modes, refer to the Command Modes section.

Using the Keyword no Command

To disable, delete or return to default values, use the no form of the commands.

For most commands, if you type the keyword no in front of the command, you disable that command or delete it from the running configuration. In this guide, the no form of the command is described in the Syntax portion of the command description.

Filtering show Commands

To find specific information, display certain information only or begin the command output at the first instance of a regular expression or phrase, you can filter the display output of a show command.

When you execute a show command, and then enter a pipe ( ), one of the following parameters, and a regular expression, the resulting output either excludes or includes those parameters.

NOTE: Dell Networking OS accepts a space before or after the pipe, no space before or after the

pipe, or any combination. For example: Dell#command grep gigabit except regular- expression find regular-expression

display

displays additional configuration information

except

displays only the text that does not match the pattern (or regular expression)

find

searches for the first occurrence of a pattern

grep

displays text that matches a pattern.

 

The grep command option has an ignore-case suboption that makes the search

 

case-insensitive. For example, the commands:

show run

returns a search result with instances containing a capitalized

grep

“Ethernet,” such as interface TenGigabitEthernet

Ethernet

1/1

46

CLI Basics

Page 46
Image 46
Dell 9.7(0.0) manual Navigating the CLI, Using the Keyword no Command, Filtering show Commands