Bambang F. Indarto

The Journey… The Shares

  • Recent Activities

    Jan 24 - Feb 08, 2009
    Deliver IT training
    Title: Cisco ICND 2 Location: Cisco Academy NetCampus, Jl. Cakalang, Jakarta

    Nov 29 - Dec 31, 2008
    Deliver IT training
    Title: MCAD Course Location: UUM, Kedah - Malaysia

    June 2008 -
    Deliver IT training
    Title: Cisco Academy Location: Cisco Academy NetCampus, Jl. Cakalang, Jakarta

    June 2008 -
    Deliver IT training
    Title: HTML, Photoshop, MS. Office, MS. Access
    Location: Mahatma Gading International School, Jakarta

    July 17 - July 25, 2008
    Deliver IT training
    Title: Cisco Academy Location: Department of Foreign Affairs - Brainmatics, Jakarta

    July 5th, 2008
    SAEC Soft Opening
    Location: Bandung, Indonesia

    June 12 - June 19, 2008
    Deliver IT training
    Title: MCAD Course Location: UiTM, Selangor - Malaysia

    May 20 - June 12, 2008
    Deliver IT training
    Title: MCAD Course Location: UMP, Pahang - Malaysia

    April 28 - May 16, 2008
    Deliver IT training
    Title: MCAD Course
    Location: USM, Penang - Malaysia

    March – May , 2008
    Deliver IT training
    Title: ICND Course
    Location: Junicorp Indonesia - Jakarta

  • Pages

  • Categories

  • Recent Posts

  • Recent Comments

    weznagwama on IT Engineer and Psychologist a…
    wez on Use OSI Model to Troubleshoot…
    seo writer on IT Engineer and Psychologist a…
    khalid on Use OSI Model to Troubleshoot…
    Indoproperty bsd on – Life Is A Highway…
    dinahflores on Warriors of the Net
    Bintang on Hoka Hoka Bento Social Pr…
  • Advertisements

Posts Tagged ‘prunning’

VTP (VLAN Trunking Protocol) on Cisco Switches

Posted by bfindarto on March 13, 2008

VLAN on a Cisco Switch provide greater performance and security for your LAN. Unfortunately, if you have more than a couple of switches, configuring VLAN’s can be a real pain. To make life easier, Cisco developed VLAN Trunking Protocol (VTP). Let’s find out what VTP can do…

How can VTP help me?

Say that you have 20 switches in your large office building. On each of these switches, you have four VLAN’s. Without VTP, you have to create each of these four VLANs on each of these switches. With VTP, you only have to create the four VLANs once, on one switch, and all other switches learn about the four VLANs.

In other words, the job of VTP is to distribute VLAN configuration information between all the switches.

How does it work?

The job of VTP is best explained from the perspective of the VTP server. All switches, by default, are VTP servers. The VTP server is where you would create, remove, or modify VLANs.

This VTP server sends an advertisement, across the domain, every 5 minutes or whenever a change is made in the VLAN database. That advertisement contains all the different VLAN names, VLAN numbers, what switches have ports in what VLANs, and a revision number. Whenever a switch receives an update with a larger revision number than the last one it applied, it applies that revision.

Keep in mind that VTP is a Cisco proprietary protocol. So, to use VTP between your switches, you must have all Cisco switches.

VTP Modes

VTP switches can be in three different modes. Those modes are:

  • Server – the default where all VLAN adds, changes, and removals are allowed
  • Client – where no changes can be made, only new revisions can be received from the VTP server switches.
  • Transparent – where local VLAN information can be changed but that information is not sent out to other switches. Transparent switches also do not apply VTP advertisements from other switches but they do forward those advertisements on.

Usually, you would want a few of your core switches to be servers and all remaining remote or access layer switches to be clients. You would only make changes on the server switches and those changes would be propagated to the client switches.

What about prunning?

VTP prunning is the process of not sending IP broadcast traffic for certain VLANs to switches that do not have any ports in that VLAN. The switches that choose not to send these broadcasts know that they can not do this because of VTP. With VTP telling them what ports the other switches have, this switch knows that they don’t have to send them broadcast packets, because they know that the other switches don’t need them.

Prunning saves LAN bandwidth because broadcasts don’t have to be sent to switches that don’t need them.

How do you configure VTP?

To configure VTP, you use the vtp global configuration mode command. With this command you can specify the following:

  • VTP domain – the name of the VTP domain. All switches communicating with VTP in the same domain, must have the same VTP domain name.
  • VTP mode – either server, client, or transparent
  • VTP password – a password to control who can and cannot receive VTP information
  • VTP pruning – VTP pruning is either turned on or off

Here is a sample configuration:


To see what is going on with VTP, you can use show vtp status, like this:



Posted in Cisco Networking | Tagged: , , , , , | Leave a Comment »