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

ASR1002 3.16.6S route-map issue

russell.sage
Level 1
Level 1

I have a pair of mpls routers running BGP and redistributing routes into EIGRP.

The redistribution is controlled via a route-map

The route-map has a match statement based on bgp community tags

 

router eigrp 1
 default-metric 100000 100 255 1 1500
 network 10.3.128.53 0.0.0.0
 network 10.80.95.148 0.0.0.0
 network 10.80.95.156 0.0.0.0
 network 213.12.66.178 0.0.0.0
 redistribute bgp 65139 route-map bgp->eigrp

 

route-map bgp->eigrp permit 5
 match ip address prefix-list eem-leak-2
 set metric 100
 set tag 4445
!
route-map bgp->eigrp deny 10
 match community cw-mgt-routes
!
route-map bgp->eigrp deny 20
 match community local-eigrp-routes
!
route-map bgp->eigrp permit 30
 match community cw-voice-subnets XXXXXX-voice-subnets
 set metric 100000 50 255 1 1500
 set tag 4445
!
route-map bgp->eigrp permit 40
 set tag 4445

 

Named Community standard list cw-voice-subnets
    permit 1:10
    permit 1:20

Named Community expanded list XXXXXX-voice-subnets
    permit _65139:1([0-9][1-9])_

 

My question is if the prefix being redistributed has a tag of 7100

sh ip bgp 10.232.250.0/24
BGP routing table entry for 10.232.250.0/24, version 8198
Paths: (1 available, best #1, table default)
  Not advertised to any peer
  Refresh Epoch 1
  4445 4445, (received & used)
    10.3.242.245 from 10.3.242.245 (63.130.108.8)
      Origin incomplete, localpref 100, valid, external, best
      Community: 1:10 152:111 65139:7100
      Extended Community: RT:4445:115 RT:4445:702000
      rx pathid: 0, tx pathid: 0x0

Should this not be redistributed with the default metric defined under the EIGRP process or should the permit 40 entry of the route-map have the default metric defined.

3 Replies 3

You are correct: if it is an eBGP route that is being redistributed, it should get the default metric

If you are redistributing iBGP routes, configure 'bgp redistribute-internal' under the BGP process...

Thanks George

Hello

 


@russell.sage wrote:

router eigrp 1
 default-metric 100000 100 255 1 1500

 redistribute bgp 65139 route-map bgp->eigrp


route-map bgp->eigrp permit 40
 set tag 4445

 

 

My question is if the prefix being redistributed has a tag of 7100

sh ip bgp 10.232.250.0/24
BGP routing table entry for 10.232.250.0/24, version 8198
Paths: (1 available, best #1, table default)
  Not advertised to any peer
  Refresh Epoch 1
  4445 4445, (received & used)
    10.3.242.245 from 10.3.242.245 (63.130.108.8)
      Origin incomplete, localpref 100, valid, external, best
      Community: 1:10 152:111 65139:7100
      Extended Community: RT:4445:115 RT:4445:702000
      rx pathid: 0, tx pathid: 0x0

 

Should this not be redistributed with the default metric defined under the EIGRP process or should the permit 40 entry of the route-map have the default metric defined.


 

It will take the default metric values applied in the eigrp process, Unless as you have queried, You set different values with either the redistribute command or in the route-map stanza, both of which which will override the default metric values stated in the eigrp process.

res
Paul

 

 

 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card