SOURCECODEBD.NET

Live Experience

Juniper Routes Learned from a Specific Protocol
 
You have configured a routing protocol and you want to make sure the router is learning routes from that protocol.
Include the protocol name in the show route command:
 
Here you can see the only isis route
source@Router> show route protocol isis
inet.0: 18 destinations, 18 routes (18 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.2.0/24        *[IS-IS/18] 00:45:17, metric 20
                    > to 10.0.1.1 via fe-0/0/1.0
                      to 10.0.0.2 via fe-1/0/1.0
10.0.8.0/24        *[IS-IS/18] 00:45:17, metric 20
                    > to 10.0.0.2 via fe-1/0/1.0
10.0.21.0/24       *[IS-IS/15] 00:45:17, metric 20
                   > to 10.0.16.1 via fe-1/0/0.0
 
Here you can see the only bpp route
source@Router> show route protocol bpp
inet.0: 18 destinations, 18 routes (18 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.2.0/24    *[BGP/170] 00:45:17, MED 0, localpref 100, from 192.168.100.1
                      AS path: 65564 I
                    > to 172.16.100.1 via xe-0/0/1.0
                    [BGP/170] 1w4d 23:49:45, MED 0, localpref 100, from 192.168.200.1
                      AS path: 65566 I
                    > to 172.16.200.1 via xe-0/0/0.0
10.0.8.0/24 *[BGP/170] 1w4d 23:49:45, MED 0, localpref 100, from 192.168.200.1
                      AS path: 65566 I
                    > to 172.16.200.1 via xe-0/0/0.0
10.0.21.0/24   *[BGP/170] 00:45:17, MED 0, localpref 100, from 192.168.100.1
                      AS path: 65564 I
                    > to 172.16.100.1 via xe-0/0/1.0
 
 
You are here: Home / Knowledge Base / Juniper Routes Learned from a Specific Protocol