Network Management

Random blank lines appear in the configs downloaded over SSH transfers

In Network Configuration Manager (NCM), random blank lines appear in configurations downloaded over SSH transfers.

First published date

10/11/2018 4:57 PM

Last published date

12/6/2021 4:18 PM

Overview

In NCM, random blank lines are displayed in configurations downloaded over SSH transfers.

Product section

Network Configuration Manager

Cause

This issue occurs because of the Press any key prompt sent by the device for pagination purposes. 

Resolution

Open Orion Web Console > Configs > Configuration Management > Execute Script in the left pane > enter the turn-off pagination command for the device. 
Sample command that can be used for most of the Cisco devices:

terminal width 0
terminal length 0

This will appear as the following command in the NCM template:

<Command Name="RESET" value="terminal width 0${CRLF}terminal length 0"/>

For more details, you can visit the specific device's support forums, for example, Cisco Support Forum.

Workaround: If the turn-off pagination command is not available for a device, then you can use SCP or TFTP transfers to download the configs.