JN0-102: Juniper Networks Certified Associate Junos Exam - MX1-PE1 BGP Group Configuration Commands

Current Configuration of MX1-PE1 BGP Group

Prev Question Next Question

Question

Which two commands will provide the current configuration of the MX1-PE1 BGP group on your router? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BD

The correct answers are B and D:

B. user@router> show configuration | display set | match MX1-PE1

This command will display the current configuration for the entire router and then filter out lines that do not contain the string "MX1-PE1". The output will be displayed in set format, which shows the configuration as a series of set commands.

D. user@router# show | display set | match MX1-PE1

This command will display the current operational state of the BGP group on the router, and then filter out lines that do not contain the string "MX1-PE1". The output will be displayed in set format, which shows the operational state as a series of set commands.

Explanation:

A. user@router# show groups | display set | match MX1-PE1

This command will display the current configuration for all groups on the router, and then filter out lines that do not contain the string "MX1-PE1". However, this command does not specifically target the BGP group, and may display output for other groups with similar names.

C. user@router> show configuration | match set | match MX1-PE1

This command will display the current configuration for the entire router, and then filter out lines that do not contain both the string "set" and "MX1-PE1". However, this command does not specifically target the BGP group, and may display output for other configuration sections with similar names.

Overall, options B and D are the most specific and accurate commands to display the current configuration and operational state of the MX1-PE1 BGP group on the router.