The way cisco does it is, you set a port as a trunk and ALL vlans will egress that trunk port. If you want to restrict the vlans that egress that trunk, you explicitly deny that to pass through the trunk with filtering. Extreme / Enterasys and most everyone else... you simply just add each vlan to the port by tagging it.
So for enterasys:
set vlan egree 2,3,4,5,6,7,8,9,10 ge.1.1 tagged
That would be similar to
switchport encap dot1q
switchport mode trunk
On the cisco side, I would have to chop off vlan 4 and 5 from being egressed if I didn't want them to go over the trunk, everyone else you just simply don't include those vlans when tagging them on the port.
That being said, you need to be sure to tag the vlans on the uplinks and everyone inbetween. Cisco makes it easy, but it is less secure by default.