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.
Description
Define the type of routing instance.
Default
no-forwarding
Options
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. See Configuring Filter-Based Forwarding.
l2vpn—Provide support for Layer 2 VPNs. For more detailed information about configuring VPNs, see the Junos VPNs Configuration Guide.
layer2-control—(MX Series routers only) Provide support for RSTP or MSTP in customer edge interfaces of a VPLS routing instance. For more detailed information about configuring RSTP and MSTP, see the Junos Layer 2 Configuration Guide.
no-forwarding—This is the default routing instance. Do not create a corresponding forwarding instance.
virtual-router—Similar to a VPN routing and forwarding instance type, but used for non-VPN-related applications. There are no VRF import, VRF export, VRF target, or route distinguisher requirements for this instance type.
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 detailed information about configuring a virtual switch, see the Junos Layer 2 Configuration Guide and the Junos MX Series Ethernet Services Routers Solutions Guide.
vpls—Virtual private local-area network (LAN) service. Use this routing instance type for point-to-multipoint LAN implementations between a set of sites in a VPN. For more information about configuring VPLS, see the Junos VPNs Configuration Guide.
vrf—VPN routing and forwarding instance. Provides support for Layer 3 VPNs, where interface routes for each instance go into the corresponding forwarding table only. For more information about configuring VPNs, see the Junos VPNs Configuration Guide.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Topics
- Specifying the Instance Type for Routing Instances
- Junos VPNs Configuration Guide
