Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Example: Configuring Route Resolution on Route Reflectors
Example: Configuring Route Resolution on PE Routers
This example shows how to configure a routing table to accept routes from specific routing tables. It also shows how to configure a routing table to use specific import policies to produce a route resolution table to resolve routes.
Requirements
Before you begin, configure a Layer 3 VPN, as shown in one of the following examples:
- Example: Configuring Interprovider Layer 3 VPN Option A
- Example: Configuring Interprovider Layer 3 VPN Option B
- Example: Configuring and Verifying the Auto Export Feature
Overview
One method to achieve IPv4 route scaling is to modify how BGP routes are added to the forwarding tables. By default, the Routing Protocol Process (rpd) adds all the routes in inet.0 and inet.3 to the resolution tree. Normally, this includes the resolved IPv4 BGP routes, which can increase memory consumption. To achieve better scaling for IPv4 routes, this example shows how to configure the Junos OS so that resolved BGP routes are not added to the resolution tree. This is achieved by applying an import policy on the route resolution table, which ensures it does not accept any BGP routes from inet.0.
You would apply this configuration to all provider edge (PE) routers in the Layer 3 VPN.
Configuration
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
PE Router
Step-by-Step Procedure
The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.
To configure route resolution:
- Configure the routing policy.[edit policy-options policy-statement protocol-bgp]user@PE# set from protocol bgp user@PE# set then reject
- Apply the routing policy.[edit routing-options resolution]user@PE# set rib inet.0 import protocol-bgp
- If you are done configuring the device, commit the configuration.[edit]user@PE# commit
Results
Confirm your configuration by issuing the show policy-options and show routing-options commands.
Verification
Confirm that the configuration is working properly by running the following commands:
Related Documentation
- ACX, M, MX, PTX, T Series
- Example: Configuring Route Resolution on Route Reflectors
Published: 2012-11-29
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Example: Configuring Route Resolution on Route Reflectors