Cli_Read_Drain - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

CLI Library Command Extensions
Syntax
cli_read fd
Arguments
fd
Result String
All the contents read.
Set _cerrno
Cannot get router name.
This Tcl command extension blocks waiting for the router prompt to show up in the contents read.
Note

cli_read_drain

Reads and drains the command output of the specified command-line interface (CLI) channel handler. Returns
all the contents read.
Syntax
cli_read_drain fd
Arguments
fd
Result String
All the contents read.
Set _cerrno
None
cli_read_line
Reads one line of the command output from the specified command-line interface (CLI) channel handler.
Returns the line read.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
184
Configuring and Managing Embedded Event Manager Policies
(Mandatory) CLI channel handler.
(Mandatory) The CLI channel handler.

Advertisement

Table of Contents
loading

Table of Contents