Being that you're actually trying to configure virtual lans in the router, you have to approach it a bit differently. If you work in a switch, the VLAN or the VLAN database (deprecated) commands would be available to you. If you were
in a switching module, perhaps then the VLAN or VLAN database commands would also be available to you. However, since you are in a router you don't create VLANs, per se. You create sub interfaces that are looking for the shims or the tags that are inserted into the packets per the VLAN that have been created on the switch.
Perhaps I'm incorrect in the interpretation of what you're asking. But what it appears that what you are trying to do is "routing on a stick". You still configure routing on a stick when you have a switch module inserted into a router. Here's a link that hopefully will give you some insight, information and more illumination on this particular topic.
https://learningnetwork.cisco.com/docs/DOC-23481