10-30-2020 03:19 AM
Hi,
i have a problem with the "show lldp neighbors" command. I have set "terminal datadump" and "terminal width 0", but a table cell is still wrapped.
Problem exists on:
switchf5bcdb#terminal datadump switchf5bcdb#terminal width 0 switchf5bcdb#show lldp neighbors System capability legend: B - Bridge; R - Router; W - Wlan Access Point; T - telephone; D - DOCSIS Cable Device; H - Host; r - Repeater; TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other Port Device ID Port ID System Name Capabilities TTL --------- ----------------- ------------- ----------------- ------------ ----- gi7 00:a5:bf:c2:3c:f0 gi8 switchc23cf0 B, R 91 gi8 f2:18:98:43:be:9b 9c:eb:e8:52:b iai-sti006 B, W 115 d:7c
Is it possible to disable this behavior?
10-30-2020 04:25 AM
- Check if this can be helpful :
https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/terminal-width.html
M.
10-30-2020 05:16 AM
Hello Phill,
The default number of characters for each CLI session is 77 and the command terminal no width set that value to 77. Indeed when execute terminal width 0 will show an endless number of characters on a screen line which should work on your case. Have you tried with terminal width 512 which is the maximum range of characters?
Regards,
Martin
11-02-2020 12:40 AM
Hi Martin,
I have tried terminal width 512 and got the same behavior.
Regards
Phill
02-20-2022 10:35 AM
Hi Phill
I am facing the same issue. Did you ever find a solution to this problem ?
Thanks
SK
11-04-2020 04:09 AM
Hello Phill,
Basically, the terminal width setting allows the user to define the number of characters device will display on echoing user input during CLI sessions meaning after how many characters will device display $$$ instead of actual command input.
Terminal width setting does not define the width of console show command output and the width of the terminal application display.
Regards,
Martin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide