10-27-2009 06:37 AM - edited 03-06-2019 08:19 AM
I need to add a switch to a network port to allow for around 10 connections. I thought I needed to make the port a trunk port (switchport mode trunk) and to add dot1q encapsulation is this correct?
Any help with the correct commands would be very helpful thanks.
The network is based on a 6509 core and 9 3750 stacks.
Chris
10-27-2009 06:51 AM
A trunk is not required here.
Simply configure the cisco-side as access port:
swi mo acc
swi acc vlan ..
regards,
Leo
10-27-2009 06:54 AM
Thanks Leo
The current config for the port is:
switchport access vlan #
switchport mode access
switchport voice vlan #
switchport port-security maximum 2
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
auto qos voip cisco-phone
macro description cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
Will this allow for the ten connections or will I need to increase the port security max to 10 or maybe 11 to be sure?
Chris
10-27-2009 07:03 AM
Well, you do not want port security here because it limits the number of hosts that can be connected. (two in the above case)
Also, remove the bpduguard because the switch that is to be attached will send bpdu packets.
I suppose there is no cisco-phone connected to the port?
In that case; remove the voice vlan as well. This is what's needed:
no switchport voice vlan #
no switchport port-security
no spanning-tree bpduguard enable
regards,
Leo
10-27-2009 06:52 AM
Hi Chris,
Yes, you need to add:
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan xx, xx, xx
switchport mode trunk
HTH
Reza
10-27-2009 05:36 PM
Hi,
If the switch you are connecting to Cisco has any VLANs configured in it ,then you need to connect it to a trunk port. Otherwise it can be connected to access port
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide