Switches, Hubs, and Modems
1752785 Members
6094 Online
108789 Solutions
New Discussion юеВ

Re: creating a new vlan.

 
SOLVED
Go to solution
Darren Poh_1
Frequent Advisor

creating a new vlan.

Hi,

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

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.

Matt
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.

Hi

- Assing Static IP to a Vlan:

3400(config)# vlan 2 ip address 192.168.2.1 255.255.255.0

- Gateway Settings on the Switch:

3400(config)#ip default-gateway 192.168.1.1

- 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