BTW, if I do start working on the idea outlined in my previous message I'd most likely start with an implementation where PortGroups are installed globally in the post-destroot. Changing the lookup algorithm is one thing, adding a new command for PortGroup installation is another... R.