> Someone referred me to NSH which is exactly what I was thinking of. No, NSH is now what you are thinking of at all.
You are asking for something which nests the *entire heirarchy* of command structure to control interfaces and stuff PLUS pf... but NSH cannot do that in the 'natural way' you ask for. pf is not designed to match that model.