Controlling "Show" Command Output - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Getting Started

Controlling "show" command output

You can control the output of show commands by using the | and > tokens in either of the
following ways:
Using the ? after typing the show command displays the following information about these
tokens:
Output Modifiers
Type the | (vertical bar) to use Output modifiers.
begin
exclude
include
redirect
Begin
The begin parameter causes the display to begin at the first line that contains the input string.
Exclude
The exclude parameter excludes all lines of output that contain the input string. In the following
output all lines containing the word "input" are excluded:
1.30
To display only part of the output, follow the command with | and then other keywords
(see
Output Modifiers
below)
To save the output to a file, follow the command with > filename
awplus#
| Output modifiers
> Output redirection
Begin with the first line that contains matching output
Exclude lines that contain matching output
Include lines that contain matching output
Redirect output
awplus#
...skipping
interface eth0
ip address 192.168.14.1
!!
line con 0
login
line vty 0 4
login
!
end
awplus#
Interface eth0
Scope: both
Hardware is Ethernet, address is 192.168.14.1
index 3 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
VRF Binding: Not bound
Label switching is disabled
No Virtual Circuit configured
Administrative Group(s): None
DSTE Bandwidth Constraint Mode is MAM
output packets 4438, bytes 394940, dropped 0
output errors 0, aborted 0, carrier 0, fifo 0, heartbeat 0,
window 0
collisions 0
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
show users
show run | begin eth0
show interface eth0 | exclude input
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents