Description

Routes are showing up as hidden in the routing table due to BGP loop detection mechanism.

Symptoms

Topology:
R1 (ASN 65000) ------(65500)R2-------(65501)R3(ASN 65000)-----(65502)R4

R1 is not able to accept routes advertised from R4 into the routing table due to BGP loop detection as R3 has the same ASN as R1.

Solution

There are actually 2 ways we can work around this issue:

  1. Configure the private AS so that the AS path does not show.

    Example:
    set protocol bgp neighbor 10.111.111.1 local-as 65000 private <<<< <note the private</code>
    The following provides more detailed explanation for the above mentioned configuration:
    http://www.juniper.net/techpubs/en_US/junos10.3/information-products/topic-collections/config-guide-routing/index.html?topic-33136.html