cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
3
Replies

Advertising interface routes

froggy3132000
Level 3
Level 3

Is there an equivalent to the junos command?

 

jtac@Router-RE0# show routing-options 
interface-routes {
         family inet {
               export {
                       lan;
                       point-to-point;
                      }
            }
}

 

reference link

https://kb.juniper.net/InfoCenter/index?page=content&id=KB16724

3 Replies 3

chrihussey
VIP Alumni
VIP Alumni

Yes you can advertise the interface (connected) routes into BGP by using the redistribute command. You can also filter the routes you choose to advertise by using the command with the route-map extension. Below is a simple example:

 

!
access-list 10 permit 10.10.10.0 0.0.0.255
!
route-map bgp-redist permit 10
 match ip address 10
!

router bgp 65001
 redistribute connected route-map bgp-redist

!

 

Hope this helps

I am looking for the interface route itself.  So in cisco terminology it would be the "local" route

 

interface FastEthernet0

ip address 10.1.255.1 255.255.255.0

 

 

so the routing table would be

 

L 10.1.255.1/32

 

in Junos you can advertise the /32 interface route.

 

I am looking if this is possible in IOS-XE

Oh, sorry I misunderstood.

No, I don't think you can. I checked on IOS, NX-OS and IOS-XE. It just doesn't seem to be an option.

Read the end of the attached URL, I think it will clear things up for you.

 

https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/116264-technote-ios-00.html

 

Regards

Review Cisco Networking products for a $25 gift card