Set Column width
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- SG300-10 OS: 1.4.11.5
- SG55XG-24F OS: 2.5.0.92
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?
- Labels:
-
Small Business Switches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2020 12:40 AM
Hi Martin,
I have tried terminal width 512 and got the same behavior.
Regards
Phill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
