Flexible Ethernet Services Encapsulation | Junos OS (2024)

Flexible Ethernet services is a type of encapsulation that enables a physical interface to support different types of Ethernet encapsulations at the logical interface level. You can configure the Flexible Ethernet services encapsulation to support the service provider and the enterprise-style configuration. The below topics discuss the overview of flexible Ethernet services encapsulation and its configuration details.

Understanding Flexible Ethernet Services Encapsulation on Switches

Junos OS supports two different styles of configurationfor switch interfaces: the service provider style and the enterprisestyle. The service provider style requires more configuration butprovides greater flexibility. The enterprise style is easier to configurebut offers less functionality. Each configuration style requires adifferent Ethernet encapsulation type. You can configure a physicalinterface to support both styles of configuration using flexible Ethernetservices.

Note:

On EX4300, QFX5100 (running Junos OS 16.1R5 or earlier),and QFX5200, the service provider style and enterprise style interfaceconfigurations are handled differently within Junos OS. If the serviceprovider style and enterprise style interface configurations are mixed,the egress VLAN translation within the hardware can be incorrectlyprogrammed leading to forwarding issues across the configured ports.Use the service provider style configuration in a Q-in-Q scenario.For all other scenarios, use the enterprise style configuration.

Flexible Ethernet services is a type of encapsulation that enablesa physical interface to support different types of Ethernet encapsulationsat the logical interface level. Defining multiple per-unit Ethernetencapsulations makes it easier to customize Ethernet-based servicesto multiple hosts connected to the same physical interface.

  • Service Provider Style
  • Enterprise Style
  • Flexible Ethernet Services

Service Provider Style

The service provider style of configuration allows for customizationof Ethernet-based services at the logical interface level. Serviceproviders typically have multiple customers connected to the samephysical interface. Using the service provider style, you can configuremultiple logical interfaces on the physical interface, and associateeach unit with a different VLAN. This provides the flexibility toconfigure different services for each customer, but also requiresmore configuration, because each feature must be explicitly configuredon the logical interface.

When configuring a physical interface to support only the serviceprovider style, the physical interface must be encapsulated with the extended-vlan-bridge option to support bridging features. VLANtagging must also be configured on the physical interface so thatit can operate in trunk mode and transmit Ethernet frames with VLANtags for multiple VLANs. Each logical interface is bound to a uniqueVLAN ID.

Enterprise Style

The enterprise style of configuration is designed to providebasic bridging functionality for consumers of Ethernet-based services.The isolation of services for different customers on a single portis not required, because each port is typically connected to a hostor is providing a trunk to another switch.

With the enterprise style of configuration, logical interfacesare placed into Layer 2 mode by specifying ethernet-switching as the interface family. Without using flexible Ethernet services, ethernet-switching can only be configured on a single logicalunit, unit0. You cannot bind a VLAN ID to unit0, becausethese interfaces operate either in trunk mode, which supports trafficwith various VLAN tags, or in access mode, which supports untaggedtraffic.

Flexible Ethernet Services

The flexible Ethernet services encapsulation type enables aphysical interface to support both styles of configuration. To supportthe service provider style, flexible Ethernet services allows forencapsulations to be configured at the logical interface level insteadof the physical interface. To support the enterprise style, flexibleEthernet services allows the ethernet-switching familyto be configured on any logical interface unit number instead of onlyunit0.

For example, the configuration below shows three logical interfacesconfigured on a physical interface, xe-0/0/51, that is encapsulatedfor flexible Ethernet services. Unit100 and unit200 areconfigured in the service provider style and unit300 is configuredin the enterprise style. The encapsulation type of vlan-bridge is used to enable bridging on unit100 and unit200, and family ethernet-switching enables bridging on unit300.

Following are the guidelines to follow when you configure theflexible Ethernet services encapsulation:

  • On the QFX10000 line of switches, configuring either vlan-tagging or flexible-vlan-tagging with family ethernet-switching on the same interface is not supported.

  • Only on the QFX10000 and EX9200 line of switches, youcan enable vlan-ccc encapsulation when flexible-ethernet-services is already enabled.

  • On QFX5100 switches, you can combine encapsulations onthe same physical interface for vlan-bridge and familyethernet switching. Starting with Junos OS Release 16.1R6, you can also combine encapsulationson the same physical interface for family inet and family ethernet-switching.

  • It is not required that the unit number and VLAN ID match,but it is considered a best practice.

Configuring Flexible Ethernet Services Encapsulation to Supportthe Service Provider and Enterprise Styles of Configuration

