16
|
CLI Basics
www.dell.com | support.dell.com
•
no-more
— do not paginate the display output
•
save
— copy output to a file for future use
The
grep
command option has an
ignore-case
sub-option 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 0/0
.
•
show run | grep ethernet
does not return the search result above because it only searches for
instances containing a non-capitalized “ethernet”.
•
show run | grep Ethernet ignore-case
returns instances containing both “Ethernet” and
“ethernet”.
Displaying All Output
To display the output all at once (not one screen at a time), use the
no-more
command after the pipe.
This 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:
FTOS#
show running-config | no-more
Filtering Command Output Multiple Times
You can filter a single command output multiple times. To do this, place the
save
option as the last
filter. For example:
FTOS#
command
|
grep
regular-expression
|
except
regular-expression
|
grep
other-regular-expression
|
find
regular-expression
|
no-more | save
Command Modes
To navigate to various CLI modes, use specific commands to launch each mode. Navigation to these
modes is described in the following sections.
EXEC Mode
When you initially log in to the switch, by default you are logged into EXEC mode. This mode allows
you to view settings and to enter EXEC Privilege mode to configure the device. While you are in
EXEC mode, the
>
prompt is displayed following the “hostname” prompt (which is “FTOS” by
default). You can change this using the
hostname
command. For more information, refer to the
hostname
command. Each mode prompt is preceded by the hostname.
Note:
FTOS accepts a space before or after the pipe, no space before or after the pipe, or any
combination. For example:
FTOS#
command
|
grep
ten
gigabit
|
except
regular-expression
|
find
regular-expression
Summary of Contents for Force10 MXL Blade
Page 80: ...80 Control and Monitoring w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 142: ...142 Access Control Lists ACL w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 146: ...146 Bare Metal Provisioning w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 152: ...152 Content Addressable Memory CAM w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 186: ...186 Data Center Bridging w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 204: ...204 Dynamic Host Configuration Protocol DHCP w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 216: ...216 FIP Snooping w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 226: ...226 GARP VLAN Registration GVRP w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 234: ...234 Internet Group Management Protocol IGMP w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 330: ...330 iSCSI Optimization w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 354: ...354 Layer 2 w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 370: ...370 Link Layer Discovery Protocol LLDP w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 384: ...384 Multiple Spanning Tree Protocol MSTP w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 438: ...438 Port Monitoring w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 448: ...448 Private VLAN PVLAN w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 490: ...490 Quality of Service QoS w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 518: ...518 Remote Monitoring RMON w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 530: ...530 Rapid Spanning Tree Protocol RSTP w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 570: ...570 Security w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 578: ...578 sFlow w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 620: ...620 Stacking Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 654: ...654 Uplink Failure Detection UFD w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 693: ...Debugging and Diagnostics 693 ...
Page 694: ...694 Debugging and Diagnostics w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 712: ...712 Index w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 713: ...Index 713 ...
Page 714: ...714 Index w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 715: ...Index 715 ...
Page 716: ...716 Index w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 717: ...Index 717 ...
Page 718: ...718 Index w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 728: ...728 Command Index w w w d e l l c o m s u p p o r t d e l l c o m write 78 write memory 25 ...
Page 729: ...Command Index 729 ...
Page 730: ...730 Command Index w w w d e l l c o m s u p p o r t d e l l c o m ...
Page 731: ...Command Index 731 ...
Page 732: ...732 Command Index w w w d e l l c o m s u p p o r t d e l l c o m ...