Discussion:
[c-nsp] IOS-XR next-hop self with reflected routes
Grzegorz Janoszka
2012-06-19 11:22:15 UTC
Permalink
I have encountered a problem configuring route announcements on IOS-XR.
In just a plain IOS (c6500 ie) setting next-hop self at the bgp peer
doesn't affect reflected routes, however it can be overwritten with the
outgoing route-map.
In IOS-XR the route-policy with "set next-hop self" doesn't seem to
affect at all reflected routes.
I know I can overwrite it on the receiving side, but any way to change
the next-hop of reflected routes in IOS-XR?
--
Grzegorz Janoszka

_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Natambu Obleton
2012-06-19 13:20:43 UTC
Permalink
You can't use next-hop-self with a route-reflector configuration. You need to set the next-hop with a route-map.

BGP Next Hop Propagation [Cisco IOS Software Releases 12.2 S] - Cisco Systems
http://lnk4.us/2srD
Post by Grzegorz Janoszka
I have encountered a problem configuring route announcements on IOS-XR.
In just a plain IOS (c6500 ie) setting next-hop self at the bgp peer
doesn't affect reflected routes, however it can be overwritten with the
outgoing route-map.
In IOS-XR the route-policy with "set next-hop self" doesn't seem to
affect at all reflected routes.
I know I can overwrite it on the receiving side, but any way to change
the next-hop of reflected routes in IOS-XR?
--
Grzegorz Janoszka
_______________________________________________
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
chip
2012-06-19 14:02:03 UTC
Permalink
add "ibgp policy out enforce-modifications" in the global bgp config
and then implement the policy like so:

route-policy RR-IBGP-PEER-OUT($loopback0)
if community matches-every PRESERVE-NEXTHOP then
pass
else
set next-hop $loopback0
endif
end-policy

At least, I think that's what you're trying to do...

--chip
Post by Grzegorz Janoszka
I have encountered a problem configuring route announcements on IOS-XR.
In just a plain IOS (c6500 ie) setting next-hop self at the bgp peer
doesn't affect reflected routes, however it can be overwritten with the
outgoing route-map.
In IOS-XR the route-policy with "set next-hop self" doesn't seem to
affect at all reflected routes.
I know I can overwrite it on the receiving side, but any way to change
the next-hop of reflected routes in IOS-XR?
--
Grzegorz Janoszka
_______________________________________________
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
--
Just my $.02, your mileage may vary,  batteries not included, etc....

_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Grzegorz Janoszka
2012-06-19 14:08:32 UTC
Permalink
Post by chip
add "ibgp policy out enforce-modifications" in the global bgp config
Thanks, that is it! Unfortunately the command name is a little bit
confusing, I was trying to find it, but I was checking the commands
starting with "bgp", no idea why they called it so different.

Cisco doc's are really not helpful:
http://www.cisco.com/en/US/docs/routers/crs/software/crs_r4.1/routing/command/reference/b_routing_cr41crs_chapter_01.html#wp473953414

Do you know which other attributes it allows to change except the next-hop?
--
Grzegorz Janoszka


_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Michal Grzybczyk ( GMAIL )
2012-06-21 09:42:48 UTC
Permalink
Hi,

I have interesting behavior when I test my MPLS configuration
on ASR 9000.
Cisco IOS XR Software, Version 4.2.0[Default]

I tried to ping between ASRs inside VRF, creating some Loopback interfaces
simulating CE side and it failed. I was workng on it some days,
configurations
looks good and nothing.
Some inspiration push me to create it on physical interface and it works !


Do you know any trick to solve or it is bug in software or it is normal
on ASR
and this will never change ?


Best Ragards,
grzybek
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
adam vitkovsky
2012-06-21 10:58:54 UTC
Permalink
Jut some thoughts
Do you see the label allocated and propagated along with the loopback
prefix?
Maybe it has something to do with the per-ce allocation mode -maybe it
doesn't consider loopbacks as next hops wit this mode on so it doesn't
allocate labels? But this mode is not on by default

adam
-----Original Message-----
From: cisco-nsp-***@puck.nether.net
[mailto:cisco-nsp-***@puck.nether.net] On Behalf Of Michal Grzybczyk (
GMAIL )
Sent: Thursday, June 21, 2012 11:43 AM
To: Cisco-NSP
Subject: [c-nsp] IOS-XR - ICMP inside MPLS between LOOPBACKs int

Hi,

I have interesting behavior when I test my MPLS configuration on ASR 9000.
Cisco IOS XR Software, Version 4.2.0[Default]

I tried to ping between ASRs inside VRF, creating some Loopback interfaces
simulating CE side and it failed. I was workng on it some days,
configurations looks good and nothing.
Some inspiration push me to create it on physical interface and it works !


Do you know any trick to solve or it is bug in software or it is normal
on ASR
and this will never change ?


Best Ragards,
grzybek
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Michal Grzybczyk ( GMAIL )
2012-06-21 13:12:39 UTC
Permalink
Yes, I can see label on loopback prefix.

grzybek
Post by adam vitkovsky
Jut some thoughts
Do you see the label allocated and propagated along with the loopback
prefix?
Maybe it has something to do with the per-ce allocation mode -maybe it
doesn't consider loopbacks as next hops wit this mode on so it doesn't
allocate labels? But this mode is not on by default
adam
-----Original Message-----
GMAIL )
Sent: Thursday, June 21, 2012 11:43 AM
To: Cisco-NSP
Subject: [c-nsp] IOS-XR - ICMP inside MPLS between LOOPBACKs int
Hi,
I have interesting behavior when I test my MPLS configuration on ASR 9000.
Cisco IOS XR Software, Version 4.2.0[Default]
I tried to ping between ASRs inside VRF, creating some Loopback interfaces
simulating CE side and it failed. I was workng on it some days,
configurations looks good and nothing.
Some inspiration push me to create it on physical interface and it works !
Do you know any trick to solve or it is bug in software or it is normal
on ASR
and this will never change ?
Best Ragards,
grzybek
_______________________________________________
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
Pshem Kowalczyk
2012-06-21 22:03:27 UTC
Permalink
Hi,
Post by Michal Grzybczyk ( GMAIL )
Hi,
I have interesting behavior when I test my MPLS configuration
on ASR 9000.
Cisco IOS XR Software, Version 4.2.0[Default]
I tried to ping between ASRs inside VRF, creating some Loopback interfaces
simulating CE side and it failed. I was workng on it some days,
configurations
looks good and nothing.
Some inspiration push me to create it on physical interface and it works !
Do you know any trick to solve or it is bug in software or it is normal on
ASR
and this will never change ?
Do you have

icmp ipv4 source vrf

in your config? I have used it cases when the vrf had no physical
interfaces up to make ICMP work.

kind regards
Pshem
_______________________________________________
cisco-nsp mailing list cisco-***@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Loading...