nerdexam
Juniper

JN0-102 · Question #160

Which CLI command is used to display output one page at a time?

The correct answer is C. user@router> show interfaces. By default, most show commands in Junos OS CLI display output one page at a time, pausing after each screenful. This default behavior allows users to review lengthy outputs conveniently.

User Interface Options

Question

Which CLI command is used to display output one page at a time?

Options

  • Auser@router> show interfaces | no-more
  • Buser@router> show interfaces | trim
  • Cuser@router> show interfaces
  • Duser@router> show interfaces | display

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    88% (28)
  • D
    3% (1)

Why each option

By default, most `show` commands in Junos OS CLI display output one page at a time, pausing after each screenful. This default behavior allows users to review lengthy outputs conveniently.

Auser@router> show interfaces | no-more

The `| no-more` pipe option explicitly disables pagination, causing all output to display continuously, which is the opposite of displaying one page at a time.

Buser@router> show interfaces | trim

`| trim` is a pipe option used to truncate leading spaces from output, not to control pagination.

Cuser@router> show interfacesCorrect

When a `show` command, such as `show interfaces`, is executed without any specific output modification pipes like `no-more`, the Junos OS CLI automatically paginates the output. This means it displays one page at a time, allowing the user to press Space to advance through the lengthy results.

Duser@router> show interfaces | display

`| display` is a pipe option that shows the configuration in various formats (e.g., `display set`, `display xml`), but it does not control pagination of operational command output.

Concept tested: Junos CLI default output pagination

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/concept/cli-output-options.html

Topics

#CLI output#pagination#display commands

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice