?
Solved

Advertising an Aggregate Route

Posted on 2014-03-25
4
Medium Priority
?
235 Views
Last Modified: 2014-03-31
Hi,
 
   This is a simple advertisement of an aggregate route between two routers. Router3 is advertising the aggregate via BGP to Router2. I see that Router2 is receiving the route from Router3 but it's hidden it. When I check why it states that it's "looped". However, I don't see how that can be looped if the AS that Router3 is using is 3333 and the AS the Router2 is using is 2222. Can you guys please check what mistake you see? Thank you


Router2 Output:
 
root# ...ve-protocol bgp 10.1.23.2 table Router2.inet.0 hidden
Router2.inet.0: 5 destinations, 5 routes (4 active, 0 holddown, 1 hidden)
Prefix Nexthop MED Lclpref AS path
200.0.100.0/22 10.1.23.2 3333 I
 
 
root# run show route protocol bgp table Router2.inet.0 hidden extensive
Router2.inet.0: 5 destinations, 5 routes (4 active, 0 holddown, 1 hidden)
200.0.100.0/22 (1 entry, 0 announced)
BGP
Next hop type: Router
Address: 0x15c0944
Next-hop reference count: 1
Source: 10.1.23.2
Next hop: 10.1.23.2 via lt-0/0/0.6, selected
State: <Hidden Ext>
Peer AS: 3333
Age: 37:00
Task: BGP_3333_2222.10.1.23.2+179
AS path: 3333 I (Looped: 3333) Aggregator: 3333 200.0.102.1
Router ID: 200.0.102.1
[edit]
root#
 
 
 
 
Router3 Output:
 
root# show routing-instances Router3
routing-options {
aggregate {
route 200.0.100.0/22;
}
}
protocols {
bgp {
group ROUTER2 {
type external;
description "Advertise Router3 Loopbacks to Router2";
export ADV_AGR;
peer-as 2222;
local-as 3333;
neighbor 10.1.23.1;
}
}
}
[edit]
root#
 
 
root# run show interfaces terse routing-instance Router3
Interface Admin Link Proto Local Remote
lt-0/0/0.3 up up inet 10.1.13.2/30
lt-0/0/0.7 up up inet 10.1.23.2/30
lo0.102 up up inet 200.0.102.1/24
200.0.103.1/24
[edit]
root#
 
 
 
root# show policy-options
policy-statement ADV_AGR {
from protocol aggregate;
then accept;
}
[edit]
 


Diagram
0
Comment
Question by:vreyesii
  • 2
  • 2
4 Comments
 
LVL 17

Expert Comment

by:pergr
ID: 39955236
Can you attach the full routing tables?

I see you have an additional LT interface, so possibly there are actually "old garbage" left from other exercises...
0
 

Accepted Solution

by:
vreyesii earned 0 total points
ID: 39955978
Thank you for your help. But I found the issue. The issue is that since I am using Virtual Instance within a single physical device that router is seeing it's own AS_PATH within the AS_PATH list. To correct it one has to use the "loops" command to allow loops when you are configuring EBGP within a Virtual Instance within a single device.

set protocols bgp group TEST local-as xxxx loops x
0
 
LVL 17

Expert Comment

by:pergr
ID: 39956063
You should have been able to just configure the AS under routing-options, under each routing-instance. With a different AS for each routing-instance.

Even better is to use an MX and logical-system instead of routing-instance...
0
 

Author Closing Comment

by:vreyesii
ID: 39966126
This corrected my issue and I was able to see the hidden route in BGP.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question