Allied Telesis X610-48TS Switch User Manual


 
AMF Commands
AMF Software Reference Supplement for Allied Telesis x-Series Switches
C613-50031-01 REV B AlliedWare Plus
TM
Operating System - Software Version 5.4.3-1.4 and later 51
Controlling “show” Command Output
You can control the output of show commands by using the | and > or >> tokens in the
following ways:
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
To append the output to an existing file, follow the command with >> filename
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 The begin parameter causes the display to begin at the first line that contains the input
string.
awplus#
show users
| Output modifiers
> Output redirection
>> Output redirection (append)
append Append output
begin Begin with the first line that contains
matching output
exclude Exclude lines that contain matching output
include Include lines that contain matching output
redirect Redirect output
awplus#
show run | begin vlan1
...skipping
interface vlan1
ip address 192.168.14.1
!!
line con 0
login
line vty 0 4
login
!
end