Join our community of customers. Call us at
1-888-313-9421 to discuss your needs or request a quote, or email us at: sales@orcsweb.com

Port Trunking in Cisco IOS

by Jeff 14. November 2006 17:37

Port trunking is the process by which ports are designated as common uplink ports to carry traffic from multiple VLANs across the same physical cable. In the following example, we enable trunking on an etherchannel group to carry specific traffic from VLANs 1 through 99. We also assign the channel to a vlan we've designated specifically for etherchannels.

Router# configure terminal
Router (config)# interface port-channel 1
Router (config-if)# switchport access vlan 100
Router (config-if)# switchport trunk encapsulation dot1q
Router (config-if)# switchport trunk allowed vlan 1-99
Router (config-if)# switchport mode trunk
Router (config-if)# ^Z

This configuration will carry traffic for vlans 1-99 across channel group 1. Setting the trunk encapsualtion type is only available on switches that support multiple encapsualtion types. Ensure that spanning-tree is on in order to prevent loops.

Tags:

Comments are closed
Copyright ©1996-2008 ORCS Web, Inc. All rights reserved.
Powered by BlogEngine.NET 1.4.5.0. Log in.