Configuring Routing Instances
You can create multiple instances of BGP, IS-IS, OSPF, OSPFv3, RIP, and static routes. For information about how to configure a virtual switch, see the Junos Layer 2 Configuration Guide.
You can include the statements at the following hierarchy levels:
- [edit routing-instances routing-instance-name protocols]
- [edit logical-systems logical-system-name routing-instances routing-instance-name protocols]
Each routing instance consist of the following:
- A set of routing tables
- A set of interfaces that belong to these routing tables
- A set of routing option configurations
Each routing instance has a unique name and a corresponding IP unicast table. For example, if you configure a routing instance with the name my-instance, its corresponding IP unicast table is my-instance.inet.0. All routes for my-instance are installed into my-instance.inet.0.
Configure global routing options and protocols for the default instance by including statements.
For a list of hierarchy levels at which you can include these statements, see the statement summary sections for these statements.
Routes are installed into the default routing instance inet.0 by default, unless a routing instance is specified.
![]() | Note: In Junos OS Release 9.0 and later, you can no longer specify a routing-instance name of default or include special characters within the name of a routing instance. |
For details about specifying interfaces, see the Junos Network Interfaces Configuration Guide.
To configure a routing instance, include the following statements:
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
