I ran into a strange route redistribution behavior on 7k running NX-OS 6.04
When I redistribute using route-map, the routing process automatically distributes my loopback interfaces, even though they are not part of the route-map. Here is an example:
feature eigrp
feature bfd
route-map TEST permit 10
match interface Vlan4 Vlan41 Vlan42
router eigrp 1
bfd
autonomous-system 1
redistribute direct route-map TEST
interface Ethernet4/3
ip router eigrp 1
no ip redirects
The routing table on the neighboring 7k:
N7K-18# show ip route eigrp-1
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
10.0.2.3/32, ubest/mbest: 1/0
*via 10.4.1.21, Eth4/5, [170/51456], 00:28:40, eigrp-1, external
10.0.2.4/32, ubest/mbest: 1/0
*via 10.4.1.21, Eth4/5, [170/51968], 00:04:06, eigrp-1, external
10.1.40.0/22, ubest/mbest: 1/0
*via 10.4.1.21, Eth4/5, [90/51456], 00:24:27, eigrp-1, internal
10.4.1.8/30, ubest/mbest: 1/0
*via 10.4.1.21, Eth4/5, [90/768], 00:17:26, eigrp-1, internal
10.4.1.12/30, ubest/mbest: 1/0
*via 10.4.1.21, Eth4/5, [90/1024], 00:17:24, eigrp-1, internal
10.10.10.0/24, ubest/mbest: 1/0
*via 10.4.1.21, Eth4/5, [90/3328], 00:17:24, eigrp-1, internal
The first 2 entries in the routing table are loopback interfaces of my original switch. If I configure multiple loopbacks, all of them get distributed. If I remove "redistribute direct route-map TEST" from eigrp process, the loopbacks stop being distributed. It looks like a bug, but I couldn't find anything filed with Cisco.