# How to configure trunk on Cisco Catalyst Switch

**URL:** https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869
**Category:** Lessons Discussion
**Created:** [December 20, 2016, 10:09pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869 "2016-12-20T22:09:09Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [December 20, 2016, 10:09pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/1 "2016-12-20T22:09:09Z")

</div>

This topic is to discuss the following lesson:

> **[Trunking on Cisco IOS Switch](https://networklessons.com/switching/how-to-configure-trunk-on-cisco-catalyst-switch)**
>
> Trunks are used to carry VLANs. In this lesson you will learn how to configure Trunk on a Cisco Catalyst Switch.

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [August 3, 2013, 10:33pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/2 "2013-08-03T22:33:46Z")

</div>

You have a very unique way of explaining, Clear and direct to the point. I am very grateful.  
Thank you

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [August 11, 2013, 7:19pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/3 "2013-08-11T19:19:11Z")

</div>

I really appreciate your efforts 🙂

---

<div class="post-metadata">

### Author: ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)
#### Post date: [August 25, 2014, 9:59am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/4 "2014-08-25T09:59:19Z")

</div>

Hi ,  
Im following you LAB but i would like to know how to change the Operational Mode  
status .  
Every times i would like to change it , it doesn’t work .

#sh int Fa0/21 switchport  
Name: Fa0/21  
Switchport: Enabled  
Administrative Mode: trunk  
Operational Mode: down \<—  
Administrative Trunking Encapsulation: dot1q  
Negotiation of Trunking: Off  
Access Mode VLAN: 50 (TesteIMO(NOTOUCH))  
Trunking Native Mode VLAN: 1 (default)  
Voice VLAN: none

Thanks for your help .

---

<div class="post-metadata">

### Author: ![nbharathi27](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/n/5fc32e/32.png) [@nbharathi27](https://forum.networklessons.com/u/nbharathi27)
#### Post date: [February 18, 2015, 11:29am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/5 "2015-02-18T11:29:18Z")

</div>

Can u check whether u made it no shut?

---

<div class="post-metadata">

### Author: ![rajmannar](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rajmannar](https://forum.networklessons.com/u/rajmannar)
#### Post date: [April 23, 2015, 12:26am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/6 "2015-04-23T00:26:52Z")

</div>

Please clarify how to interpret the table you listed in the page below with different modes

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [April 28, 2015, 2:40pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/7 "2015-04-28T14:40:45Z")

</div>

The horizontal values are for “switch 1” and the vertical values for “switch 2”.

For example, if you use “dynamic auto” on switch 1 and 2 then the result will be access mode.

---

<div class="post-metadata">

### Author: ![talk2seeni](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/t/8baadc/32.png) [@talk2seeni](https://forum.networklessons.com/u/talk2seeni)
#### Post date: [May 29, 2015, 8:43am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/8 "2015-05-29T08:43:37Z")

</div>

Hi Rene,  
Network operators knows which ports are connected to switch and hosts. They can configure access mode or trunk mode accordingly.  
Why do we need Dynamic access and Dynamic auto ? In what scenario we use it in  
production network?

Thanks,  
SV

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [May 29, 2015, 8:49am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/9 "2015-05-29T08:49:48Z")

</div>

Hi SV,

I can’t think of any good reason to use dynamic auto or desirable. It’s best always to use static access or trunk mode.

Rene

---

<div class="post-metadata">

### Author: ![talk2seeni](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/t/8baadc/32.png) [@talk2seeni](https://forum.networklessons.com/u/talk2seeni)
#### Post date: [May 29, 2015, 10:07am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/10 "2015-05-29T10:07:48Z")

</div>

Hi Rene,  
Thanks for your quick reply!

-SV

---

<div class="post-metadata">

### Author: ![johnfrades](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@johnfrades](https://forum.networklessons.com/u/johnfrades)
#### Post date: [October 10, 2015, 1:27pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/11 "2015-10-10T13:27:21Z")

</div>

Rene, question, on your last compare example, its static access and static trunk, the result was trunk on both sides, so its a working trunk port? but on your table that you created, the Static Trunk and Static Access has a “Limited” value. care to explain why its Limited? and what does it do on the switch?

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [October 11, 2015, 10:08am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/12 "2015-10-11T10:08:59Z")

</div>

Hi John,

When you mix access and trunk mode, we get to see this message:

`SwitchA#
%SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/14 VLAN1.
%SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/14 on VLAN0001. Inconsistent port type.
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/14 on VLAN0001. Port consistency restored.`

The trunk will send BPDUs for each VLAN, our access mode interface only sends one BPDU so that’s why CDP reports this error. This won’t be a working trunk but I think the access mode VLAN (VLAN1) will work.

I’d have to give this a try to see if it works.

Rene

---

<div class="post-metadata">

### Author: ![ftuwayli](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/f/96bed5/32.png) [@ftuwayli](https://forum.networklessons.com/u/ftuwayli)
#### Post date: [November 22, 2015, 5:50am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/13 "2015-11-22T05:50:04Z")

</div>

Thanks .

It’s awesome.

---

<div class="post-metadata">

### Author: ![gordonflash984](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/g/4bbf92/32.png) [@gordonflash984](https://forum.networklessons.com/u/gordonflash984)
#### Post date: [November 23, 2015, 3:20am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/14 "2015-11-23T03:20:19Z")

</div>

Rene

how do you turn trunk negotiation back on?

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [November 23, 2015, 11:52am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/15 "2015-11-23T11:52:38Z")

</div>

Hi Donald,

“switchport nonegotiate” disabled it and “no switchport nonegotiate” enables it again.

Rene

---

<div class="post-metadata">

### Author: ![ikhambay](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/i/a88e4f/32.png) [@ikhambay](https://forum.networklessons.com/u/ikhambay)
#### Post date: [December 27, 2015, 2:40pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/16 "2015-12-27T14:40:40Z")

</div>

Hi Rene

Please can you advise what I can do, I am trying to create vlan 50 on this switch and keep getting following

```auto
SW1(config)#vlan 50
VTP VLAN configuration not allowed when device is not the primary server for vlan database.

```

```auto
SW1#sh vtp status
VTP Version : 3 (capable)
VTP version running : 3
VTP Domain Name : CCIE-domain
VTP Pruning Mode : Disabled (Operationally Disabled)
VTP Traps Generation : Disabled
Device ID : aabb.cc00.0700

Feature VLAN:
--------------
VTP Operating Mode : Server
Number of existing VLANs : 8
Number of existing extended VLANs : 0
Configuration Revision : 0
Primary ID : 0000.0000.0000
Primary Description :
MD5 digest : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Feature MST:
--------------
VTP Operating Mode : Transparent
Feature UNKNOWN:
--------------
VTP Operating Mode : Transparent

```

&nbsp;

I tried deleting vlan.dat but to no avail

&nbsp;

Thanks

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [December 28, 2015, 10:33am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/17 "2015-12-28T10:33:37Z")

</div>

You are running VTP version 3 but it seems this switch is not the primary switch so you can’t make any changes to the VLAN database. Here’s an example how to configure VTPv3:

> **[VTP Version 3](https://networklessons.com/switching/vtp-version-3)**
>
> VTP version 3 is similar to VTPv2 but it has some extras like syncing private VLANs, MST, RSPAN VLANs and more. This lesson explains how to confiure it.

Or you can switch back to VTP version 2.

---

<div class="post-metadata">

### Author: ![mohammed.eisa21](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/m/71c47a/32.png) [@mohammed.eisa21](https://forum.networklessons.com/u/mohammed.eisa21)
#### Post date: [January 6, 2016, 2:30pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/18 "2016-01-06T14:30:53Z")

</div>

Dear Rene

i’m new here i finished before some week from CCNA I want to study CCNP with you the explanation is very good.this command:

`switchport trunk encapsulation dot1q`

Is not working in my packet tracer how can I make a switching lab ??

---

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [January 6, 2016, 4:12pm UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/19 "2016-01-06T16:12:09Z")

</div>

Hi Mohamed,

There are two trunking protocols, 802.1q and ISL. Some newer switches only support 802.1Q and in that case this command will be unavailable.

It’s also possible that packet tracer doesn’t support it, it’s a simulator after all. It doesn’t matter too much though…when this command doesn’t work then the switch will use 802.1Q when you configure the interface as a trunk.

Rene

---

<div class="post-metadata">

### Author: ![jdumorne](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jdumorne](https://forum.networklessons.com/u/jdumorne)
#### Post date: [January 18, 2016, 4:58am UTC](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869/20 "2016-01-18T04:58:50Z")

</div>

what type of switches are you suggesting we use

[Next page](https://forum.networklessons.com/t/how-to-configure-trunk-on-cisco-catalyst-switch/869.md?page=2)
