Current situation: We currently use Cisco ASR 1002x as our head-end for a hub and spoke Metro-E topology supporting about 40 remote sites. These sites were originally going to be moved to a subinterface configured ASR for the purpose of more control per site and the ability to do per-site shaping at the egress.

Our new situation is this: VSP 9000 as headend router, using multiple VLAN interfaces on a single gigabit port, something like this:

On the remote site, I will be running an ERS 4850 with an Advanced License with OSPF support, using area 1, possibly converting it to a stub. The reasoning behind area 1 is because of the 512 route entry limitation of the 4850 (So I can summarize my backbone to them).

My goal is to shape at a subinterface (Per-vlan P2P interface) level, however the if-shaper option is not there. Does anyone have any insight on how I could do this?

OSPF Areas have nothing to do with route table sizes. And, if you are on 5.9.X, there are 2000 routes in the table.Areas are meant for you to summarize networks behind. For example, you might have an area 0.0.0.64, with all networks from 10.0.0.0 to 10.63.255.255 in it. You summarize at the transition point to area 0.0.0.0, so only one route is injected into the backbone network of 0.0.0.0.

To shape the networks, you can apply a policy on the ports.We don't have any VSP9000's here, but on the ERS switches, you can create shaper policies like:Per port:qos if-queue-shaper port 1/1 queue 1 name "Sec MGMT 1" shape-rate 768 shape-min-rate 512

This way, I can control their routing interfaces on a per spoke basis.

What I was asking is to apply a shaper on the HEADEND on the VLAN interface, as having a 500M headend but a 10 or 100M spoke with shaping on the spoke but a 500M shaper on the hub physical port is not optimal. I wanted to shape on a per VLAN interface P2P basis so the shaping is optimal bi-directionally.