Newest Downloads

Mar.18

  [zenoss@zenoss2 ~]$ python Zenoss_Template_Manager.py -husage: Examples: python Zenoss_Templa...

How to configure Trunking on a Cisco IOS based switch
Networking HowTo's - Cisco HowTo's
Written by Keith Short   
Sunday, 10 February 2008 19:44

This is a basic tasks that Network folks and SysAdmins who are responsible for their own LANs will find useful. This how to requires basic knowledge of vlans and trunks.

BTW, Nortel folks use the term "tagging" instead of "trunking."
If you're not familiar with with those concepts http://www.cisco.com is a good place to search. Use the keywords trunking and vlans in your search.

  1. Connect to your Cisco switch running IOS. This will be console, telnet, or ssh depending on how you've set it up.
  2. Type "enable" and press Enter to go to "enable" mode.
  3. Type "config t" and press Enter to go to "configure" mode.
  4. Type "interface interface" to go to interface configuration mode for the interface you've chosen to be the trunk.
  5. Type "switchport" and press Enter to make the port a layer 2 port.
  6. Type "switchport trunk encapsulation dot1q" and press Enter to configure the trunk encapsulation on the port.

    ***Note - 802.1q is the standard and should be used especially if you are going to connect the other end of the trunk to a non-Cisco switch.
  7. Type "switchport mode trunk" and press Enter to configure the port as a trunk.

    You've now configured the port as an 802.1Q trunk that will tag traffic from all the vlans except VLAN1 (VLAN1 is Cisco's default Native VLAN) as they exit the port.
  8. Type "exit" and press enter. Then Type "exit" and press enter again to get back to enable mode.
  9. Type "wri mem" and press Enter to save your configuration.


Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! Yahoo! Free Joomla PHP extensions, software, information and tutorials.
Comments
Search RSS
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated on Saturday, 17 May 2008 22:03