Flexible Ethernet services is a type of encapsulation that enables a physical interface tospecify Ethernet encapsulations at the logical interface level. Eachlogical interface can have a different Ethernet encapsulation. Definingmultiple per-unit Ethernet encapsulations makes it easier to customizeEthernet-based services to multiple hosts connected to the same physicalinterface.

An Ethernet interface that is not encapsulated with flexibleEthernet services and is operating in Layer 2 mode is limited to asingle logical interface unit (0). Bridging is enabled on the interfaceby configuring ethernet-switching as the interface familyon unit0. The ethernet-switching family can be configuredonly on logical interface unit0, and no other logical unitscan be defined on that interface.

Some switching features, however, cannot be configured on logicalinterface unit0. Features such as Q-in-Q tunneling require thelogical interface to transmit VLAN-tagged frames. To enable a logicalinterface to receive and forward Ethernet frames tagged with a matchingVLAN ID, you must bind the logical interface to that VLAN. These featuresmust be configured on a logical interface unit other than0,because you cannot bind a VLANID to unit0.

When you encapsulate an interface by using flexible Ethernetservices, you can configure a logical interface unit other than0with family ethernet-switching. You can also configureother logical interfaces on that same interface with different typesof Ethernet encapsulations. This enables logical interfaces that arebound to a VLAN ID to coexist with logical interfaces configured with family ethernet-switching.

For example, if you configure PVLAN on the same physical interfaceon which you are configuring Q-in-Q tunneling, you can use flexibleethernet services to support the enterprise style of configurationfor PVLAN, using family ethernet-switching, along with vlan-bridge encapsulation for Q-in-Q tunneling.

Best Practice:

We recommend you configure the following statements using groupswhen configuring devices that function as hardware VTEPs:

  • set interfaces interface-name flexible-vlan-tagging

  • set interfaces interface-name encapsulationextended-vlan-bridge

  • set interfaces interface-name native-vlan-id vlan-id

To configure the interface to support both the serviceprovider and enterprise styles of configuration:

  1. Enable flexible Ethernet services encapsulation on theinterface. The flexible-ethernet-services statement allowsconfiguration of both service-provider-style logical interfaces andenterprise-style logical interfaces:
  2. Enable the interface to transmit packets with 802.1Q VLANsingle-tagged and dual-tagged frames:
  3. Configure a logical interface (unit) on the interface:

    Note:

    Do not use logical interface unit 0. You must later binda VLAN tag ID to the unit you specify in this step, and you cannotbind a VLAN tag ID to unit 0. It is a best practice to match the unitnumber to the VLAN ID to which the interface is bound.

  4. Encapsulate the logical interface for service providerstyle bridging configuration—for example, use vlan-bridge encapsulation on an interface to be used for Q-in-Q tunneling. (Ifyou were configuring the interface only for Q-in-Q tunneling, youwould use encapsulation extended-vlan-bridge on the physical interface.)
  5. Bind the logical interface from the preceding step toa VLAN ID:
  6. Configure another logical interface. (If you were configuringjust PVLAN, we would recommend that you configure a single logicalinterface for all PVLAN domains on an interface.)
  7. Enable the logical interface in the preceding step forenterprise style bridging configuration:
  8. Assign VLAN membership to the logical interface:
  9. Configure the interface as a trunk interface to transmitframes with 802.1Q VLAN tags:

Note:

For EX4300 device, the service provider style configuration(encapsulation extended-vlan-bridge) is recommended only for QinQscenarios. For other scenarios, use the enterprise style configuration.

See Also

  • Configuring Q-in-Q Tunnelingon QFX Series, NFX Series, and EX4600 Switches with ELS Support

  • Creating a Private VLAN on a Single Switch withELS Support (CLI Procedure)

Configure Flexible Ethernet Services Encapsulation to Include Layer 2 Interface Support with Other Encapsulations

SUMMARYFlexible Ethernet services is a type of encapsulation that enables a physical interface to specify Ethernet encapsulations at the logical interface level. Perform the following steps to configure flexible Ethernet services to support a Layer 2 bridging interface while simultaneously supporting other encapsulation options on the same physical interface.

Note:

On the QFX10000 line of Switches running Junos OS releases earlier than Release 21.2R1, you cannot configure vlan-bridging and any other encapsulations on an interface that has flexible-ethernet-services enabled.

