Juniper Networks Certified Associate Junos Exam: BGP Neighbor Configuration

View Configuration of Interface ge-0/0/0.42

Prev Question Next Question

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?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

To view the configuration of interface ge-0/0/0.42 while configuring a new BGP neighbor, you can use the following command:

Option C. [edit protocols bgp group external] user@router# top show interfaces ge-0/0/0.42

This command will take you to the top level of the configuration hierarchy and show the configuration of interface ge-0/0/0.42. Here's a breakdown of each part of the command:

  • [edit protocols bgp group external]: This specifies the configuration hierarchy for the BGP group named "external". This assumes that you have already created a BGP group with this name and are now configuring a new BGP neighbor within that group.
  • user@router#: This is the prompt that appears in the CLI interface. It indicates that you are logged in as a user on the router.
  • top: This command takes you to the top level of the configuration hierarchy, which is the root level of the configuration tree.
  • show interfaces ge-0/0/0.42: This command shows the configuration for interface ge-0/0/0.42, which is the interface you want to view.

Option A. [edit protocols bgp group external] user@router# set interfaces ge-0/0/0.42 This command is used to set the configuration of the interface ge-0/0/0.42, but it does not show the configuration of the interface.

Option B. [edit protocols bgp group external] user@router# edit show interfaces ge-0/0/0.42 This command is incorrect because it contains the command "edit show", which is not a valid command.

Option D. [edit protocols bgp group external] This command takes you to the configuration hierarchy for the BGP group named "external", but it does not show the configuration of any interfaces.