11-15-2006 04:30 PM - edited 03-05-2019 12:50 PM
I'm setting up a C3750 48 port switch in an IDF that connects to our 4006 switch in our MDF. Question is connecting the two switches together VIA fiber does the uplink on both ends have to be a trunk port? "switch port mode trunk" or "switch port mode access"? Also both these switches and ports are on the same vlan.
I?m confused as to which commands to use at what times,
Switch port mode trunk and switch port mode access. I understand that access is for connecting hosts and trunks are used for carrying multiple vlan traffic but I have seen both commands used at different times.
Any help would be appreciated.
Adam
Solved! Go to Solution.
11-15-2006 04:44 PM
Adam,
Your understanding of access/trunk modes is partially correct. Access mode doesn't have to be necessarily connecting hosts. Ports connecting switches can be set to access mode as well if the port doesn't have carry traffic for multiple VLANs.
If you specify the mode to be access then the port would never become a trunk port under any circumstance. It's better if you can set the mode to access/trunk without having the port dynamically form access/trunk association on that port.
The two modes can be configured as follows:
Switchport Access Mode:
int f0/1
switchport mode access
switchport access vlan 10
Switchport Trunk Mode:
int f0/1
switchport trunk encapsulation (isl/dot1q)
switchport mode trunk
HTH
Sundar
11-15-2006 04:42 PM
Adam,
You need to use 'switchport mode trunk' if you want it to come up as a trunk link. The commands are mutually exclusive and you should not be able to configure both at the same time.
Paresh
PS. Pls do remember to rate posts
11-15-2006 04:44 PM
thanks Paresh, what would it mean if I configured it as an access link?
11-15-2006 04:44 PM
Adam,
Your understanding of access/trunk modes is partially correct. Access mode doesn't have to be necessarily connecting hosts. Ports connecting switches can be set to access mode as well if the port doesn't have carry traffic for multiple VLANs.
If you specify the mode to be access then the port would never become a trunk port under any circumstance. It's better if you can set the mode to access/trunk without having the port dynamically form access/trunk association on that port.
The two modes can be configured as follows:
Switchport Access Mode:
int f0/1
switchport mode access
switchport access vlan 10
Switchport Trunk Mode:
int f0/1
switchport trunk encapsulation (isl/dot1q)
switchport mode trunk
HTH
Sundar
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