Cisco ASR 14000 Series Management Command Reference page 733

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

Utility Commands on Cisco IOS XR Software
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the utility bc command to use the an interactive, programmable calculator that supports a complete
set of control structures, including functions. The utility first processes any specified files, and then
reads input from the keyboard (standard input).
Input files (and standard input) are ASCII text files containing sequences of bc statements to be executed.
The bc utility uses the bc programming language, an arbitrary precision calculator language with syntax
Note
similar to the C programming language. The bc utility does not support character or string manipulation.
The bc utility supports:
The bc utility supports the following common programming language constructs:
Information About Supported Network Protocols
In the syntax for the ftp:, rcp:, and tftp: network protocols, the location is either an IP address or a
hostname. The filename is specified relative to the directory used for file transfers.
When no device is specified, the current directory is used. To view the current directory, enter the pwd
command.
Table 90
Table 90
Prefix
tftp:
ftp:
rcp:
OL-17231-01
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
26 functions
26 simple variables
26 array variables (up to 2048 elements per array).
"if", "while", and "for" statements
User-defined functions with parameters
Local variables
describes the network protocols supported by the Cisco IOS XR software.
Network Protocols Supported by the Cisco IOS XR software
Name
Trivial File Transfer
Protocol
File Transfer Protocol
remote copy protocol
Description
TFTP is a simplified version of FTP that allows files to be
transferred from one computer to another over a network,
usually without the use of client authentication (for
example, username and password).
FTP is an application protocol, part of the TCP/IP
protocol stack, and is used for transferring files between
network nodes. FTP requires a username and password.
Rcp is a protocol that allows users to copy files to and
from a file system residing on a remote host or server on
the network. Rcp uses TCP to ensure the reliable delivery
of data. Rcp downloads require a username.
Cisco ASR 14000 Series Router System Management Command Reference
utility bc
SMR-731

Advertisement

Table of Contents
loading

Table of Contents