JN0-102 · Question #73
Referring to the exhibit, you are unable to commit the configuration for the ge-0/0/1 interface. [edit interfaces ge-0/0/1] user@router# show unit 100 { vlan-id 100; familyinet { address /24; } }…
The correct answer is A. You must set the vlan-tagging parameter under the [edit interfaces ge-0/0/1] hierarchy. The error 'Only unit 0 is valid for this encapsulation' indicates that a logical unit other than 0 with a vlan-id is configured on a physical interface where VLAN tagging is not enabled.
Question
Referring to the exhibit, you are unable to commit the configuration for the ge-0/0/1 interface. [edit interfaces ge-0/0/1] user@router# show unit 100 { vlan-id 100; familyinet { address /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 What must you do to commit the configuration?
Options
- AYou must set the vlan-tagging parameter under the [edit interfaces ge-0/0/1] hierarchy.
- BYou must use the rename command to change unit 100 to unit 0.
- CYou must set the encapsulation flexible-ethernet-services parameter under the [edit interfaces ge-0/0/1]
- DYou must set the encapsulation vlan-ccc parameter under the [edit interfaces ge-0/0/1 unit 100] hierarchy.
How the community answered
(55 responses)- A80% (44)
- B11% (6)
- C4% (2)
- D5% (3)
Why each option
The error 'Only unit 0 is valid for this encapsulation' indicates that a logical unit other than 0 with a `vlan-id` is configured on a physical interface where VLAN tagging is not enabled.
The error message 'Only unit 0 is valid for this encapsulation' specifically means that a logical unit other than 0 (in this case, `unit 100`) with a `vlan-id` is being configured on an interface where VLAN tagging is not enabled at the physical interface level. Setting `vlan-tagging` under `[edit interfaces ge-0/0/1]` allows the use of multiple logical units with VLAN IDs.
Renaming `unit 100` to `unit 0` would avoid the error for `unit 100` but would not allow the use of multiple VLANs on the interface, which is typically the goal when using unit numbers other than 0.
Setting `encapsulation flexible-ethernet-services` is generally used for services that require multiple encapsulations on the same physical port, but the direct problem here is the lack of `vlan-tagging` for the current configuration.
Setting `encapsulation vlan-ccc` is for specific circuit cross-connect scenarios and would not resolve the fundamental issue of VLAN tagging not being enabled on the physical interface for standard IP over VLAN.
Concept tested: Junos VLAN tagging and logical unit configuration
Source: https://www.juniper.net/documentation/us/en/software/junos/interfaces-app-prot/topics/topic-map/ethernet-interfaces-config.html#id-configuring-vlan-tagging
Topics
Community Discussion
No community discussion yet for this question.