Redirection; Table 10: Special Characters - Alcatel-Lucent 7710 SR Configuration Manual

Service router os basic system
Hide thumbs Also See for 7710 SR:
Table of Contents

Advertisement

Entering CLI Commands

Table 10: Special Characters

[:upper:]
[:lower:]
[:alpha:]
\w
[:alnum:]
[:digit:]
\d
[:xdigit:]
[:punct:]
[:blank:]
[:space:]
\s

Redirection

The 7710 SR 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> > cf3:/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+" > cf3:/ping/time.txt
This records only the RTT portion (including the word "time").
Page 38
Options
[A-Z]
[a-z]
[A-Za-z]
[A-Za-z_]
[A-Za-z0-9]
[0-9]
[0-9]
[0-9A-Fa-f]
[.,!?:...]
[ \t]
[ \t\n\r\f\v]
[ \t\n\r\f\v]
7710 SR OS Basic System Configuration Guide
Similar to
uppercase letters
lowercase letters
upper- and lowercase letters
word characters
digits, upper- and lowercase letters
digits
digits
hexadecimal digits
punctuation
space and TAB
blank characters
blank characters
Description

Advertisement

Table of Contents
loading

Table of Contents