Routing Instances

Routing Instances






In the Cisco world, you can use VRF-Lite to create additional routing tables on a router or L3 switch. This creates separation at layer-3 like VLANs do at layer-2.

Juniper have something similar (although not identical) called a routing instance.

There are several types of routing instance, depending on how they should be used.

The ‘Virtual Router’ and ‘No-Forwarding’ types are the closest to VRF-Lite. Virtual router creates an additional routing table and an additional forwarding table.

The no-forwarding type creates an additional routing table, but the best routes still end up in the global forwarding table. You might use this if you want to create multiple instances of OSPF or some other routing protocol.

Other routing instance types include:

  • VRF – MPLS Network
  • L2VPN – VPLS Network
  • Forwarding – Filter-Based Forwarding (FBF; Like Cisco’s PBR)


Command Summary

Command Mode Description
set routing-instances NAME instance-type TYPE Configuration Create a routing instance
set routing-instances NAME interface Configuration Assign interfaces to a routing instance
set routing-instances NAME routing-options static route NETWORK next-hop IP Configuration Add a static route to a routing instance
show route instance Operational See the routing instances
show route table INSTANCE.inet.0 Operational See the routing table for the routing instance


Additional References

Routing Instances Overview


Juniper Routing Instances

Juniper Routing Instances



Leave a Reply