Display the Contents of a USB File

Use the following procedure to view content of a USB file.

Caution

Caution

Always use the usb-stop command to safely unplug the USB drive from the USB slot.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display content of a USB file:

    more WORD<1-99>

Example

Switch:1#enable

Switch:1#more /usb/test.cfg

Variable definitions

The following table defines parameters for the more command.

Variable

Value

WORD<1–99>

Specifies the file name in the following format:

  • /usb/<file>

The file name, including the directory structure, can include up to 99 characters.