The following config is allowed, but the ipv6 route map is matching the IPv4 named one
policy { prefix-list TENLOCAL { rule 10 { action permit le 32 prefix 10.0.0.0/8 } rule 20 { action deny le 32 prefix 0.0.0.0/0 } } prefix-list6 TENLOCAL { rule 10 { action permit le 128 prefix 2001:dead:beef::/48 } rule 20 { action deny le 128 prefix ::/0 } } route-map TENLOCAL-OUT { rule 10 { action permit match { ip { address { prefix-list TENLOCAL } } } } } route-map TENLOCALv6-OUT { rule 10 { action permit match { ipv6 { address { prefix-list TENLOCAL } } } } } }