omnisecu.com free mcse ccna rhce linux java learning  
Home Knowldege Base FAQ Contact Us Sitemap
omnisecu.com free mcse ccna rhce linux java learning  
omnisecu.com free mcse ccna rhce linux java learning
Home » Knowledge Base » Cisco Certified Network Associate (CCNA) » How to configure VLAN trunk link and native VLAN
 

How to create VLAN trunk link and native VLAN

 

By default, all switch ports in Layer 2 are configured to operate as access links. Following example shows how to create and configure trunk link to carry multiple VLAN traffic and how to configure the native VLAN for a trunk link.

 

VLAN trunk configuration

 

The above picture shows that the trunk link is connected to port fa0/24 on both switches. To configure the trunk link, open console connection to Switch 1 and enter the commands as shown below.

omnisecu.com.sw01>enable
omnisecu.com.sw01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
omnisecu.com.sw01(config)#interface fa0/24
omnisecu.com.sw01(config-if)#switchport mode trunk
omnisecu.com.sw01(config-if)#switchport trunk native vlan 10
omnisecu.com.sw01(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/24 (10), with omnisecu.com.sw02 FastEthernet0/24 (1).
omnisecu.com.sw01(config-if)#exit
omnisecu.com.sw01(config)#exit
omnisecu.com.sw01#

The CDP message "%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/24 (10), with omnisecu.com.sw02 FastEthernet0/24 (1)." shows that the native VLAN on other side of the trunk is different from what we configured here.

To configure trunk link and native VLAN on Switch 2, open console connection to Switch 2 and enter the commands as shown below.

omnisecu.com.sw02>enable
omnisecu.com.sw02#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
omnisecu.com.sw02(config)#interface fa0/24
omnisecu.com.sw02(config-if)#switchport mode trunk
omnisecu.com.sw02(config-if)#switchport trunk native vlan 10
omnisecu.com.sw02(config-if)#exit
omnisecu.com.sw02(config)#exit
omnisecu.com.sw02#

 

 

Related Topics...

What is Virtual Local Area Network (VLAN)

Advantages of VLAN

VLAN Membership Types

How to create and name static VLAN

How to view VLAN information

Types of VLAN connection links - Trunk Links and Access Links

VLAN Frame Tagging

Inter-Switch Link (ISL) VLAN Tagging

IEEE 802.1Q VLAN Tagging

How to configure and assign a switch access port to a VLAN

What is VLAN Trunking Protocol (VTP)

What is VLAN Trunking Protocol (VTP) Domain

VLAN Trunking Protocol (VTP) Modes

VLAN Trunking Protocol (VTP) Advertisement Messages

How to configure VLAN Trunking Protocol (VTP)

How to view VLAN Trunking Protocol (VTP) information

What is VLAN Trunking Protocol (VTP) Pruning

 


 
 
eXTReMe Tracker

back
next
 
Disclaimer | Feed Back | Trademarks | Knowledge Base | FAQ | Sitemap | Downloads