ktbyers / netmiko

Multi-vendor library to simplify Paramiko SSH connections to network devices
MIT License
3.55k stars 1.3k forks source link

Line wrapping behavior on ASA #254

Closed ktbyers closed 8 years ago

ktbyers commented 8 years ago

See if you can fix this line-wrapping behavior for output on ASAs and Cisco IOS.

twb-dc-fw1(config)# object-group network PYCLASS twb-dc-fw1(config-network-object-group)# no network-object object pylab-ons.tw$ twb-dc-fw1(config-network-object-group)# no object network pylab-ons.twb-tech.$ twb-dc-fw1(config)# end twb-dc-fw1#

ktbyers commented 8 years ago

All from privilege exec mode.

On cisco IOS / IOS-XR

pynet-rtr1#terminal width ?

<0-512> Number of characters on a screen line On ASA / NXOS terminal width 511 Didn't see IOS-XE
ktbyers commented 8 years ago

Arista

pynet-sw1#terminal width ?

<10-32767> Number of columns on screen
ktbyers commented 8 years ago

Juniper:

pyclass@pynet-jnpr-srx1> set cli screen-width ? Possible completions:

Number of characters (0..1024) pyclass@pynet-jnpr-srx1> set cli screen-width No commit
ktbyers commented 8 years ago

HP ProCurve

twb-sf-hpsw1# terminal width

<61-1920> Enter a number for the 'width' command/parameter.
ktbyers commented 8 years ago

Implemented on:

cisco_ios / xe ios-xr nexus asa s300 arista hp procurve juniper

ktbyers commented 8 years ago

Need to see if you can implement unit tests.