Example Of The Grep Keyword; Multiple Users In Configuration Mode - Dell S6100 Configuration Manual

Hide thumbs Also See for S6100:
Table of Contents

Advertisement

Example of the
Dell#show system brief | grep Management
1
Management
Dell#
NOTE:
Dell Networking OS accepts a space or no space before and after the pipe. To filter a phrase with spaces, underscores, or
ranges, enclose the phrase with double quotation marks.
The except keyword displays text that does not match the specified text. The following example shows this command used in
combination with the show system brief command.
Example of the except Keyword
Dell#show system brief | except 1
Stack MAC
Reload-Type
The find keyword displays the output of the show command beginning from the first occurrence of specified text. The following example
shows this command used in combination with the show system brief command.
Example of the find Keyword
Dell#show system brief | find Management
1
Management
--
Power Supplies
Unit
Bay
Status
---------------------------------------------------------------------------
1
1
up
The display command displays additional configuration information.
The no-more command displays the output all at once rather than one screen at a time. This is similar to the terminal length
command except that the no-more option affects the output of the specified command only.
The save command copies the output to a file for future reference.
NOTE:
You can filter a single command output multiple times. The save option must be the last option entered. For example:
Dell# command | grep regular-expression | except regular-expression | grep other-regular-
expression | find regular-expression | save.

Multiple Users in Configuration Mode

Dell Networking OS notifies all users when there are multiple users logged in to CONFIGURATION mode.
A warning message indicates the username, type of connection (console or VTY), and in the case of a VTY connection, the IP address of
the terminal on which the connection was established. For example:
On the system that telnets into the switch, this message appears:
% Warning: The following users are currently configuring the system:
User "<username>" on line console0
On the system that is connected over the console, this message appears:
% Warning: User "<username>" on line vty0 "10.11.130.2" is in configuration mode
Keyword
grep
online
S6100-ON
: 4c:76:25:e5:49:40
: normal-reload [Next boot : normal-reload]
online
S6100-ON
--
Type
FanStatus
AC
up
S6100-ON
9.10(0.0)
S6100-ON
FanSpeed(rpm)
9168
130
9.10(0.0)
130
Configuration Fundamentals
43

Advertisement

Table of Contents
loading

Table of Contents