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.
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)- A2% (1)
- B2% (1)
- C90% (37)
- D5% (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.
The provided choice `[edit protocols bgp group external]` is a CLI prompt, not a command to view interface configuration.
The provided choice `[edit protocols bgp group external]` is a CLI prompt, not a command to view interface configuration.
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`).
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
Community Discussion
No community discussion yet for this question.