nerdexam
Juniper

JN0-102 · Question #164

You are configuring a new BGP neighbor and want to view the configuration of interface ge- 0/0/0.42. Which command do you use to achieve this result?

The correct answer is C. [edit protocols bgp group external]. To view the configuration of an interface, one typically uses the show interfaces <interface-name> command from any configuration mode prompt.

Configuration Basics

Question

You are configuring a new BGP neighbor and want to view the configuration of interface ge- 0/0/0.42. Which command do you use to achieve this result?

Options

  • A[edit protocols bgp group external]
  • B[edit protocols bgp group external]
  • C[edit protocols bgp group external]
  • D[edit protocols bgp group external]

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    2% (1)
  • C
    90% (37)
  • D
    5% (2)

Why each option

To view the configuration of an interface, one typically uses the `show interfaces <interface-name>` command from any configuration mode prompt.

A[edit protocols bgp group external]

The provided choice `[edit protocols bgp group external]` is a CLI prompt, not a command to view interface configuration.

B[edit protocols bgp group external]

The provided choice `[edit protocols bgp group external]` is a CLI prompt, not a command to view interface configuration.

C[edit protocols bgp group external]Correct

The provided options are identical CLI prompts `[edit protocols bgp group external]` rather than commands. Assuming the intent was to ask for the command to view an interface's configuration, the general command used in Junos OS is `show interfaces <interface-name>`, which can be executed from any configuration hierarchy level by preceding it with `run` if in configuration mode (e.g., `run show interfaces ge-0/0/0.42`).

D[edit protocols bgp group external]

The provided choice `[edit protocols bgp group external]` is a CLI prompt, not a command to view interface configuration.

Concept tested: Viewing interface configuration in Junos OS

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/reference/command/show-interfaces.html

Topics

#configuration view#CLI navigation#Junos configuration

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice