Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vlans on a 2526T, what option to use? 2

Status
Not open for further replies.

tlpeter

Programmer
Dec 5, 2005
27,844
NL
Hello,

I am totally new to the Nortel/Avaya 2500 range switches.
I need to have 2 vlans, 1 for data and 1 for voice.
That is no problem at all but i cannot seem to find whih setting is used to tag vlan 2 to a port and untag vlan 1 for the same port.
The phones will use vlan 2 and the pc's will use vlan 1.

I am a bit confused which commands to use in the CLI or how to do it from the web interface (i prefer the CLI, then i can have a look in the web interface later)

Thanks,

Peter

BAZINGA!

I'm not insane, my mother had me tested!
 
Sorry, got interrupted. What I meant was, look at the config for the default VLAN to give you clues.

Here is a 2526 config, just the lines relating to VLANs:

! *** VLAN ***
!
vlan configcontrol flexible
vlan name 1 "VLAN #1"
vlan ports 1-28 tagging unTagAll filter-untagged-frame disable filter-unregistered-frames enable priority 0
vlan members 1 1-28
vlan ports 1-28 pvid 1
vlan igmp 1 snooping disable
vlan igmp 1 proxy disable robust-value 2 query-interval 125
vlan mgmt 1


so, this is what I would do

vlan create 2 name "voice" type port
vlan ports 1-28 tagging untagpvidonly
vlan members 2 1-28

Not as user-friendly as others.

 
Thanks,

I still havenn't got it working but i ran out of time.
I will try later and see what i am doing wrong.


BAZINGA!

I'm not insane, my mother had me tested!
 
You will also need to IP-terminate each subnet (VLAN) somewhere - the "default GW" for that subnet.
I can't remember if the 2500s are Layer-3 switches. I think they aren't? In that case you need to use a router.
 
2500s can do layer 3 if they are on software 4.2 or higher. They can only do static routing, no RIP or OSPF, but it should do the job for routing between a couple VLANs.
 
They are (i have a 2526 and a 2550) 4.3 as far as i can remember.
I will spend some time on it next week.
I am very busy at the moment so it has to wait.

I think i had a port tagged while it should be untagged :)
I will let you know how it went.


BAZINGA!

I'm not insane, my mother had me tested!
 
You just need to set the port pvid to the data vlan and then set all ports to untagPvidOnly. This will allow untagged data traffic and tagged voice traffic.

You have the right command "vlan ports" you just used it twice.
 
I think i did.
The point is that my IP Office (avaya ip pbx) gave out an ip address in the data vlan instead of the voice vlan.
I believe i forgot the put the pbx in an untagged voice vlan.


BAZINGA!

I'm not insane, my mother had me tested!
 
You need to setup your DHCP server correctly.

There is an option in the DHCP request from the phone to tell the DHCP server that it is a phone, the server will then reply with an address in the voice vlan and tell the phone to tag the traffic.
 
If you check the Avaya site there are some good IPT deployment guides which should explain this.
 
Hi Andy,

The problem is that i get an IP address from the voice vlan while i supposed to be in the data vlan :)

I did not have the time yet to play with it again.
I must say that i like the way HP works is much better.
But i am not giving up (yet)


BAZINGA!

I'm not insane, my mother had me tested!
 
You need to look at the DHCP server configuration, as it is assigning voice ip address to PC's. The switches play no part in this, as they only fwd the dhcp requests. unfortunately i have no real experience of DHCP servers so cannot help with the setup.
 
I think you do not get what i want to build :)

I want one network with a DHCP server (data vlan) and i want a second network with a DHCP server (voice vlan)

So i need port 1 untagged in the data vlan and port 2 untagged in the voice vlan.

Then all port must be untagged in vlan 1 and tagged in vlan 2.
But some how i still getting dhcp from the data lan on port 2.

Ofcourse i am doing it wrong but i am confused about which options to use.



BAZINGA!

I'm not insane, my mother had me tested!
 
Something like the below should work from a factory start of the switch. if you already built VLAN 2, ignore the first line


vlan create 2 type port
vlan configcontrol flexible

vlan port 1-2 tagging untagall
vlan member add 1 all
vlan member add 2 2-24
vlan member remove 1 2
vlan port 1 pvid 1
vlan port 2 pvid 2
vlan port 2-24 tagging untagpvid
vlan port 3-24 pvid 1
vlan mgmt 1

Port 1 will be untagged in the data vlan, port 2 will be untagged in the voice vlan, ports 3-24 will have their native VLAN be the data VLAN, and the voice VLAN will be present on ports 3-24 and will accept tagged frames from the phones.

If you're routing on this switch, do something like this:

ip routing
ip address switch X.X.X.X 255.255.255.0 (put in the IP of VLAN 1 and the proper subnet mask)
int vlan 2
ip address Y.Y.Y.Y 255.255.255.0 (put in the gateway IP for VLAN 2 for Y.Y.Y.Y)

ip route 0.0.0.0 0.0.0.0 Z.Z.Z.Z (Z.Z.Z.Z would be your firewall)


 
biv 343, i will try this later next week.
Thanks for the info.
I will let you know how it went.

BAZINGA!

I'm not insane, my mother had me tested!
 
Hope it works. You've helped me out in the IPO forum a time or two. Hope this will help return the favor.
 
:) would be nice.
That is why i love tek-tips, ther eis so much knowledge.
And a very wise told that you can't know it all, just know where to find it.


BAZINGA!

I'm not insane, my mother had me tested!
 
Hi biv343, it works :)

I have another question.
I cannot get the two switches in a stack.
I am not sure i do the right thing.

I do on both switches:

stack forced-mode
save config
reload
But the it tells me that i need to save the config.
when i do it again and do a reload it tells me it is already doing a reload.

Am i doing it wrong?


BAZINGA!

I'm not insane, my mother had me tested!
 
stack forced-mode allows you to continue to manage the stack using the stack IP if the stack breaks and only one unit is left.

Go to the CLI and type show sys-info. Next to sysDescr, does it say "stack enabled"? Nortel/Avaya decided to license stacking on those devices. If they are stack enabled, you should be able just to connect the two switches together on the rear ports.

If they aren't stack enabled, you could trunk the two switches together using ports 25 and 26. Build the trunks as a MLT and connect the two together. To build the MLT, type this:

vlan member add 2 25-26
vlan port 25-26 tagging tagall

no mlt
mlt 1 name "Stack" enable member 25-26 learning normal

Repeat on both switches, put two cables between ports 25 and 26 on both switches and you'll have a MLT trunk between the two switches. You'll have to manage each independently, but it saves having to buy a stack license.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top