Navigation
Take Appropriate Action
Problem
Depending on the error you encountered in your investigation, you must take the appropriate action to correct the problem. In this example, the ingress and egress routers are incorrectly configured for BGP to forward traffic using the LSP.
Solution
To correct the errors in this example, follow these steps:
- On ingress router R1, include the local-address statement and delete the incorrect interface address (repeat these
steps on egress router R6):[edit]user@R1# edit protocols bgp [edit protocols bgp]user@R1# show user@R1# set local-address 10.0.0.1 user@R1# delete group internal neighbor 10.1.36.2
- Verify and commit the configuration:[edit protocols bgp]user@R1# show user@R1# commit
Sample Output
[edit] user@R1# edit protocols bgp [edit protocols bgp] user@R1# show export send-statics; group internal { type internal; neighbor 10.0.0.2; neighbor 10.0.0.5; neighbor 10.0.0.4; neighbor 10.0.0.6; neighbor 10.0.0.3; neighbor 10.1.36.2; } [edit protocols bgp] user@R1# set local-address 10.0.0.1 [edit protocols bgp] user@R1# delete group internal neighbor 10.1.36.2 [edit protocols bgp] user@R1# show local-address 10.0.0.1; export send-statics; group internal { type internal; neighbor 10.0.0.2; neighbor 10.0.0.5; neighbor 10.0.0.4; neighbor 10.0.0.6; neighbor 10.0.0.3; } [edit protocols bgp] user@R1# commit commit complete
Meaning
The sample output shows that the configuration of BGP on ingress router R1 is now correct. BGP can now forward BGP traffic through the LSP.