cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2411
Views
0
Helpful
2
Replies

Problem with route-policy and taging

Kramerz132
Beginner
Beginner

Hey!

I'm trying to apply the following configuration but are receving the follow error:

!!% Policy [aggregate-routes] uses the 'tag' attribute. There is no 'tag' attribute at the bgp aggregation-dflt attach point.

route-policy aggregate-routes
  set community test
  set community test1
  if tag eq 1000 then
    set community (65000:1,65000:2,65000:3)
  endif
end-policy
!
 

router static
 address-family ipv4 unicast
  10.1.1.0/24 Null0 tag 1000 
  
  router bgp 65000
 address-family ipv4 unicast
  aggregate-address 10.1.1.0/24 route-policy aggregate-routes

 

 

2 Accepted Solutions

Accepted Solutions

Vasilii Mikhailovskii
Rising star
Rising star

Hello.

Please find set/match attributes per attach point in the following document - http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-2/routing/configuration/guide/b_routing_cg42asr9k/b_routing_cg42asr9k_chapter_0110.html#con_1240966

Match tag is not supported for the attach point.

View solution in original post

xthuijs
Cisco Employee
Cisco Employee

hi there,

this pic may help:

https://supportforums.cisco.com/sites/default/files/legacy/1/8/7/141781-attacpoint.PNG

from:

https://supportforums.cisco.com/document/88676/asr9000xr-understanding-and-using-rpl-route-policy-language

 

The TAG can be used for table operations that touch the RIB, the agg route operation has no knowledge about the RIB (it only knows the BGP table) hence that tag value can't be used in that facinity.

cheers

xander

View solution in original post

2 Replies 2

Vasilii Mikhailovskii
Rising star
Rising star

Hello.

Please find set/match attributes per attach point in the following document - http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-2/routing/configuration/guide/b_routing_cg42asr9k/b_routing_cg42asr9k_chapter_0110.html#con_1240966

Match tag is not supported for the attach point.

xthuijs
Cisco Employee
Cisco Employee

hi there,

this pic may help:

https://supportforums.cisco.com/sites/default/files/legacy/1/8/7/141781-attacpoint.PNG

from:

https://supportforums.cisco.com/document/88676/asr9000xr-understanding-and-using-rpl-route-policy-language

 

The TAG can be used for table operations that touch the RIB, the agg route operation has no knowledge about the RIB (it only knows the BGP table) hence that tag value can't be used in that facinity.

cheers

xander

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: