cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5788
Views
10
Helpful
5
Replies

Set Column width

Phill93
Level 1
Level 1

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?

5 Replies 5

marce1000
VIP
VIP

 

 - 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! '

Martin Aleksandrov
Cisco Employee
Cisco Employee

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

Hi Martin,

 

I have tried terminal width 512 and got the same behavior.

 

Regards

 

Phill

Hi Phill

 

I am facing the same issue. Did you ever find a solution to this problem ?

 

Thanks

SK

Martin Aleksandrov
Cisco Employee
Cisco Employee

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