show ports configuration

  • 0
  • 1
  • Problem
  • Updated 2 years ago
  • Solved
  • (Edited)
We are facing issue with CLI while issue the command “show
ports configuration
”. The cursor moves from top to bottom randomly and does not display the remaining ports/lines properly. Please note that this issue is with all switches we have. Seems to be an EXOS issue

ExtremeXOS version 15.5.3.4 v1553b4

Photo of Waqas Naeem

Waqas Naeem

  • 896 Points 500 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,650 Points 10k badge 2x thumb
Hi,
Off the top of my head, you have a key to switch page, either space or d, something like that. There's also a no-refresh optionbut that might have been introduced in a later release.
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 13,772 Points 10k badge 2x thumb
Hi,

EXOS 15.3 already includes the no-refresh option, so it should be available in 15.5 as well. :-)

The bottom line of the updating "show ports configuration" output shows the keys to use for controlling the output:
0->Clear Counters  U->page up  D->page down ESC->exit
You would need to scroll down using the "d" key to display the remaining ports.

Cheers,
Erik
Photo of Ron Huygens

Ron Huygens, Employee

  • 3,330 Points 3k badge 2x thumb
Stephane is correct:

The key "D" will bring you down a page
The key "U" will bring you up a page

If you enter the command "show port configuration no-refresh" it will give you all ports and show you the current status.

You can find all further options in the documentation:
http://documentation.extremenetworks.com/exos_commands_16/exos_16_2/exos_commands_all/r_show-ports-c...
Photo of Waqas Naeem

Waqas Naeem

  • 896 Points 500 badge 2x thumb
Many thanks to you all for your valuable and kind support. Let me check and will get back to you
(Edited)
Photo of Waqas Naeem

Waqas Naeem

  • 896 Points 500 badge 2x thumb
Customer tried these commands but still problem persist. They are reiterating below:

"The problem is that cursor move up/down randomly and the remaining ports are not displayed properly "

Please advise
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 13,772 Points 10k badge 2x thumb
Hi,

that might be a problem with the terminal program (which does the actual displaying part). What terminal program does the customer use? Is this a serial connection, telnet, or SSH?

What does the customer mean by not displayed properly? It is normal to see some cursor movements as the "screen" contents are updated. The position on which the cursor is visible during this is random.

You can select the ports for which to display the information by specifying a port string, e.g. 20-30:
show ports PORTSTRING configuration
show ports 20-30 configuration
As note above the additional keyword no-refresh can be used to print just the current status, instead of consistently updating the display.
show ports configuration no-refresh
Again you can select the ports to show information for:
show ports 20-30 configuration no-refresh
As I see it there are two problems:
  1. How can the customer access the needed information?
  2. Is there a problem with the the output of show ports configuration and if so, what problem exactly?
Using no-refresh and/or specifying port numbers should address problem number 1.

Problem number 2 is still elusive, as at least I cannot reproduce an improper display result. I do not even know what this looks like. Perhaps you can post a screenshot?

Is the show ports configuration the only affected command? What about show ports or show ports congestion? Those commands use updating displays as well, so I would expect the same kind of problem there.

Best regards,
Erik
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,650 Points 10k badge 2x thumb
I would also recommend to have a window size of 100 characters width for better output lisibility.
Photo of Waqas Naeem

Waqas Naeem

  • 896 Points 500 badge 2x thumb
Thanks. Just to ask if it can be the issue of firmware? Should I upgrade firmware to check?
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 13,772 Points 10k badge 2x thumb
I would not expect this to be a firmware issue.
Photo of EtherMAN

EtherMAN, Embassador

  • 7,200 Points 5k badge 2x thumb
Waqas,  I would bet if you widen the display or your terminal session this will stop.  We use putty.exe for all cli and ssh access and on the Extreme XOS display has to be stretched or it does not parse the lines correctly.  You will see the cursor moving up and down the line due to the screen is being refreshed every one or two seconds so you get real time status of the ports.  Also only 15 or so ports will display at a time so as other stated you have to use U or D to look at remaining ports