ccna exp3 - chapter04 - vtp.ppt [compatibility mode]

Upload: httpheiserzcom

Post on 06-Apr-2018

237 views

Category:

Documents


2 download

TRANSCRIPT

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    1/63

    Chapter 4: VTP

    CCNA Ex loration 4.0

    1

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    2/63

    Overview

    http://www.cisco.com/warp/public/473/vtp_flash

    Hc vin mng Bach Khoa - Website: www.bkacad.com 2

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    3/63

    VTP Concepts

    Hc vin mng Bach Khoa - Website: www.bkacad.com 3

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    4/63

    The VLAN Management Challenge

    Hc vin mng Bach Khoa - Website: www.bkacad.com 4

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    5/63

    VTP

    Hc vin mng Bach Khoa - Website: www.bkacad.com 5

    VTP allows a network manager to makes changes on a switch that isconfigured as a VTP server. Basically, the VTP server distributes and synchronizes VLAN information to

    VTP-enabled switches throughout the switched network, which minimizes theproblems caused by incorrect configurations and configuration inconsistencies.

    VTP stores VLAN configurations in the VLAN database called vlan.dat.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    6/63

    VTP

    VTP is a La er 2 messa in rotocol that maintains VLAN confi uration

    Hc vin mng Bach Khoa - Website: www.bkacad.com 6

    consistency by managing the addition, deletion, and renaming of VLANs on anetwork-wide basis.

    VTP minimizes misconfigurations and configuration inconsistencies that cancause several problems, such as duplicate VLAN names, incorrect VLAN-typespecifications, and security violations.

    (www.cisco.com) VLAN Trunk Protocol (VTP) reduces administration in aswitched network. When you configure a new VLAN on one VTP server, theVLAN is distributed through all switches in the domain. This reduces the needto configure the same VLAN everywhere. VTP is a Cisco-proprietary protocolthat is available on most of the Cisco Catalyst series products.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    7/63

    VTP

    Hc vin mng Bach Khoa - Website: www.bkacad.com 7

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    8/63

    Benefits of VTP

    Hc vin mng Bach Khoa - Website: www.bkacad.com 8

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    9/63

    VTP Domain

    Hc vin mng Bach Khoa - Website: www.bkacad.com 9

    VTP Domain -Consists of one or more interconnected switches.

    All switches in a domain share VLAN configuration details using VTPadvertisements. A router or Layer 3 switch defines the boundary of each domain.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    10/63

    VTP mode

    Hc vin mng Bach Khoa - Website: www.bkacad.com 10

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    11/63

    VTP mode

    VTP Server-VTP servers advertise the VTP domain VLAN informationto other VTP-enabled switches in the same VTP domain. VTP servers store the VLAN information for the entire domain in

    NVRAM.

    The server is where VLAN can created, deleted, or renamed for thedomain.

    VTP Client-VTP clients function the same way as VTP servers, butyou cannot create, change, or delete VLANs on a VTP client.

    Hc vin mng Bach Khoa - Website: www.bkacad.com 11

    c en on y s ores e n orma on or e en re oma nwhile the switch is on.

    A switch reset deletes the VLAN information. You must configure VTP client mode on a switch.

    VTP Transparent-Transparent switches forward VTP advertisementsto VTP clients and VTP servers. Transparent switches do not participate in VTP. VLANs that are created, renamed, or deleted on transparent

    switches are local to that switch only.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    12/63

    Extra: VTP mode

    ServerIn VTP server mode, you can create, modify, and deleteVLANs and specify other configuration parameters, such as VTPversion and VTP pruning, for the entire VTP domain. VTP serversadvertise their VLAN configuration to other switches in the same VTP

    domain and synchronize their VLAN configuration with other switchesbased on advertisements received over trunk links. VTP server is thedefault mode.

    ClientVTP clients behave the same way as VTP servers, but youcannot create, change, or delete VLANs on a VTP client.

    Hc vin mng Bach Khoa - Website: www.bkacad.com 12

    TransparentVTP transparent switches do not participate in VTP. AVTP transparent switch does not advertise its VLAN configuration anddoes not synchronize its VLAN configuration based on receivedadvertisements, but transparent switches do forward VTPadvertisements that they receive out their trunk ports in VTP Version 2.

    Off (configurable only in CatOS switches)In the three describedmodes, VTP advertisements are received and transmitted as soon asthe switch enters the management domain state. In the VTP off mode,switches behave the same as in VTP transparent mode with theexception that VTP advertisements are not forwarded.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    13/63

    VTP pruning

    Hc vin mng Bach Khoa - Website: www.bkacad.com 13

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    14/63

    VTP advertisement

    Hc vin mng Bach Khoa - Website: www.bkacad.com 14

    VTP Advertisements -VTP uses a hierarchy of advertisements todistribute and synchronize VLAN configurations across the network.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    15/63

    Test your knowledge

    Hc vin mng Bach Khoa - Website: www.bkacad.com 15

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    16/63

    VTP Operation

    Hc vin mng Bach Khoa - Website: www.bkacad.com 16

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    17/63

    Default VTP configuration

    Hc vin mng Bach Khoa - Website: www.bkacad.com 17

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    18/63

    Default VTP configuration

    Hc vin mng Bach Khoa - Website: www.bkacad.com 18

    VTP Version -Displays the VTP version the switch is capable of running. Bydefault, the switch implements version 1, but can be set to version 2.

    Configuration Revision -Current configuration revision number on this switch.You will learn more about revisions numbers in this chapter.

    Maximum VLANs Supported Locally -Maximum number of VLANs supportedlocally.

    Number of Existing VLANs -Number of existing VLANs.

    VTP Operating Mode -Can be server, client, or transparent.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    19/63

    Default VTP configuration

    Default hash value

    Hc vin mng Bach Khoa - Website: www.bkacad.com 19

    VTP Domain Name -Name that identifies the administrative domain for the switch. VTP Pruning Mode -Displays whether pruning is enabled or disabled. VTP V2 Mode -Displays if VTP version 2 mode is enabled. VTP version 2 is disabled by

    default.

    VTP Traps Generation -If you enable this feature, it causes an SNMP message to begenerated every time a new VTP message is sent. MD5 Digest -A 16-byte checksum of the VTP configuration.

    (The VTP password that you configure is translated by algorithm into a 16-byte word(MD5 value) that is carried in all summary-advertisement VTP packets)

    Configuration Last Modified -Date and time of the last configuration modification.

    Displays the IP address of the switch that caused the configuration change to thedatabase.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    20/63

    VTP Domains

    Hc vin mng Bach Khoa - Website: www.bkacad.com 20

    VTP allows you to separate your network into smaller management domains tohelp reduce VLAN management.

    An additional benefit of configuring VTP domains is that it limits the extent to

    which configuration changes are propagated in the network if an error occurs.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    21/63

    VTP Domain Name Propogation

    Hc vin mng Bach Khoa - Website: www.bkacad.com 21

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    22/63

    VTP Frame Structure

    Hc vin mng Bach Khoa - Website: www.bkacad.com 22

    VTP message types:1. Summary advertisements2. Subset advertisement3. Advertisement requests4. VTP join messages

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    23/63

    VTP message content

    Hc vin mng Bach Khoa - Website: www.bkacad.com 23

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    24/63

    VTP Revision Number

    Hc vin mng Bach Khoa - Website: www.bkacad.com 24

    The configuration revision number is a 32-bit number that indicates the level of revision for a VTPframe.

    The default configuration number for a switch is 0. Each time:

    Add or remove a VLAN, assign or change name of vlan Change VTP version Enable or disable prunningthe configuration revision number is incremented.

    Each VTP device tracks the VTP configuration revision number that is assigned to it. Note:

    A VTP domain name change does not increment the revision number. Instead, it resets therevision number to zero.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    25/63

    Extra: Reset a Revision Number to Zero

    Disable trunkingChange the VTP domain name

    Change the new domain name back to the original

    Hc vin mng Bach Khoa - Website: www.bkacad.com 25

    nameRe-enable trunking.

    OR

    switch# delete flash:vlan.datswitch# reload

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    26/63

    VTP Advertisements

    Hc vin mng Bach Khoa - Website: www.bkacad.com 26

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    27/63

    Summary Advertisements

    or Client

    Hc vin mng Bach Khoa - Website: www.bkacad.com 27

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    28/63

    Summary Advertisements

    The VTP version is either 1 or 2. Code indicates which of the four VTP message types is includedhere, 0x01 or type 1. Followers indicates how man VTP subset advertisement messa es t e 2 follow the

    Hc vin mng Bach Khoa - Website: www.bkacad.com 28

    summary advertisement frame. The value can range from 0 to 255; 0 indicates that no

    subset advertisements follow. A Catalyst transmits the subset advertisement only if thereis a change in the system or as a response to an advertisement request.

    MgmtD Len specifies the length of the VTP domain name. Management Domain Name specifies the VTP domain name. The Configuration Revision Number field is 32 bytes. The Updater Identity is the IP address of the last switch that incremented the

    configuration revision. Update Timestamps are the date and time of the last increment of the configuration

    revision. MD5 Digest consists of a message-digest hash- a function of the VTP password and the

    VTP header contents (excluding the MD5 Digest field). If the receiving Catalyst hashcomputation does not match, the packet is discarded

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    29/63

    Subset Advertisements

    Code is 0x02 for subsetadvertisement (type 2).

    Seq-Number represents thesequence number of thepacket in the stream ofsubset advertisementsfollowing a summaryadvertisement. The

    Hc vin mng Bach Khoa - Website: www.bkacad.com 29

    sequence s ar s w . e

    receiving Catalyst uses thisvalue to ensure that itreceives all subsetadvertisements. If it does notreceive all of the subsets, itrequests a resend, starting

    with a specific subsetadvertisement.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    30/63

    Subset Advertisements

    Hc vin mng Bach Khoa - Website: www.bkacad.com 30

    VLAN-info fields each contain the following information: The VLANs status (active or suspended)

    VLAN-Type (Ethernet, Token Ring, FDDI, or otherwise)

    VLAN-Name Len Length of the VLAN name

    ISL VLAN-ID VLAN number of this named VLAN

    MTU size Maximum frame size supported for this VLAN 802.10 Index SAID value used if the frame passed over an FDDI trunk

    VLAN-name

    The VTP subset advertisement lists this information for each individual VLAN,including default VLANs.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    31/63

    Request Advertisements

    Hc vin mng Bach Khoa - Website: www.bkacad.com 31

    Code is 0x03 for advertisement request (type 3). The VTP domain name has been changed

    The switch receives a summary advertisement with a higherconfiguration revision number than its own

    A subset advertisement message is missed for some reason

    The switch has been reset

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    32/63

    Action 4.2.4

    Hc vin mng Bach Khoa - Website: www.bkacad.com 32

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    33/63

    VTP Modes Overview

    Hc vin mng Bach Khoa - Website: www.bkacad.com 33

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    34/63

    VTP Mode Comparisions

    VTP servers: Create, modify, and delete VLAN and VLAN configuration parameters

    for the entire domain.

    VTP servers save VLAN configuration information in the switch NVRAM.

    VTP servers send VTP messages out to all trunk ports.

    VTP clients: Cannot create, modify, or delete VLAN information.

    Hc vin mng Bach Khoa - Website: www.bkacad.com 34

    VLAN information. The only role of VTP clients is to process VLAN changes and send VTP

    messages out all trunk ports.

    VTP transparent mode: Forward VTP advertisements but ignore information contained in the

    message. Not modify its database when updates are received

    Not send out an update indicating a change in its VLAN status.

    Only forwarding VTP advertisements, VTP is disabled on a transparentswitch.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    35/63

    VTP Pruning

    Hc vin mng Bach Khoa - Website: www.bkacad.com 35

    VTP pruning prevents unnecessary flooding of broadcast information from oneVLAN across all trunks in a VTP domain.

    VTP pruning permits switches to negotiate which VLANs are assigned to portsat the other end of a trunk and, hence, prune the VLANs that are not assignedto ports on the remote switch.

    Pruning is disabled by default. VTP pruning is enabled using the vtp pruningglobal configuration command.

    You need to enable pruning on only one VTP server switch in the domain.

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    36/63

    VTP Pruning

    Hc vin mng Bach Khoa - Website: www.bkacad.com 36

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    37/63

    VTP Pruning

    Hc vin mng Bach Khoa - Website: www.bkacad.com 37

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    38/63

    VTP Pruning- Activity 4.2.5.4

    Hc vin mng Bach Khoa - Website: www.bkacad.com 38

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    39/63

    Configure VTP

    Hc vin mng Bach Khoa - Website: www.bkacad.com 39

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    40/63

    VTP Configuration Guidelines

    Hc vin mng Bach Khoa - Website: www.bkacad.com 40

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    41/63

    Topology example

    Hc vin mng Bach Khoa - Website: www.bkacad.com 41

    C fi D il

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    42/63

    Confirm Detail

    Hc vin mng Bach Khoa - Website: www.bkacad.com 42

    C fi D i N

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    43/63

    Configure Domain Name

    Hc vin mng Bach Khoa - Website: www.bkacad.com 43

    C fi V i

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    44/63

    Configure Version

    Hc vin mng Bach Khoa - Website: www.bkacad.com 44

    Add Vlans and Trunks

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    45/63

    Add Vlans and Trunks

    Hc vin mng Bach Khoa - Website: www.bkacad.com 45

    Enable Vtp Client Mode

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    46/63

    Enable Vtp Client Mode

    Hc vin mng Bach Khoa - Website: www.bkacad.com 46

    Verify VTP Status

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    47/63

    Verify VTP Status

    Hc vin mng Bach Khoa - Website: www.bkacad.com 47

    Confirm VTP Operation

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    48/63

    Confirm VTP Operation

    Hc vin mng Bach Khoa - Website: www.bkacad.com 48

    Configure Access Ports

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    49/63

    Configure Access Ports

    Hc vin mng Bach Khoa - Website: www.bkacad.com 49

    Extra: VTP Pruning

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    50/63

    Extra: VTP Pruning

    Hc vin mng Bach Khoa - Website: www.bkacad.com 50

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    51/63

    Troubleshooting VTP Connections

    Hc vin mng Bach Khoa - Website: www.bkacad.com 51

    Troubleshooting VTP Connections

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    52/63

    Troubleshooting VTP Connections

    Hc vin mng Bach Khoa - Website: www.bkacad.com 52

    Incompatible VTP Versions- VTP Password Issues

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    53/63

    Incompatible VTP Versions VTP Password Issues

    Hc vin mng Bach Khoa - Website: www.bkacad.com 53

    Incorrect VTP Domain Name

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    54/63

    Incorrect VTP Domain Name

    Hc vin mng Bach Khoa - Website: www.bkacad.com 54

    Switches Set to VTP Client Mode

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    55/63

    Switches Set to VTP Client Mode

    Hc vin mng Bach Khoa - Website: www.bkacad.com 55

    It is possible to change the operating mode of all switches to VTPclient. By doing so, you lose all ability to create, delete, and manageVLANs within your network environment.

    Because the VTP client switches do not store the VLAN information inNVRAM, they need to refresh the VLAN information after a reload.

    Incorrect Revision Number

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    56/63

    Incorrect Revision Number

    Hc vin mng Bach Khoa - Website: www.bkacad.com 56

    Incorrect Revision Number

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    57/63

    Hc vin mng Bach Khoa - Website: www.bkacad.com 57

    Managing VLANs on a VTP Server

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    58/63

    g g

    Hc vin mng Bach Khoa - Website: www.bkacad.com 58

    Managing VLANs on a VTP Server

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    59/63

    g g

    Hc vin mng Bach Khoa - Website: www.bkacad.com 59

    Summary

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    60/63

    y

    Hc vin mng Bach Khoa - Website: www.bkacad.com 60

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    61/63

    Configure trunk links Switch SERVER:

    (config)# vtp version {1 |2}

    (config)# vtp domain {name}

    (config)# vtp password {password}(config)#vtp mode server

    Hc vin mng Bach Khoa - Website: www.bkacad.com 61

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    62/63

    Switch CLIENT:(config)# vtp version {1 |2}

    (config)# vtp domain {name}

    (config)# vtp password {password}

    (config)#vtp mode client

    Hc vin mng Bach Khoa - Website: www.bkacad.com 62

  • 8/3/2019 CCNA Exp3 - Chapter04 - VTP.ppt [Compatibility Mode]

    63/63

    SW2#debug sw-vlan vtp events

    Hc vin mng Bach Khoa - Website: www.bkacad.com 63