Dell 9.8(0.0) Network Router User Manual


  Open as PDF
of 1910
 
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 |
grep
Ethernet
returns a search result with instances containing a capitalized
“Ethernet,” such as interface TenGigabitEthernet
1/1
show run |
grep
ethernet
does not return the previous search result because it only
searches for instances containing a noncapitalized “ethernet”
show run |
grep
Ethernet
ignore-case
returns instances containing both “Ethernet” and “ethernet”
no-more
does not paginate the display output
save
copies the output to a file for future use
Displaying All Output
To display the output all at once (not one screen at a time), use the no-more option after the pipe. This
operation is similar to the terminal length screen-length command except that the no-more
option affects the output of just the specified command. For example: Dell#show running-config|
no-more.
Filtering the Command Output Multiple Times
You can filter a single command output multiple times. To filter a command output multiple times, place
the save option as the last filter. For example: Dell# command | grep regular-expression |
except regular-expression | grep other-regular-expression | find regular-
expression | no-more | save
.
Enabling Software Features on Devices Using a Command
Option
This capability to activate software applications or components on a device using a command is
supported on the S4810, S4820T, and S6000, platforms.
Starting with Release 9.4(0.0), you can enable or disable specific software functionalities or applications
that need to run on a device by using a command attribute in the CLI interface. This capability enables
effective, streamlined management and administration of applications and utilities that run on a device.
You can employ this capability to perform an on-demand activation or turn-off of a software component
or protocol. A feature configuration file that is generated for each image contains feature names denotes
whether this enabling or disabling method is available for such features. In 9.4(0.0), you can enable or
disable the VRF application globally across the system by using this capability.
CLI Basics
51