So are you saying you need the equivalent of a inteface vlan for all these as well? Or are you trying to make these just l2 ports through the A9k?
As already mentioned the config example will work. It will be a lot of config work to get this for all those vlans. Is it not possible to terminate L3 on this port for those vlans or do you need multiple ports in those vlans, thus needing IRB?
Just becuase you are replacing a 6500 (switch) with an A9k (router) doesn't mean you can't change the over all design to leverage the capabilities of the newer platform.
The below doc describes how IRB adn the EVC model works in XR.
Introduction: The "external-out enable" command is available for
configuration under the "router ospf process" in case of the IOS-XR
operating system. This command basically enables advertisement of
intra-area routes on the device as external routes in th...
Introduction Basic configuration for netflow Scale parameters for
netflow Netflow support Architecture Packet flow for netflow Inside the
LC CPU Netflow Cache size, maintenance and memory Sample usage Cache
Size Aging Permanent cache Characteristics Which...