
Table 28: Deleting a File Using SNMP Commands
Description
Type
Object
Specifies the operation to be performed:
•
3
—
Delete the file.
•
5
—
Squeeze the Flash memory, so as
to recover the deleted space and make
it available for new files.
INTEGER
ciscoFlashMiscOpCommand
When deleting a file, the name of the file
to be deleted, including the name of the file
system, up to a maximum of 255
characters.
When squeezing a file system, the name of
the file system to be squeezed (slot0:,
slot1:, flash:, or bootflash:).
DisplayString
ciscoFlashMiscOpDestinationName
Status of this table entry. Typically, this
object is first set to 5 (create-and-wait).
Then after all other parameters are
specified, it is set to Active (1) to execute
the command.
RowStatus
ciscoFlashMiscOpEntryStatus
(Optional) Specifies whether the Cisco
CMTS should generate a trap upon the
completion of the operation. The default is
false (no trap is generated).
TruthValue
ciscoFlashMiscOpNotifyOnCompletion
DETAILED STEPS
The following steps use the standard SNMP commands that are available on many Unix and Linux systems.
For each step, replace
ip-address
with the IP address of the Cisco CMTS, and replace
rw-community-string
with an SNMP community string that provides read-write access to the router.
Note
Copying the Billing Record File to the TFTP Server
Step 1
The script performing the copy should generate a 32-bit number to be used as the index entry for this copy command.
The script can generate this number in any convenient way, so long as the index number is not currently being used for
another operation.
Step 2
Create the table entry for the copy command, by using the number that was generated in Step 1 and setting the
ciscoFlashCopyEntryStatus object to the create-and-wait state (5):
Cisco cBR Series Converged Broadband Routers Troubleshooting and Network Management Configuration Guide
for Cisco IOS XE Fuji 16.8.x
171
Usage-Based Billing (SAMIS)
Retrieving Records from a Cisco CMTS in File Mode