Configuration Error: Unable to Commit Configuration for ge-0/0/1 Interface

Configuration Error

Prev Question Next Question

Question

-- Exhibit --

[edit interfaces ge-0/0/1]

user@router# show

unit 100 {

vlan-id 100;

family inet {

address 10.1.1.1 /24;

}

}

[edit interfaces ge-0/0/1]

user@router# commit check

[edit interfaces ge-0/0/1]

'unit 100'

Only unit 0 is valid for this encapsulation

error: configuration check-out failed

-- Exhibit --

Referring to the exhibit, you are unable to commit the configuration for the ge-0/0/1 interface.

What must you do to commit the configuration?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The error message states that the configuration check-out failed, and it is related to the 'unit 100' statement under the [edit interfaces ge-0/0/1] hierarchy. The error message further suggests that "Only unit 0 is valid for this encapsulation". This error message means that the encapsulation type set on this interface does not support a VLAN tag other than 0. Therefore, the VLAN configuration using the VLAN ID 100 is not compatible with the encapsulation type on the interface.

To commit the configuration successfully, you must change the configuration to use the correct encapsulation type. Based on the available options, the correct answer is A. You must set the vlan-tagging parameter under the [edit interfaces ge-0/0/1] hierarchy.

To fix the error, the configuration needs to be updated as shown below:

sql
[edit interfaces ge-0/0/1] user@router# set vlan-tagging [edit interfaces ge-0/0/1] user@router# commit

The vlan-tagging parameter enables the interface to support multiple VLANs, including VLAN ID 100, which is defined under the unit 100 statement. Once this change is made and committed, the VLAN ID 100 will be allowed to be configured and used on the ge-0/0/1 interface.