[f-nsp] Exported routes from VRF: lost BGP attributes
Alexander Shikoff
minotaur at crete.org.ua
Mon Sep 1 15:34:11 EDT 2014
On Mon, Sep 01, 2014 at 09:23:32PM +0200, Wouter Prins wrote:
> I was thinking about something like this:
> router bgp x
> address-family ipv4 vrf vrf-a
> redistribute connected
> address-familiy ipv4 vrf vrf-b
> redistribute connected
> address-family vpnv4 unicast
> I don't know if it works, but maybe you can try it on a testbox?
It seems that it didn't help.
Current config:
telnet at lsr1-gdr.ki#show run | b vrf
vrf Crimea-IX
rd 31210:39751
address-family ipv4
route-target export 31210:39751
route-target import 31210:31210
route-target import 31210:39751
import routes vrf DTEL-IX route-map rm-BGP-and-Direct
exit-address-family
exit-vrf
!
vrf DTEL-IX
rd 31210:31210
route-target import 31210:31210
address-family ipv4 max-route 30000
route-target export 31210:31210
route-target import 31210:31210
exit-address-family
exit-vrf
I.e. two VRFs and I need to import all routes from DTEL-IX to Crimea-IX.
BGP configuration now:
telnet at lsr1-gdr.ki#show run | b bgp
router bgp
local-as 31210
neighbor RS-DTEL-IX peer-group
neighbor RS-DTEL-IX remote-as 31210
neighbor RS-DTEL-IX next-hop-self
neighbor RS-DTEL-IX soft-reconfiguration inbound
address-family ipv4 unicast
neighbor RS-DTEL-IX route-map out rm-to-DTEL-IX
neighbor RS-DTEL-IX send-community
exit-address-family
address-family vpnv4 unicast
exit-address-family
address-family ipv4 unicast vrf Crimea-IX
redistribute connected
redistribute bgp
exit-address-family
address-family ipv4 unicast vrf DTEL-IX
neighbor 193.25.180.255 peer-group RS-DTEL-IX
neighbor 193.34.200.254 remote-as 39751
neighbor 193.34.200.254 soft-reconfiguration inbound
neighbor 193.25.180.255 send-community
neighbor 193.34.200.254 maximum-prefix 500 teardown
neighbor 193.34.200.254 route-map in rm-from-Crimea-IX
neighbor 193.34.200.254 route-map out rm-to-Crimea-IX
neighbor 193.34.200.254 send-community
redistribute connected
redistribute bgp
exit-address-family
And the same route is present in both VRFs but in Crimea-IX it lost
BGP attributes:
telnet at lsr1-gdr.ki#show ip bgp vrf DTEL-IX route detail 5.2.32.0/21
Number of BGP Routes matching display condition : 1
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
S:SUPPRESSED F:FILTERED s:STALE
1 Prefix: 5.2.32.0/21, Status: BI, Age: 10h59m35s
NEXT_HOP: 193.25.180.81, Metric: 0, Learned from Peer: 193.25.180.255 (31210)
LOCAL_PREF: 100, MED: none, ORIGIN: igp, Weight: 0
AS_PATH: 29076 5563 41560 41560
COMMUNITIES: 29076:900 29076:50000 29076:50030 29076:52001 29076:52003 31210:29076
Extended Community: SOO 31210:29076
Adj_RIB_out count: 1, Admin distance 200
Last update to IP routing table: 10h59m35s, 1 path(s) installed:
Route is advertised to 1 peers:
193.34.200.254(39751)
telnet at lsr1-gdr.ki#show ip bgp vrf Crimea-IX route detail 5.2.32.0/21
Number of BGP Routes matching display condition : 1
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
S:SUPPRESSED F:FILTERED s:STALE
1 Prefix: 5.2.32.0/21, Status: BL, Age: 0h6m0s
NEXT_HOP: 193.25.180.81, Learned from Peer: Local Router
LOCAL_PREF: 100, MED: 0, ORIGIN: incomplete, Weight: 32768
AS_PATH:
Route is not advertised to any peers
--
MINO-RIPE
More information about the foundry-nsp
mailing list