Configure a physical or aggregated Ethernet interface to simultaneously support a VLAN based circuit cross-connect (CCC) connection, Layer 3 IP routing, and Layer 2 bridging:

  1. Enable flexible Ethernet services encapsulation on the interface.
  2. Configure the interface to support 802.1Q VLAN single-tagged and dual-tagged frames.
  3. Define a logical interface to support Ethernet VLAN encapsulation for CCC:
  4. Bind the L2 CCC logical interface from the preceding step to a VLAN ID. This step is needed for all logical interfaces because the physical interface is set for VLAN tagged traffic.
  5. Configure a second logical interface as an L3 routed IP interface.
  6. Bind the L3 logical interface from the preceding step to a VLAN ID:
  7. Configure a third logical interface to support VLAN based bridging by specifying vlan-bridge encapsulation on the logical unit.
  8. Bind the logical interface from the preceding step to a VLAN ID.
  9. Define a bridge domain and add the L2 logical interface.

Verify your configuration using the show interfaces interface-name command in the configuration mode.

See Also

  • encapsulation (interfaces)

  • encapsulation (Logical Interface)

  • vlan-tagging

Configure Flexible Ethernet Services Encapsulation to Support Multiple Logical Interfaces on the Same Physical Interface Mapped to the Same Bridge Domain

SUMMARYFlexible Ethernet services is a type of encapsulation that enables a physical interface to specify Ethernet encapsulations at the logical interface level. Perform the following steps to configure multiple logical interfaces on the same physical interface mapped to the same bridge domain.

Note:

The QFX10002-60C switches do not support this feature.

Configure a physical or aggregated Ethernet interface to simultaneously support multiple logical interfaces using the same bridge domain. You cannot configure an ESI interface as one of the logical interfaces over a physical interface when both are part of the same VLAN. ESI interfaces have a limitation.

Note:

The combination of enterprise-style and service provider-style interfaces on the same physical interface is not supported when there are multiple service provider style logical interfaces attached to the same bridge domain.

  1. Configure the interface to support 802.1Q VLAN single-tagged and dual-tagged frames.
  2. Enable flexible Ethernet services encapsulation on the interface.
  3. Configure a logical interface to support VLAN based bridging by specifying vlan-bridge encapsulation on the logical unit.
  4. Bind the logical interface from the preceding step to a VLAN ID. This step is needed for all logical interfaces because the physical interface is set for VLAN tagged traffic.
  5. Configure another logical interface to support VLAN based bridging by specifying vlan-bridge encapsulation on the logical unit.
  6. Bind the logical interface from the preceding step to a VLAN ID.
  7. Configure a bridge domain by specifying the VLAN name and assigning a VLAN ID:
  8. Bind the first logical interface to the bridge domain:
  9. Bind the second logical interface to the bridge domain.

Verify your configuration using the show interfaces interface-name and show vlans command in the configuration mode.

See Also

  • encapsulation (interfaces)

  • encapsulation (Logical Interface)

  • vlan-tagging

  • vlans

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release

Description

16.1R3

Starting with Junos OS Release 16.1R6, you can also combine encapsulationson the same physical interface for family inet and family ethernet-switching.

Flexible Ethernet Services Encapsulation | Junos OS (2024)

FAQs

What is encapsulation flexible Ethernet services? ›

Flexible Ethernet services is a type of encapsulation that enables a physical interface to support different types of Ethernet encapsulations at the logical interface level. You can configure the Flexible Ethernet services encapsulation to support the service provider and the enterprise-style configuration.

Is flexible VLAN tagging only compatible with VPLS VLAN encapsulations or no encapsulation? ›

The flexible-vlan-tagging is supported only with either no encapsulation or VPLS VLAN encapsulation. The logical interface on which untagged packets are to be received must be configured with the same native VLAN ID as that configured on the physical interface.

What is encapsulation ENET2? ›

Encapsulation is the computer-networking process of concatenating layer-specific headers or trailers with a service data unit (i.e. a payload) for transmitting information over computer networks.

What is the purpose of encapsulation in networking? ›

Benefits of Encapsulation in Networking

Error Detection and Correction: Encapsulation adds headers and trailers that include error-checking information, improving data integrity. Efficient Data Transfer: By structuring data in segments, packets, and frames, encapsulation facilitates efficient routing and data transfer.

What is encapsulation services? ›

By sealing your crawl space from outside air, you create an insulated environment protected from pests, mold, and mildew. The result is a healthier home and lower energy bills. Encapsulation also helps to protect your home from flooding and water damage.

What is encapsulation in VLAN? ›

In order that a network device can identify frames of different VLANs, a VLAN tag field is inserted into the data link layer encapsulation. The format of VLAN-tagged frames is defined in IEEE 802.1Q issued in 1999.

