Terminal Commands; Overview; Colsep Command - Cisco Prisma II Hybrid Amplifier Installation Manual

Hybrid amplifier
Table of Contents

Advertisement

Chapter 3 Operation Using CLI

Terminal Commands

Overview

Terminal commands are intended for control of the output or pattern matching
format.
Note:
Using the alarm command while in this mode shows a list of all active alarms in
the ICIM domain.
Using the show command while in this mode lists the current values for all
terminal states.

Colsep Command

The colsep command controls the separation between columns of output in the
display. By default, output is displayed in columns only slightly wider than are
needed for the longest value in the column. Adding spaces between columns can
make the output more legible to a craft operator, but may make output parsing more
difficult for a remote network management system.
On the other hand, if network management software recognizes a specific character
(such as |) as a column separator, the colsep command can be used to insert this
character between columns in the output.
The basic command syntax is as follows:
colsep "string"
where string is the column separation character or characters, or is empty ("") to
specify default column separation.
In the sample dialog below, a network management system sends this command to
enforce default column separation just before it sends a command requesting
columns of output.
CLI> terminal colsep "" exit
CLI> module modid * show control *serv* exit
MODID
01/07
01/08
01/09
01/09
SUCCESS!
CLI>
The next example shows how the output could be modified to make it more easily
parsed by another program, such as Microsoft Excel:
56
NAME
SETTING
UNITS
Service
Off (0)
Service
Off (0)
ServiceA On (1)
ServiceB Off (0)
78-4025693-01 Rev D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prisma ii

Table of Contents