Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

service-type

Syntax

Hierarchy Level

Description

Select the type of VLAN service that the MAC-VRF routing instance provides. The selected option controls how the routing instance maps VLANs to the forwarding instances on the device.

Options

vlan-aware

Map one or more routing instances of type Virtual Switch to many VLAN IDs (VIDs) and multiple bridge tables. Each bridge table corresponds to a different VLAN.

vlan-based

Map one routing instance of type EVPN to one VLAN. Only one bridge table corresponds to one VLAN. If the VLAN consists of multiple VLAN IDs (VIDs), then you must configure VLAN translation for packets that are traveling to the Ethernet segment. You do this when you use a different VID per Ethernet segment on a provider edge device.

vlan-bundle

Map multiple broadcast domains to a single bridge domain. Multiple VLANs map to a single EVPN instance (EVI) and share the same bridge table in the MAC-VRF table. This configuration reduces the number of routes and labels stored in the table.

CAUTION:

When you want to change a traffic impacting option under a routing instance, use the following procedure.

  1. Deactivate the routing instance configuration.

  2. Change the traffic impacting option.

  3. Reactivate the updated routing instance configuration.

For example, follow this procedure if you need to change settings such as:

  • The service-type in a MAC-VRF routing instance-- When you change the service type of a running instance, the device might incorrectly change the VLAN ID if it is not deactivated prior to making the change.

  • The vlan-id in an EVPN routing instance-- Changing the vlan-id on the fly, without first deactivating the associated EVPN routing instance would be catastrophic.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 20.4R1.