What is the difference between VLAN tagging and flexible VLAN tagging? ›

vlan-tagging supports one tag, flexible-vlan-tagging supports one tag and two tags (QinQ). You can not use both statements on the interface, just one.

Should VLAN ports be tagged or untagged? ›

The purpose of a tagged or "trunked" port is to pass traffic for multiple VLANs, whereas an untagged or "access" port accepts traffic for only a single VLAN. Generally speaking, trunk ports will link switches, and access ports will link to end devices.

Is encapsulation good or bad? ›

Encapsulating the crawl space is an easy way to improve indoor air quality. Encapsulation removes toxins and unwanted humidity in the air circulating between the crawl space and the rest of the house. Improved air quality promotes good health by eliminating allergens, dust, and pathogen-ridden air vapor.

Should I always use encapsulation? ›

With inheritance we can access properties from another class. With Encapsulation we can restrict other classes from accessing variables and methods. So overall we should use Encapsulation unless we know we will need to access the properties from another class.

What is the main purpose of encapsulation? ›

Encapsulation is a way to restrict the direct access to some components of an object, so users cannot access state values for all of the variables of a particular object. Encapsulation can be used to hide both data members and data functions or methods associated with an instantiated class or object.

What is data encapsulation in Ethernet? ›

Encapsulation adds information to a packet as it travels to its destination. Decapsulation reverses the process by removing the info, so a destination device can read the original data.

What does link encap Ethernet mean? ›

Link encap shows how packets are encapsulated for transmission. Most interfaces wrap packets in Ethernet frames. HWaddr is hardware address of the ethernet interface (also known as MAC address). inet addr is IPv4 address assigned to the interface. Bcast is broadcast address for the interface.

What is encapsulation type Ethernet 1? ›

An 'Encapsulation Type' in computer science refers to the specific method used to encapsulate data for transmission, such as Ethernet-specific NULL, dot1q, or QinQ, which uniquely identifies the physical Ethernet port.

What is encapsulation in VLAN configuration? ›

In order that a network device can identify frames of different VLANs, a VLAN tag field is inserted into the data link layer encapsulation. The format of VLAN-tagged frames is defined in IEEE 802.1Q issued in 1999.

Top Articles
Read Amazon's internal guidance on why it won't give base pay increases to many senior employees this year
How do Hedge Funds Use Data?
Noaa Charleston Wv
Grange Display Calculator
Embassy Suites Wisconsin Dells
Best Cav Commanders Rok
Ap Chem Unit 8 Progress Check Mcq
Ssefth1203
Troy Athens Cheer Weebly
Pvschools Infinite Campus
Rosemary Beach, Panama City Beach, FL Real Estate & Homes for Sale | realtor.com®
Industry Talk: Im Gespräch mit den Machern von Magicseaweed
Craigslist Blackshear Ga
Eva Mastromatteo Erie Pa
Tamilyogi Proxy
Bridge.trihealth
Trivago Sf
97226 Zip Code
Craigslist Prescott Az Free Stuff
We Discovered the Best Snow Cone Makers for Carnival-Worthy Desserts
Engineering Beauties Chapter 1
Craigslist Maryland Trucks - By Owner
Globle Answer March 1 2023
Reviews over Supersaver - Opiness - Spreekt uit ervaring
TeamNet | Agilio Software
Kentuky Fried Chicken Near Me
Victory for Belron® company Carglass® Germany and ATU as European Court of Justice defends a fair and level playing field in the automotive aftermarket
Carroway Funeral Home Obituaries Lufkin
Bayard Martensen
CohhCarnage - Twitch Streamer Profile & Bio - TopTwitchStreamers
Imagetrend Elite Delaware
Craigslist/Phx
Syracuse Jr High Home Page
Smayperu
Craigslist Org Sf
Glossytightsglamour
Metro By T Mobile Sign In
Marie Peppers Chronic Care Management
1v1.LOL Game [Unblocked] | Play Online
A Comprehensive 360 Training Review (2021) — How Good Is It?
Nu Carnival Scenes
Quaally.shop
Child care centers take steps to avoid COVID-19 shutdowns; some require masks for kids
Go Nutrients Intestinal Edge Reviews
Www.homedepot .Com
Bismarck Mandan Mugshots
Washington Craigslist Housing
Cvs Minute Clinic Women's Services
Cars & Trucks near Old Forge, PA - craigslist
ESPN's New Standalone Streaming Service Will Be Available Through Disney+ In 2025
Used Curio Cabinets For Sale Near Me
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 6405

Rating: 4.6 / 5 (56 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.