Redirection - Alcatel-Lucent 7210 SAS M Configuration Manual

Service access switch
Hide thumbs Also See for 7210 SAS M:
Table of Contents

Advertisement

CLI Usage

Redirection

The 7210-SAS OS supports redirection (">") which allows the operator to store the output of a
CLI command as a local or remote file. Redirection of output can be used to automatically store
results of commands in files (both local and remote).
'ping <customer_ip> > cf3cf1:/ping/result.txt'
'ping <customer_ip> > ftp://ron@ftp.alcatel.com/ping/result.txt'
In some cases only part of the output might be applicable. The pipe/match and redirection
commands can be combined:
ping 10.0.0.1 | match expression "time.\d+" > cf3cf1:/ping/time.txt
This records only the RTT portion (including the word "time").
7210 SAS M, T, X, R6 Basic System Configuration Guide
Page 43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents