The display vty lines command displays the number of rows that are displayed on the VTY screen.
display vty lines
None
All views
3: Management level
You can run this command to view the number of rows (configured using screen-length command) that are displayed on the VTY screen.
# Display the number of rows that are displayed on the VTY screen.
<HUAWEI> display vty lines
Current user-interface lines is 24