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

NX-OS Automatic Route Tagging on Redistribution into IGP

j.a.m.e.s
Level 3
Level 3

Dear All,

 

I know that in IOS, when BGP is redistributed into an IGP (EIGRP, OSPF etc), the "prior AS" is set as a tag automatically. This is because when an eBGP route is learned the BGP process sets a tag on the BGP route, and that tag is just passed onto the IGP. This feature is described here: https://packetlife.net/blog/2009/jan/19/bgp-route-auto-tagging/

 

Does anyone know if NX-OS behaves the same way?

router eigrp X
 [...]
 redistribute bgp 65000 route-map RM-BGP-EIGRP
 [...]
exit

route-map RM-BGP-EIGRP permit 100
 description Permit All Remaining, but will last-as tag be auto-set?
exit

Many thanks

James.

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

 

Looks like it (tested with Eve-NG ) - 

 

IOS (using 3745s) - 

 

Routing entry for 3.3.3.0/24
Known via "eigrp 10", distance 170, metric 284160
Tag 65001, type external
Redistributing via eigrp 10
Last update from 192.168.3.5 on FastEthernet0/0, 00:00:16 ago
Routing Descriptor Blocks:
* 192.168.3.5, from 192.168.3.5, 00:00:16 ago, via FastEthernet0/0
Route metric is 284160, traffic share count is 1
Total delay is 1100 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
Route tag 65001

 

NXOS (using N9Ks) - 

 

3.3.3.0/24, ubest/mbest: 1/0
*via 192.168.3.5, Eth1/1, [170/51456], 00:01:23, eigrp-DCP, external, tag 65001

 

Jon

 

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

 

Looks like it (tested with Eve-NG ) - 

 

IOS (using 3745s) - 

 

Routing entry for 3.3.3.0/24
Known via "eigrp 10", distance 170, metric 284160
Tag 65001, type external
Redistributing via eigrp 10
Last update from 192.168.3.5 on FastEthernet0/0, 00:00:16 ago
Routing Descriptor Blocks:
* 192.168.3.5, from 192.168.3.5, 00:00:16 ago, via FastEthernet0/0
Route metric is 284160, traffic share count is 1
Total delay is 1100 microseconds, minimum bandwidth is 10000 Kbit
Reliability 255/255, minimum MTU 1500 bytes
Loading 1/255, Hops 1
Route tag 65001

 

NXOS (using N9Ks) - 

 

3.3.3.0/24, ubest/mbest: 1/0
*via 192.168.3.5, Eth1/1, [170/51456], 00:01:23, eigrp-DCP, external, tag 65001

 

Jon

 

Thanks a lot Jon.

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:

Review Cisco Networking products for a $25 gift card