Step 3: Take Appropriate Action
Purpose
The appropriate action depends on the type of problem you have isolated. In this example, a static route configured on
R2is deleted from the [routing-options] hierarchy level. Other appropriate actions might include the following:
- Check the local router's configuration and edit it if appropriate.
- Troubleshoot the intermediate router.
- Check the remote host configuration and edit it if appropriate.
- Troubleshoot routing protocols.
- Identify additional possible causes.
Action
To resolve the problem in this example, enter the following JUNOS CLI commands:
[edit]user@R2#delete routing-options static routedestination-prefixuser@R2#commit and-quituser@R2#show routedestination-prefixSample Output
[edit]user@R2#delete routing-options static route 10.0.0.5/32[edit]user@R2#commit and-quitcommit completeExiting configuration modeuser@R2>show route 10.0.0.5inet.0: 22 destinations, 24 routes (22 active, 0 holddown, 0 hidden)+ = Active Route, - = Last Active, * = Both10.0.0.5/32*[BGP/170] 3d 20:26:17, MED 5, localpref 100AS path: 65001 I> to 10.1.12.1 via so-0/0/0.0What It Means
The sample output shows the static route deleted from the [
routing-options] hierarchy and the new configuration committed. The output for theshow routecommand now shows the BGP route as the preferred route, as indicated by the asterisk (*).