service-type
Syntax
service-type (vlan-aware | vlan-based | vlan-bundle);
Hierarchy Level
[edit logical-systems name routing-instances mac-vrf routing-instance name], [edit logical-systems name tenants name routing-instances mac-vrf routing-instance name], [edit routing-instances mac-vrf routing-instance name], [edit tenants name routing-instances mac-vrf routing-instance name]
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. |
When you want to change a traffic impacting option under a routing instance, use the following procedure.
Deactivate the routing instance configuration.
Change the traffic impacting option.
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 thevlan-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.