Configuring Junos OS: Basic Flashcards

1
Q

How do you configure an interface as the default gateway in Junos OS?

A

You configure the default gateway using the command: set routing-options static route 0.0.0.0/0 next-hop <gateway-ip>.</gateway-ip>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the first step in configuring a Junos OS device?

A

The first step is to access the device, either via console, SSH, or another remote method, and enter configuration mode by typing configure or edit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you configure an IP address on an interface in Junos OS?

A

To configure an IP address, use the command: set interfaces <interface-name> unit <unit-number> family inet address <IP-address>.</IP-address></unit-number></interface-name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the “commit” command in Junos OS?

A

The “commit” command saves the changes made in the configuration and applies them to the device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you view the current configuration in Junos OS?

A

You can view the current configuration by using the command show configuration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you add a static route to a Junos device?

A

To add a static route, use the command: set routing-options static route <destination> next-hop <next-hop>.</next-hop></destination>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command is used to delete a configuration in Junos OS?

A

Use the delete command to remove a specific configuration, e.g., “delete interfaces <interface-name>".</interface-name>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you configure a hostname in Junos OS?

A

To configure a hostname, use the command: set system host-name <hostname>.</hostname>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the rollback command in Junos OS?

A

The rollback command reverts the configuration to a previous state, allowing recovery from unwanted changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you save a configuration in Junos OS?

A

The configuration is saved and applied using the command commit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly