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
-
networker050184 Mod Posts: 11,962 ModYou would just change the access vlan on the port.An expert is a man who has made all the mistakes which can be made.
-
nel Member Posts: 2,859 ■□□□□□□□□□Thanks networker. My mind is now at rest!Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking -
nice343 Member Posts: 391There are 2 ways of configuring ports that connect IP phones to the switch.
The first one is by configuring it as an access port and the second is by making it a trunking port.
either way works
theswitchport trunk native vlan X
command should represent the data vlan and also make sure that vlan is tagged as such when doing router-on-a-stickMy daily blog about IT and tech stuff
http://techintuition.com/ -
nel Member Posts: 2,859 ■□□□□□□□□□nice343 wrote:There are 2 ways of configuring ports that connect IP phones to the switch.
The first one is by configuring it as an access port and the second is by making it a trunking port.
either way works
theswitchport trunk native vlan X
command should represent the data vlan and also make sure that vlan is tagged as such when doing router-on-a-stick
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?Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking -
wagnerbm Member Posts: 38 ■■□□□□□□□□If you have a pc behind the phone then you would want it to be a access vlan:
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?
-
nel Member Posts: 2,859 ■□□□□□□□□□wagnerbm wrote:If you have a pc behind the phone then you would want it to be a access vlan:
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?Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking -
wagnerbm Member Posts: 38 ■■□□□□□□□□You won't need too do the last allow statement. You just need to make sure the native vlan is the same on both ends.
I was multi-tasking at the time and it didn't go well. -
nel Member Posts: 2,859 ■□□□□□□□□□wagnerbm wrote:You won't need too do the last allow statement. You just need to make sure the native vlan is the same on both ends.
I was multi-tasking at the time and it didn't go well.
ha! i knew what you meant
Thanks for the input.Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking