Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring Routing Instances on PE Routers in VPNs
- Example: Configuring Filter-Based Forwarding on the Source Address
- M, MX, PTX, T Series
- Example: Configuring Filter-Based Forwarding on Logical Systems
- QFX Series
- Configuring Virtual Router Routing Instances
instance-type
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
virtual-switch and layer2-control options introduced in Junos OS Release 8.4.
Statement introduced in Junos OS Release 9.2 for EX Series switches.
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Statement introduced in Junos OS Release 12.3 for ACX Series routers.
Description
Define the type of routing instance.
Options
![]() | Note: On ACX Series routers, you can configure only the forwarding, virtual router, and VRF routing instances. |
type—Can be one of the following:
- forwarding—Provide support for filter-based forwarding, where interfaces are not associated with instances. All interfaces belong to the default instance. Other instances are used for populating RPD learned routes. For this instance type, there is no one-to-one mapping between an interface and a routing instance. All interfaces belong to the default instance inet.0.
- l2backhaul-vpn—Provide support for Layer 2 wholesale VLAN packets with no existing corresponding logical interface. When using this instance, the router learns both the outer tag and inner tag of the incoming packets, when the instance-role statement is defined as access, or the outer VLAN tag only, when the instance-role statement is defined as nni.
- l2vpn—Enable a Layer 2 VPN on the routing instance. You must configure the interface, route-distinguisher, vrf-import, and vrf-export statements for this type of routing instance.
- layer2-control—(MX Series routers only) Provide support for RSTP or MSTP in customer edge interfaces of a VPLS routing instance. This instance type cannot be used if the customer edge interface is multihomed to two provider edge interfaces. If the customer edge interface is multihomed to two provider edge interfaces, use the default BPDU tunneling. For more information about configuring a layer2-control instance type, see the Junos OS Layer 2 Configuration Guide.
- no-forwarding—This is the default routing instance. Do not create a corresponding forwarding instance. Use this routing instance type when a separation of routing table information is required. There is no corresponding forwarding table. All routes are installed into the default forwarding table. IS-IS instances are strictly nonforwarding instance types.
- virtual-router—Enable a virtual router routing instance. This instance type is similar to a VPN routing and forwarding instance type, but used for non-VPN-related applications. You must configure the interface statement for this type of routing instance. You do not need to configure the route-distinguisher, vrf-import, and vrf-export statements.
- virtual-switch—(MX Series routers only) Provide support for Layer 2 bridging. Use this routing instances type to isolate a LAN segment with its Spanning Tree Protocol (STP) instance and separates its VLAN identifier space.For more information about configuring a virtual switch instance type, see the Junos OS Layer 2 Configuration Guide. and the JUNOS® MX Series 3D Universal Edge Routers Solutions, Release 13.1.
- vpls—Enable VPLS on the routing instance. Use this routing instance type for point-to-multipoint LAN implementations between a set of sites in a VPN. You must configure the interface, route-distinguisher, vrf-import, and vrf-export statements for this type of routing instance.
- vrf—VPN routing and forwarding (VRF) instance. Provides support for Layer 3 VPNs, where interface routes for each instance go into the corresponding forwarding table only. Required to create a Layer 3 VPN. Create a VRF table (instance-name.inet.0) that contains the routes originating from and destined for a particular Layer 3 VPN. For this instance type, there is a one-to-one mapping between an interface and a routing instance. Each VRF instance corresponds with a forwarding table. Routes on an interface go into the corresponding forwarding table. You must configure the interface, route-distinguisher, vrf-import, and vrf-export statements for this type of routing instance.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring Routing Instances on PE Routers in VPNs
- Example: Configuring Filter-Based Forwarding on the Source Address
- M, MX, PTX, T Series
- Example: Configuring Filter-Based Forwarding on Logical Systems
- QFX Series
- Configuring Virtual Router Routing Instances
Published: 2013-07-10
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring Routing Instances on PE Routers in VPNs
- Example: Configuring Filter-Based Forwarding on the Source Address
- M, MX, PTX, T Series
- Example: Configuring Filter-Based Forwarding on Logical Systems
- QFX Series
- Configuring Virtual Router Routing Instances