[c-nsp] R: mpls + ipv4 route

Matteo Abrile m.abrile at itelsi.com
Sat May 1 16:01:18 EDT 2010


>For some reason BGP is leaking prefixes to IGP, or there's some problem
>with the IGP deployment itself.
Now I know reason because bgp goes into mpls route, we use also ibgp between our core router, and as you tell that mpls by default assign label every route learn IGP.
What is way to stop learn by mpls of ibgp ??

>Can you show us output of 'sh ip route summary' and the config snippets
>of both any IGP configured on the box and BGP without neighbor-specific
>settings? I'd say anything with 'mpls' will also be useful.
sh ip route summary
IP routing table name is Default-IP-Routing-Table(0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Overhead    Memory (bytes)
connected       0           11          792         1584
static          2           1           216         432
ospf 1234       2           120         8784        17568
  Intra-area: 24 Inter-area: 0 External-1: 0 External-2: 98
  NSSA External-1: 0 NSSA External-2: 0
bgp 1234        136929      178004      22675176    46212920
  External: 312639 Internal: 2294 Local: 0
internal        3663                                8014644
Total           140596      178136      22684968    54247148
Removing Queue Size 0

This is extract of config:

mpls ldp neighbor 10.0.0.11 labels accept LDP-MPLS
mpls ldp discovery targeted-hello accept from LDP-MPLS
mpls ldp advertise-labels for LDP-MPLS
mpls label range 50 524000
mpls label protocol ldp

router ospf 1234
 log-adjacency-changes
 redistribute static subnets
 passive-interface Vlan1001
 passive-interface GigabitEthernet2/1
 passive-interface FastEthernet3/3
 passive-interface FastEthernet3/5
 passive-interface FastEthernet3/6
 network 10.0.0.10 0.0.0.0 area 200
 network XXX 0.0.0.3 area 0
 network XXX 0.0.0.3 area 200
 network XXX 0.0.0.3 area 200
 network XXX 0.0.0.3 area 200
 network XXX 0.0.0.3 area 0
 network XXX 0.0.0.3 area 0
 network XXX 0.0.0.15 area 200
 network XXX 0.0.0.15 area 200
 network XXX 0.0.0.15 area 200
 network XXX 0.0.0.255 area 200
 network XXX 0.0.0.3 area 200
 network XXX.72 0.0.0.3 area 200
 network XXX 0.0.1.255 area 200
 default-information originate always

router bgp 1234
 no bgp enforce-first-as
 bgp log-neighbor-changes
 neighbor CUSTOMERS peer-group
 neighbor CUSTOMERS version 4
 neighbor PEER-M peer-group
 neighbor PEER-M update-source FastEthernet3/6
 neighbor PEER-M version 4
 neighbor PEER-M-V6 peer-group
 neighbor PEER-M-V6 update-source FastEthernet3/6
 neighbor PEER-M-V6 version 4
 neighbor 10.0.0.11 remote-as 1234
 neighbor 10.0.0.11 update-source Loopback0
 neighbor 10.0.0.11 version 4
 neighbor 10.0.0.12 remote-as 1234
 neighbor 10.0.0.12 update-source Loopback0
 neighbor 10.0.0.12 version 4
 neighbor 10.0.0.14 remote-as 1234
 neighbor 10.0.0.14 update-source Loopback0
 neighbor 10.0.0.14 version 4
 neighbor 10.0.0.15 remote-as 1234
 neighbor 10.0.0.15 update-source Loopback0
 neighbor 10.0.0.15 version 4
 address-family ipv4
  neighbor PEER-M remove-private-as
  neighbor PEER-M soft-reconfiguration inbound
  neighbor PEER-M prefix-list AS1234-OUT out
  neighbor PEER-M route-map M-IN in
  neighbor 10.0.0.11 activate
  neighbor 10.0.0.11 send-community both
  neighbor 10.0.0.11 next-hop-self
  neighbor 10.0.0.11 soft-reconfiguration inbound
  neighbor 10.0.0.11 prefix-list AS1234-OUT out
  neighbor 10.0.0.11 route-map IBGP-A-IN in
  neighbor 10.0.0.11 send-label
  neighbor 10.0.0.12 activate
  neighbor 10.0.0.12 send-community both
  neighbor 10.0.0.12 next-hop-self
  neighbor 10.0.0.12 soft-reconfiguration inbound
  neighbor 10.0.0.12 route-map IBGP-B-IN in
  neighbor 10.0.0.12 send-label
  neighbor 10.0.0.12 filter-list 1 out
  neighbor 10.0.0.14 activate
  neighbor 10.0.0.14 send-community both
  neighbor 10.0.0.14 next-hop-self
  neighbor 10.0.0.14 soft-reconfiguration inbound
  neighbor 10.0.0.14 prefix-list AS1234-OUT out
  neighbor 10.0.0.14 route-map IBGP-C-IN in
  neighbor 10.0.0.14 send-label
  neighbor 10.0.0.15 activate
  neighbor 10.0.0.15 send-community both
  neighbor 10.0.0.15 next-hop-self
  neighbor 10.0.0.15 soft-reconfiguration inbound
  neighbor 10.0.0.15 prefix-list AS1234-OUT out
  neighbor 10.0.0.15 route-map IBGP-D-IN in
  distance bgp 200 190 190
  no auto-summary
  no synchronization
  network XX mask 255.255.240.0
  network XX mask 255.255.254.0
 exit-address-family

Thanks very much

Matteo





More information about the cisco-nsp mailing list