Allied Telesis X610-48TS Switch User Manual


 
AMF Commands
AMF Software Reference Supplement for Allied Telesis x-Series Switches
52 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-1.4 and later C613-50031-01 REV B
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:
Include The include parameter includes only those lines of output that contain the input string. In
the output below, all lines containing the word “input” are included:
Redirect The redirect parameter puts the lines of output into the specified file. If the file already
exists, the new output overwrites the file’s contents; the new output is not appended to
the existing file contents.
| redirect and > are synonyms.
Output
Redirection
The output redirection token > puts the lines of output into the specified file. If the file
already exists, the new output overwrites the file’s contents; the new output is not
appended to the existing file contents.
| redirect and > are synonyms.
Append
Output
The append output token >> adds the lines of output into the specified file. The file must
already exist, for the new output to be added to the end of the file’s contents; the new
output is appended to the existing file contents.
| append and >> are synonyms.
awplus#
show interface vlan1 | exclude input
Interface vlan1
Scope: both
Hardware is Ethernet, address is 192.168.14.1
index 3 metric 1 mtu 1500 <UP,BROADCAST,RUNNING,MULTICAST>
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
awplus#
show interface vlan1 | include input
input packets 80434552, bytes 2147483647, dropped 0, multicast
packets 0
input errors 0, length 0, overrun 0, CRC 0, frame 0, fifo 1,
missed 0
awplus#
show history | redirect history.txt
awplus#
show history > history.txt
awplus#
show history >> history.txt