Difference between revisions of "VLAN Trunk Cisco IOS"
From Teknologisk videncenter
m (→Cisco materials) |
m |
||
Line 6: | Line 6: | ||
[[image:VLAN trunk.png|thumb|400px|none|Trunk between two switches carrying traffic from VLAN 100 and VLAN 200 between the Switches]] | [[image:VLAN trunk.png|thumb|400px|none|Trunk between two switches carrying traffic from VLAN 100 and VLAN 200 between the Switches]] | ||
=Configuring a Trunk port= | =Configuring a Trunk port= | ||
+ | == configuring trunk ports == | ||
+ | === Basic Cisco 2950 and 2960 switch configuration === | ||
+ | Cisco 2950 and 2960 switch series only supports the 802.1Q - DOT1Q - trunk protocol. | ||
<pre> | <pre> | ||
+ | SW2(config)#interface gigabitEthernet 0/1 | ||
+ | SW2(config-if)#switchport mode trunk | ||
+ | </pre> | ||
+ | === Basic Cisco 3550 and 3560 switch configuration === | ||
+ | Cisco 3550 and 3560 switch series supports the 802.1Q - DOT1Q - and Cisco ISL trunk protocols. | ||
+ | <pre> | ||
+ | H4S1(config)#int fastEthernet 0/24 | ||
+ | H4S1(config-if)#switchport trunk encapsulation dot1q | ||
+ | H4S1(config-if)#switchport mode trunk | ||
+ | </pre> | ||
[[Category:Cisco]][[Category:CCNA]][[Category:CCNP]][[Category:IOS]][[Category:Network]][[Category:CCNP3]] | [[Category:Cisco]][[Category:CCNA]][[Category:CCNP]][[Category:IOS]][[Category:Network]][[Category:CCNP3]] |
Revision as of 07:35, 28 April 2009
Contents
Configuring a trunk port
Cisco materials
VLAN trunks
A VLAN trunk is a connection between two switches where traffic from one or more VLAN's are transmitted between switches.
Configuring a Trunk port
configuring trunk ports
Basic Cisco 2950 and 2960 switch configuration
Cisco 2950 and 2960 switch series only supports the 802.1Q - DOT1Q - trunk protocol.
SW2(config)#interface gigabitEthernet 0/1 SW2(config-if)#switchport mode trunk
Basic Cisco 3550 and 3560 switch configuration
Cisco 3550 and 3560 switch series supports the 802.1Q - DOT1Q - and Cisco ISL trunk protocols.
H4S1(config)#int fastEthernet 0/24 H4S1(config-if)#switchport trunk encapsulation dot1q H4S1(config-if)#switchport mode trunk