Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Route-map sequence match issue

Hi All,

Configuration is same, but I have sequence match issue.

#sh ip ro 10.1.1.0
Routing entry for 10.1.1.0/24
  Known via "static", distance 1, metric 0
  Tag 2
  Redistributing via bgp 1
  Advertised by bgp 1 route-map static-to-bgp
  Routing Descriptor Blocks:
  * 1.1.1.1, via GigabitEthernet2/31
      Route metric is 0, traffic share count is 1
      Route tag 1
    1.1.1.5, via GigabitEthernet2/30
      Route metric is 0, traffic share count is 1
      Route tag 2

#sh ip ro 20.1.1.0
Routing entry for 20.1.1.0/24
  Known via "static", distance 1, metric 0
  Tag 1
  Redistributing via bgp 1
  Advertised by bgp 1 route-map static-to-bgp
  Routing Descriptor Blocks:
  * 1.1.1.5, via GigabitEthernet2/30
      Route metric is 0, traffic share count is 1
      Route tag 1
    1.1.1.1, via GigabitEthernet2/31
      Route metric is 0, traffic share count is 1
      Route tag 2

ip route 10.1.1.0 255.255.255.0 GigabitEthernet2/31 1.1.1.1 tag 1
ip route 10.1.1.0 255.255.255.0 GigabitEthernet2/30 1.1.1.5 tag 2
ip route 20.1.1.0 255.255.255.0 GigabitEthernet2/30 1.1.1.5 tag 1
ip route 20.1.1.0 255.255.255.0 GigabitEthernet2/31 1.1.1.1 tag 2

route-map static-to-bgp, permit, sequence 10
  Match clauses:
    tag 2
  Set clauses:
    metric 20
  Policy routing matches: 0 packets, 0 bytes
route-map static-to-bgp, permit, sequence 20
  Match clauses:
    tag 1
  Set clauses:
    metric 10
  Policy routing matches: 0 packets, 0 bytes

Both 10.1.1.0/24 and 20.1.1.0/24 shuld be tag 2 because sequence 10 is fast thsn 20 ??

  • WAN Routing and Switching
Everyone's tags (4)
165
Views
0
Helpful
0
Replies