Using Scp; Using Tftp - Cisco cBR-8 Configuration And Troubleshooting Manual

Cbr series converged broadband routers
Table of Contents

Advertisement

Retrieving Records from a Cisco CMTS in File Mode

Using SCP

To transfer billing records using SCP, you must first enable and configure the router for SCP operation, using
the procedure given in the "Enabling and Configuring Secure Copy (optional)" section on page 21 . Then, the
application server must log in to the Cisco CMTS and use the copy command at the privileged EXEC prompt.
The copy command needs to specify the location of the billing record on the local filesystem and the destination
server for the SCP transfer.
The following example shows a typical session where a billing record on slot0 is transferred to an FTP server
with the hostname of billserver.mso-example.com:
CMTS01# copy slot0:CMTS01_20030211-155025 scp://billingapp-server.mso-example.com/
Address or name of remote host [billingapp-server.mso-example.com]?
Destination username [billing-app]?
Destination filename [CMTS01_20030211-155025]?
Writing CMTS01_20030211-155025
Password: billing-password
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 1403352/1024 bytes]
1403352 bytes copied in 17.204 secs (85631 bytes/sec)
CMTS01# delete slot0:CMTS01_20030211-155025
CMTS01# squeeze slot0:
CMTS01#
The billing application must delete the billing record after it has been successfully transferred, so that the
Note
Cisco CMTS can write the next record. The squeeze command frees up the deleted disk space on Flash
Memory and old-style PCMCIA cards (bootflash, flash, slot0, slot1). It is not needed on the newer
ATA-style PCMCIA cards (disk0, disk1, disk2). However, because the squeeze command takes several
seconds to complete, it should be given only when insufficient disk space exists for a new billing record.
To avoid this problem, Cisco recommends using a 64 MB (or larger) ATA-style PCMCIA memory card,
which automatically reclaims disk space for deleted files.

Using TFTP

To transfer billing records using TFTP, you must first configure an external workstation to be a TFTP server.
For security, the TFTP server should be isolated from the Internet or any external networks, so that only
authorized TFTP clients, such as the Cisco CMTS router, can access the server.
To transfer the billing records, the application server must log in to the Cisco CMTS and use the copy command
at the privileged EXEC prompt. The copy command needs to specify the location of the billing record on the
local filesystem and the destination server for the TFTP transfer.
The following example shows a typical session where a billing record on slot0 is transferred to an TFTP server
with the hostname of billserver.mso-example.com.
Router# copy slot0:CMTS01_20030211-155025 tftp://billingapp-server.mso-example.com/incoming
Address or name of remote host [billingapp-server.mso-example.com]?
Destination username [billing-app]?
Destination filename [CMTS01_20030211-155025]?
Writing CMTS01_20030211-155025
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cisco cBR Series Converged Broadband Routers Troubleshooting and Network Management Configuration
Guide for Cisco IOS XE Fuji 16.8.x
168
Usage-Based Billing (SAMIS)

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents