Related Documentation
- J Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
- M Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
- MX Series
- Understanding Damping Parameters
- PTX Series
- Routing Policies Configuration Overview
- QFX Series
- Understanding Damping Parameters
- SRX Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
- T Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
Example: Configuring Damping Parameters
This example shows how to configure damping parameters.
Requirements
Before you begin, configure router interfaces and configure routing protocols, as explained in Routing Policies Configuration Overview.
Overview
In this example, you configure a routing policy called policy1 and a corresponding routing term called term1. Within the term, you configure the route filter to include source routes greater than or equal to 10.210.0.0/16 and destination routes greater than or equal to 10.215.0.0/16. Then you group the source and destination prefixes into a forwarding class called forwarding-class1 and apply policy1 to the forwarding table. The routing policy is evaluated when routes are being exported from the routing table into the forwarding table. Only the active routes are exported from the routing table.
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.
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 damping parameters:
Specify the routes to dampen and associate each group of routes with a group name.
[edit policy-options policy-statement dampenpolicy1 term dampenterm1]user@host# set from route-filter 172.16.0.0/12 orlonger damping group1user@host# set from route-filter 192.168.0.0/16 orlonger user@host# set from route-filter 10.0.0.0/8 orlongerCreate and configure the damping parameter groups.
[edit policy-options damping]user@host# set group1 half-life 30 max-suppress 60 reuse 750 suppress 3000user@host# set group2 half-life 40 max-suppress 45 reuse 1000 suppress 400user@host# set group3 disableEnable damping for BGP.
[edit]user@host# set protocols bgp dampingApply the policy as an import policy for the BGP neighbor.
[edit ]user@host# set protocols bgp group groupA neighbor 172.16.15.14 import dampenpolicy1
Note: You can refer to the same routing policy one or more times in the same or different import statement.
Results
Confirm your configuration by entering the show policy-options and show protocols bgp commands from configuration mode. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
If you are done configuring the device, enter commit from configuration mode.
Verification
Confirm that the configuration is working properly.
Verifying the Damping Parameters
Purpose
Verify that the policy and term are configured on the device and that the appropriate damping parameters are specified within the term.
Action
From operational mode, enter the show policy-options command.
Verifying the Routing Policy
Purpose
Verify that damping is enabled for BGP and that the routing policy is applied to the routing protocol.
Action
From operational mode, enter the show protocols bgp command.
Related Documentation
- J Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
- M Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
- MX Series
- Understanding Damping Parameters
- PTX Series
- Routing Policies Configuration Overview
- QFX Series
- Understanding Damping Parameters
- SRX Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters
- T Series
- Routing Policies Configuration Overview
- Understanding Damping Parameters

