Reset Search
 

 

Article

MLXe4 doesn't advertise route to ebgp peer

« Go Back

Information

 
TitleMLXe4 doesn't advertise route to ebgp peer
Symptoms
  • MLXe4 doesn't advertise route to ebgp peer
    telnet@MLX1#sh ip bgp routes detail  1.1.1.0/24
    Number of BGP Routes matching display condition : 1
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
           E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
           S:SUPPRESSED F:FILTERED s:STALE x:BEST-EXTERNAL
    1       Prefix: 1.1.1.0/24, Rx path-id:0x00000000, Tx path-id:0x00010001, rank:0x00000001, Status: BI,  Age: 0h2m9s
             NEXT_HOP: 192.168.0.90, Metric: 0, Learned from Peer: 192.168.0.90 (1)
              LOCAL_PREF: 10,  MED: none,  ORIGIN: igp,  Weight: 0,  GROUP_BEST: 1
             AS_PATH: 
                COMMUNITIES: no-export 1:200
           Last update to IP routing table: 0h2m9s, 1 path(s) installed:
           Route is not advertised to any peers
    
    telnet@MLX1#sh ip bgp neighbors 192.168.0.97 advertised-routes 
           There are 2 routes advertised to neighbor 192.168.0.97
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL x:BEST-EXTERNAL
           Prefix             Next Hop        MED        LocPrf     Weight Status
    1      192.168.0.0/24     192.168.0.98    0                     32768  BL    
             AS_PATH: 1 
    2      192.0.1.0/24       192.168.0.90                          0      BI    
             AS_PATH: 1 
    
    
    telnet@CER1#sh ip bgp neighbors 192.168.0.98  received-routes 
           There are 2 received routes from neighbor 192.168.0.98
    Searching for matching routes, use ^C to quit...
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
           E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
           S:SUPPRESSED F:FILTERED s:STALE
           Prefix             Next Hop        MED        LocPrf     Weight Status
    1      192.0.1.0/24       192.168.0.90               100        0      BE    
             AS_PATH: 1
    2      192.168.0.0/24     192.168.0.98    0          100        0      BE    
             AS_PATH: 1
Environment
  • Netiron OS
  • MLXe Series
  • CER/CES Series
  • eBGP
  • no-export community 
Cause
The "no-export" BGP community instructs a device running the BGP routing protocol not to advertise the marked routes to eBGP peers. This community does not affect the advertisement of BGP routes to iBGP peers. For more information on this BGP attribute, please read RFC 3765
Resolution
  • Remove the "no export" BGP community from the advertising router
    telnet@MLX1#show ip bgp routes detail 1.1.1.0/24
    Number of BGP Routes matching display condition : 1
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
           E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
           S:SUPPRESSED F:FILTERED s:STALE x:BEST-EXTERNAL
    1       Prefix: 1.1.1.0/24, Rx path-id:0x00000000, Tx path-id:0x00010001, rank:0x00000001, Status: BI,  Age: 0h1m22s
             NEXT_HOP: 192.168.0.90, Metric: 0, Learned from Peer: 192.168.0.90 (1)
              LOCAL_PREF: 10,  MED: none,  ORIGIN: igp,  Weight: 0,  GROUP_BEST: 1
             AS_PATH: 
                COMMUNITIES: 1:200
                Adj_RIB_out count: 1,  Admin distance 200
           Last update to IP routing table: 0h1m22s, 1 path(s) installed:
           Route is advertised to 1 peers:
            192.168.0.97(2) 
    
    telnet@MLX1#show ip bgp neighbors 192.168.0.97 advertised-routes 
           There are 12 routes advertised to neighbor 192.168.0.97
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL x:BEST-EXTERNAL
           Prefix             Next Hop        MED        LocPrf     Weight Status
    1      192.168.0.0/24     192.168.0.98    0                     32768  BL    
             AS_PATH: 1 
    2      192.0.1.0/24       192.168.0.90                          0      BI    
             AS_PATH: 1 
    3      1.1.1.0/24         192.168.0.90                          0      BI    
             AS_PATH: 1 
    4      1.1.2.0/24         192.168.0.90                          0      BI    
             AS_PATH: 1
    
    telnet@CER1#show ip bgp routes detail 1.1.1.0/24
    Number of BGP Routes matching display condition : 1
    Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
           E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
           S:SUPPRESSED F:FILTERED s:STALE
    1       Prefix: 1.1.1.0/24,  Status: BE,  Age: 0h2m10s
             NEXT_HOP: 192.168.0.90, Metric: 0, Learned from Peer: 192.168.0.98 (1)
              LOCAL_PREF: 100,  MED: none,  ORIGIN: igp,  Weight: 0
             AS_PATH: 1
           Last update to IP routing table: 0h2m10s, 1 path(s) installed:
           Route is not advertised to any peers
    
Additional notes
Topology
  • Spirent-------iBGP------MLX1------eBGP------CER1
    Spirent:192.168.0.90
    MLX1:192.168.0.98
    CER2:192.168.0.97

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255