01-25-2020 11:35 AM
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.
Solved! Go to Solution.
01-26-2020 12:28 PM
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
01-26-2020 12:28 PM
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
01-27-2020 03:00 AM
Thanks a lot Jon.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide