cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1232
Views
0
Helpful
3
Replies

Can a port configure both trunk and access mode?

getaway51
Level 2
Level 2

Hi,

1)May I know the port config below is a trunk port or access port?

2)If it is an access port vlan 3, does voice using vlan 2 still works ? because i rmbr an access port cannot be vlan member of more than one vlan. Only trunk port can.

 

interface GigabitEthernet1/0/1
switchport access vlan 3
switchport trunk allowed vlan 1,2
switchport mode access
switchport nonegotiate
switchport voice vlan 2

 

Thanks a lot guys!!

3 Replies 3

luis_cordova
VIP Alumni
VIP Alumni

Hi @getaway51 

 

1)May I know the port config below is a trunk port or access port?

R: The port is an access port:

12.jpg

 

Trunk related commands will only take effect when the port is in trunk mode.

 

2)If it is an access port vlan 3, does voice using vlan 2 still works ? because i rmbr an access port cannot be vlan member of more than one vlan. Only trunk port can.

R:The switch ports are enabled to allow data and voice traffic at the same time.
I attach this link about the voice vlan:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_52_se/configuration/guide/3560scg/swvoip.html#wp1034062

 

Regards

 

Does this means tht data and voice vlan can both works even when the port is access mode provided voice vlan command is present? Is this something called HYBRID port in other switch? Not all switch support this kind of mode right? 

 

Also does it means tht "switchport trunk allowed vlan 1-2" only active when the port is configured trunk mode and currently it doesnt means anything when the port is access mode?

 

 

Hi,

Does this means tht data and voice vlan can both works even when the port is access mode provided voice vlan command is present? Is this something called HYBRID port in other switch?

Cisco calls it Multi-vlan access port which really means trunk port. 

Not all switch support this kind of mode right? 

All Cisco POE switches support this kind of mode as long as the ports are connected to Cisco phones.

 

Also does it means tht "switchport trunk allowed vlan 1-2" only active when the port is configured trunk mode and currently it doesnt means anything when the port is access mode?

That is correct. As long as the mode is "access" any trunk related command under that interface is useless. The same way the other way around, when the mode is "trunk" any access related command under that interface is useless.

Also, have a look at this link and look for 

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4500-series-switches/69632-configuring-cat-ip-phone.html

Configure the Switch Port to Carry Both Voice and Data Traffic 

section

HTH