cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
277
Views
0
Helpful
2
Replies
Highlighted
Beginner

NX-OS Automatic Route Tagging on Redistribution into IGP

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.

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Guru

Re: NX-OS Automatic Route Tagging on Redistribution into IGP

 

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
Highlighted
Hall of Fame Guru

Re: NX-OS Automatic Route Tagging on Redistribution into IGP

 

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

Highlighted
Beginner

Re: NX-OS Automatic Route Tagging on Redistribution into IGP

Thanks a lot Jon.