nerdexam
Juniper

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.

Configuration Basics

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)
  • A
    80% (44)
  • B
    11% (6)
  • C
    4% (2)
  • D
    5% (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.

AYou must set the vlan-tagging parameter under the [edit interfaces ge-0/0/1] hierarchy.Correct

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.

BYou must use the rename command to change unit 100 to unit 0.

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.

CYou must set the encapsulation flexible-ethernet-services parameter under the [edit interfaces ge-0/0/1]

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.

DYou must set the encapsulation vlan-ccc parameter under the [edit interfaces ge-0/0/1 unit 100] hierarchy.

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

#VLAN tagging#logical units#interface encapsulation#commit errors

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice