Is there a way to tag all vlans on a port on an HP Procurve, without typing them all out?
Posted on 2015-02-23
I'm implementing eight new HP procurve switches. In configuring them and doing all the tagged/untagged commands, I'm hoping to find a simpler way to tag all the vlans to certain ports.
We are putting some access points on some of the ports (differs for each switch). Since the APs handle multiple SSIDs and VLANs, I need to have those ports accept tagged traffic for all VLANs. On a Cisco switch, it's simple. Set it as a "Cisco trunk port" and you're good. For HP, you need to manually allow the tagged traffic on the ports for each vlan. That's fine, but I'm hoping there is a simpler way to allow ALL VLANs on a port, and not have to type out each VLAN. This inevitably leads to forgetting one, misstyping one, and much frustration.
So, currently, this is roughly what I do to set it up like Cisco (with made up VLANs):
int 2-9 (interface ports 2-9)
tagged vlan 1,4,6,12,20,30,50,80,130,210
I don't want to type out that VLAN string every time I configure a switch or add a new "trunk" port.
I've tried the following, but neither work:
tagged vlan 1-210
this one fails, saying vlan 2 doesn't exist
tagged vlan all
this one fails with unkown input: all