Voip Port configuration
Hi Guys,
Just lightly reading through the bcmsn book on my dinner break and wanted some clarification on this.
Say you are trunking between a port and an IP phone. When using the "switch voice vlan X" command it puts the voice traffice through that vlan and it defaults the data to the native vlan. So if you wanted to change that data vlan would you have to statically use "switch trunk native vlan X" on the port or could you just use the good old "switch access vlan x" to change the data vlan once you have created the vlans etc?
I was going to try this at home but i wont be in till another 6 hours or so andits driving me crazy
Just lightly reading through the bcmsn book on my dinner break and wanted some clarification on this.
Say you are trunking between a port and an IP phone. When using the "switch voice vlan X" command it puts the voice traffice through that vlan and it defaults the data to the native vlan. So if you wanted to change that data vlan would you have to statically use "switch trunk native vlan X" on the port or could you just use the good old "switch access vlan x" to change the data vlan once you have created the vlans etc?
I was going to try this at home but i wont be in till another 6 hours or so andits driving me crazy

Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
Comments
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
The first one is by configuring it as an access port and the second is by making it a trunking port.
either way works
the command should represent the data vlan and also make sure that vlan is tagged as such when doing router-on-a-stick
http://techintuition.com/
So you could do it either way of?:
switch voice vlan x
switch access vlan x
or
switch trunk encap dot1q
switch mode trunk
switch voice vlan x
switch trunk native vlan x
Something along the lines of that?
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
switch voice vlan x
switch access vlan x
If not then the config does work:
switch trunk encap dot1q
switch mode trunk
switch voice vlan x
switch trunk native vlan x - You only want this if you are chaning the native vlan
But you will want to add: switchport trunk allowed vlan 2
Does that make sense to you?
So basically what i said
Why would you have to put ......allowed vlan 2? would this not be allowed by default like normal trunk ports?
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
I was multi-tasking at the time and it didn't go well.
ha! i knew what you meant
Thanks for the input.
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking