Redirection; Vi Editor - Alcatel-Lucent 7450 Basic System Configuration Manual

Ethernet service switch /service router /extensible routing system
Hide thumbs Also See for 7450:
Table of Contents

Advertisement

-------------------------------------------------------------------------------
1
44
100
102
235
1000
-------------------------------------------------------------------------------
Matching Services : 6
-------------------------------------------------------------------------------
===============================================================================
*A:dut-c# show service service-using vprn | match Down | count
Count: 4 lines
*A:dut-c#

Redirection

The 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).
For example:
'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").

VI Editor

The "vi"sual editor (vi) is a file editor that can edit any ASCII file. This includes
configuration, exec files, BOF and any other ASCII file on the system.
VT100 terminal mode is supported. However, if a different terminal mode is configured there
will no noticeable negative effect.
Basic System Configuration Guide
VPRN
Down Down 1
VPRN
Up
Up
1
VPRN
Down Down 1
VPRN
Up
Up
1
VPRN
Down Down 1
VPRN
Down Down 1000
CLI Usage
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

77507950

Table of Contents