BGP Community String Sequence Order

Folks,

I am setting BGP community under route-map in decreasing order viz. 500 300 200. But on checking the route-map (under sh run) I could see that it gets arranged in increasing order viz. 200 300 500 automatically. 

I do not want to change its sequential order (decreasing order). Is there any command, which can maintain the actual order.

The actual problem comes when the same increasing order gets reflected in the sh ip bgp prefix output.

 

Please check configuration and the output below:

Actual Configuration:


R1(config-router)#route-map 
SET_COMMUN permit 10

R1(config-route-map)#set community 500 300 200

Changed Configuration:


R1(config-router)#do sh run | s route-map

route-map SET_COMMUN permit 10

 set community 200 300 500


Comments

Sign In or Register to comment.