Wired Intelligent Edge

 View Only
Expand all | Collapse all

Command output is truncated for long lines

This thread has been viewed 3 times
  • 1.  Command output is truncated for long lines

    Posted Feb 25, 2020 09:23 PM

    When issuing commands where the output includes long values with different length there is a chance that the line is more than the width of CLI terminal, for example see the "System Descr" below. I need to get "revision" for neighbor devices but it is truncated for many devices because of long model name.

     

    I tried increasing terminal width ("terminal width 120" for example)
    but this dint help.

     

    any idea how to show full output from CLI?

     

     

    # show lldp info remote-device detail

     

    Local Port : 1/A1
    ChassisType : mac-address
    ChassisId : xxxxxx-xxxxxx
    PortType : local
    PortId : 58
    SysName : xxxxxxxxxx
    System Descr : Aruba JL074A 3810M-48G-PoE+-1-slot Switch, revision KB.16...
    PortDescr : 1/A4
    Pvid : 777



  • 2.  RE: Command output is truncated for long lines

    Posted Mar 03, 2020 06:21 AM

     

    Since AOS-CX 10.04.0030 does display the longer name and per the current MACG the show lldp should display:

     

    switch model name and running software version, and ROM version.

     

    AOS-S: KA.16.04-0009, KB 16-10-5, and KA 16.10.0005 does NOT, my opinion is that the AOS-S output is truncated.

     

    AOS-S is un-intentionally suppressing the full output.

     

    You may want to suggest an enhancement to the current AOS-S code using https://innovate.arubanetworks.com/ (assuming I am correct about the output limitations.)