02-09-2018 09:07 AM - edited 03-05-2019 09:54 AM
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
02-09-2018 10:04 AM
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
02-09-2018 10:11 AM
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
02-09-2018 10:40 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide