Routing
Routing

"show route 10.10.10.0/24 detail"

05.10.17   |  
‎05-10-2017 08:32 AM

Hi Can we know whether the route 10.10.10.0/24 is advertised from the below command? Thank you

 

"show route 10.10.10.0/24 detail"

 

 

 

3 REPLIES
Highlighted
Routing
Solution
Accepted by topic author eesunj
‎05-14-2017 06:41 PM

Re: "show route 10.10.10.0/24 detail"

05.10.17   |  
‎05-10-2017 01:18 PM

Providing I understand your query correctly then yes - If you look out for "Announcement bits" it indicates that the route is being consumed by a protocol. If you don't see the "Announcement bits" field then there are no protocols consuming the route - however, you still might see the field in certain scenarios. 

 

The following indicates the route is being consumed by BGP(3-BGP_RT_Background) and is used for route resolution(4-Resolve tree):

 

darth@vader-mx80# run show route 10.0.255.3/32 detail 

inet.0: 10 destinations, 10 routes (10 active, 0 holddown, 0 hidden)
10.0.255.3/32 (1 entry, 1 announced)
        *Direct Preference: 0
                Next hop type: Interface, Next hop index: 0
                Address: 0x5490fd0
                Next-hop reference count: 1
                Next hop: via lo0.0, selected
                State: <Active Int>
                Local AS: 65003 
                Age: 2w6d 8:56:53 
                Validation State: unverified 
                Task: IF
                Announcement bits (2): 3-BGP_RT_Background 4-Resolve tree 2 
                AS path: I

The following I have deactivated bgp process and you can see the "Announcement bits" field is omitted:

 

darth@vader-mx80# run show route 10.0.255.3/32 detail    

inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
10.0.255.3/32 (1 entry, 0 announced)
        *Direct Preference: 0
                Next hop type: Interface, Next hop index: 0
                Address: 0x5490fd0
                Next-hop reference count: 1
                Next hop: via lo0.0, selected
                State: <Active Int>
                Local AS: 65003 
                Age: 2w6d 8:57:12 
                Validation State: unverified 
                Task: IF
                AS path: I

 

Hope this helps Smiley Happy 

Routing

Re: "show route 10.10.10.0/24 detail"

05.10.17   |  
‎05-10-2017 03:13 PM

Also if you look at this article, you will note the source of the route

https://www.juniper.net/documentation/en_US/junos/topics/reference/command-summary/show-route-detail...

e.g.

static, ospf, direct, etc.

[KUDOS PLEASE! If you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]
Routing

Re: "show route 10.10.10.0/24 detail"

05.14.17   |  
‎05-14-2017 06:41 PM

Very good. Thank you