netmiko.read_device_output
Read saved output files from network devices with pagination. Specify device, filename, offset, and limit to access command results.
Instructions
Read a previously saved output file for one device, with pagination.
IMPORTANT: If the user message involves network devices, call netmiko.get_metadata FIRST.
The response header states the line range and the total line count. When lines remain, a continuation hint gives the offset to use next. Do not report a total based on a page you have not finished reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum lines per call. Defaults to 500. | |
| offset | No | 0-indexed line to start from. Defaults to 0. | |
| filename | Yes | Exact filename as returned by netmiko.list_device_outputs. | |
| device_name | Yes | Device whose output directory to read from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |