Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Can't see all bgp route

    Posted 01-10-2017 10:09

    Hello,

     

    i can't recieve all 6 route from all router R1 to R7 on Router R2. Router R1 and R3 on confedration number 65000, R2 and R4 in Confederation number 65001 and R5,R6, R7 in Confederation 65002. 

     

    R3,R4,R5 are configured as C-BGP

     

    root@R5# run show bgp summary    
    Groups: 2 Peers: 4 Down peers: 0
    Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
    inet.0               
                          10          6          0          0          0          0
    Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
    10.0.3.3              65000      13839         27       0       0        8:00 4/4/4/0              0/0/0/0
    10.0.3.4              65001      12472         16       0       1        3:27 0/4/4/0              0/0/0/0
    10.0.9.6              65002       2830       2827       0       1    21:17:09 1/1/1/0              0/0/0/0
    10.0.9.7              65002       2830       2825       0       1    21:17:06 1/1/1/0              0/0/0/0
    
    [edit]
    root@R5# show protocols bgp 
    group 65002 {
        type internal;
        local-address 10.0.3.5;
        export ibgp;
        neighbor 10.0.9.6;
        neighbor 10.0.9.7;
    }
    group c-bgp {
        type external;
        multihop;
        local-address 10.0.3.5;
        export ibgp;
        neighbor 10.0.3.3 {
            peer-as 65000;
        }
        neighbor 10.0.3.4 {
            peer-as 65001;
        }
    }
    
    [edit]
    root@R5# show routing-options 
    static {
        route 192.168.50.0/24 reject;
    }
    autonomous-system 65002;
    confederation 65412 members [ 65000 65001 65002 ];
    
    [edit]
    root@R5# run show route protocol bgp 192/8|count |match 192.168 
    Count: 6 lines
    
    root@R2# show routing-options 
    static {
        route 192.168.20.0/24 reject;
    }
    autonomous-system 65001;
    confederation 65412 members [ 65000 65001 65002 ];
    
    [edit]
    root@R2# show prp 
                  ^
    syntax error.
    root@R2# run show bgp summary          
    Groups: 1 Peers: 1 Down peers: 0
    Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
    inet.0               
                           6          4          0          0          0          0
    Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
    10.0.3.4              65001     154381       2879       0       1    21:34:06 4/6/6/0              0/0/0/0
    
    [edit]
    root@R2# run show route protocol bgp 192/8|count |match 192.168 
    Count: 4 lines
    
    [edit]
    root@R2# show protocols bgp 
    group 65001 {
        type internal;
        local-address 10.0.6.2;
        export ibgp;
        neighbor 10.0.3.4;
    }
    root@R4# run show bgp summary 
    Groups: 2 Peers: 3 Down peers: 0
    Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
    inet.0               
                           8          6          0          0          0          0
    Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
    10.0.3.3              65000      66633      67080       0       0       20:16 2/2/2/0              0/0/0/0
    10.0.3.5              65002         52      66632       0       0       20:20 3/5/5/0              0/0/0/0
    10.0.6.2              65001       2879     155073       0       1    21:34:15 1/1/1/0              0/0/0/0
    
    [edit]
    root@R4# run show pro
                         ^
    syntax error.
    root@R4# show prp       
                  ^
    syntax error.
    root@R4# show protocols bgp     
    group 65001 {
        type internal;
        local-address 10.0.3.4;
        export ibgp;
        neighbor 10.0.6.2;
    }
    group c-bgp {
        type external;
        multihop;
        local-address 10.0.3.4;
        export ibgp;
        neighbor 10.0.3.5 {
            peer-as 65002;
        }
        neighbor 10.0.3.3 {
            peer-as 65000;
        }
    }
    
    [edit]
    root@R4# show routing-options 
    static {
        route 192.168.40.0/24 reject;
        route 200.200.0.1/32 next-hop [ 172.16.0.6 172.16.0.10 ];
    }
    aggregate {
        route 10.0.4.0/22;
    }
    autonomous-system 65001;
    confederation 65412 members [ 65000 65001 65002 ];
    
    [edit]
    root@R4# run show route protocol bgp 192/8|count |match 192.168 
    Count: 6 lines
    

     

    Thanks,

    Jay

     

     



  • 2.  RE: Can't see all bgp route

    Posted 01-10-2017 13:04

    Hello there,

    Believe me or not but You are in fact receiving all 6 routes on R2:

     

    root@R2# run show bgp summary          
    Groups: 1 Peers: 1 Down peers: 0
    Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
    inet.0               
                           6          4          0          0          0          0
    Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
    10.0.3.4              65001     154381       2879       0       1    21:34:06 4/6/6/0  

    Only 4 out of 6 are "active" meaning only 4 make it to the route table. That's why You get only 4 lines when trying to count "192.168" routes on R4

    2 out of total 6 are likely hidden - check "show route hidden detail" and verify if the protocol next-hops for these 2 are resolvable. Confederation members should be in common IGP domain.

    HTH

    Thx
    Alex



  • 3.  RE: Can't see all bgp route

    Posted 01-10-2017 14:03

    Thanks for the quick reply!

     

    R2 is configured as level 1 and R2 facing interface of R4 configured as level 1 ISIS. R4's lo0 is in level 2. Does that can casue this issue ?

     

    root@R2# show protocols isis 
    export direct;
    ignore-attached-bit;
    level 2 disable;
    level 1 wide-metrics-only;
    interface all;
    
    root@R4# show protocols isis 
    export [ leak summ ];
    level 2 wide-metrics-only;
    interface ge-0/0/1.0 {    <<<<<<<R2 facing interface
        level 2 disable;
    }
    interface ge-0/0/2.0 {
        level 1 disable;
    }
    interface ge-0/0/3.0 {
        level 1 disable;
    }
    interface lo0.0 {
        level 1 disable;
    }

     

    On R5 there is 4 route is inactive, which is received from R4. 

     

    root@R5# run show bgp summary    
    Groups: 2 Peers: 4 Down peers: 0
    Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
    inet.0               
                          10          6          0          0          0          0
    Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
    10.0.3.3              65000     158853        565       0       0     4:13:13 4/4/4/0              0/0/0/0
    10.0.3.4              65001     148093        555       0       1     4:08:40 0/4/4/0              0/0/0/0
    10.0.9.6              65002       3373       3365       0       1  1d 1:22:22 1/1/1/0              0/0/0/0
    10.0.9.7              65002       3372       3364       0       1  1d 1:22:19 1/1/1/0              0/0/0/0

    How can i resove next-hop on R2 to get route active ?

     

    Thanks,

    Jay



  • 4.  RE: Can't see all bgp route
    Best Answer

    Posted 01-10-2017 22:49

    Hello,

    Remove this line from R2 config and You should be golden:

     

    root@R2# show protocols isis 
    
    ignore-attached-bit;

    HTH

    Thx
    Alex



  • 5.  RE: Can't see all bgp route

    Posted 01-11-2017 08:52

    That's worked. 

    Sorry, for this easy question. I just not much familar about ISIS thing.

     

    Thanks a lot for your help. 

     

    Thanks,

    Jay