Switches, Hubs, and Modems
Showing results for 
Search instead for 
Did you mean: 

creating a new vlan.

Go to solution
Darren Poh_1
Frequent Advisor

creating a new vlan.


I need the CLi to create a vlan for port 4 and on my procurve 3400cl switches. Please help. Thanks.
Matt Hobbs
Honored Contributor

Re: creating a new vlan.

Hi Darren,

In the most basic sense:

3400# config
3400(config)# vlan 2
3400(vlan-2)# untagged 4
3400(vlan-2)# write mem

This will put port 4 into VLAN 2 as an untagged member.

For more information refer to the VLAN chapter in the Advanced Traffic Management Guide - ftp://ftp.hp.com/pub/networking/software/6400-5300-3400-AdvTrafficMgmt-Oct2005-59906051.pdf

Don't forget to assign points.

Darren Poh_1
Frequent Advisor

Re: creating a new vlan.

many thanks,

how about setting a static ip, gateway and routing table for the vlan?
Mohieddin Kharnoub
Honored Contributor

Re: creating a new vlan.


- Assing Static IP to a Vlan:

3400(config)# vlan 2 ip address

- Gateway Settings on the Switch:

3400(config)#ip default-gateway

- Enable Routing between Vlans:

3400(config)# IP routing.

Note: In case of enable IP routing, there is no need for default gateway since your Switch has became a Routing Switch, anyway you will get a warn from the switch.

Don't forget to assing points.
Science for Everyone