You want to configure Layer 2 services over an IP-based tunneling mechanism between two sites.
Which configuration statement is required to accomplish this task?
You want to configure Layer 2 services over an IP-based tunneling mechanism between two sites.
Which configuration statement is required to accomplish this task?
To configure Layer 2 services over an IP-based tunneling mechanism, it is necessary to use the GRE (Generic Routing Encapsulation) interface. The correct configuration statement for enabling Layer 2 Ethernet packets over GRE tunnels involves specifying the bridge protocol family. Therefore, the required statement is: 'set interfaces gr-0/0/0.0 family bridge', which specifies the appropriate interface and family configuration for this task.
Let's go through each option: A. set interfaces gr-0/0/0.0 family bridge: This option is incorrect because it only specifies the family as "bridge" but does not configure the encapsulation for IP-based tunneling. B. set interfaces ip-0/0/0.0 encapsulation vlan-bridge: This option is incorrect because "ip-0/0/0.0" does not represent a generic interface, and "vlan-bridge" is not a valid encapsulation option for IP-based tunneling. D. set interfaces ip-0/0/0.0 family bridge: This option is incorrect because "ip-0/0/0.0" is not a valid interface, and the family should be configured as "inet" for IP-based tunneling, not "bridge." The correct option for configuring Layer 2 services over an IP-based tunneling mechanism is C. set interfaces gr-0/0/0.0 encapsulation vlan-bridge, where "gr-0/0/0.0" represents the interface and "vlan-bridge" specifies the encapsulation for Layer 2 services over the IP-based tunnel.
Sorry correct answer is A
The answer should be A according to juniper docs. https://www.juniper.net/documentation/us/en/software/junos/interfaces-encryption/topics/topic-map/configuring-layer2-ethernet-services-over-gre.html "To enable Layer 2 Ethernet packets to be terminated on GRE tunnels, you must configure the bridge domain protocol family on the gr- interfaces and associate the gr- interfaces with the bridge domain. You must configure the GRE interfaces as core-facing interfaces, and they must be access or trunk interfaces. To configure the bridge domain family on gr- interfaces, include the family bridge statement at the [edit interfaces gr-fpc/pic/port unit logical-unit-number] hierarchy level. To associate the gr- interface with a bridge domain, include the interface gr-fpc/pic/port statement at the [edit routing-instances routing-instance-name bridge-domains bridge-domain-name] hierarchy level."