Sie sind auf Seite 1von 3

What is VTP

add 2 sw 2960
conn both with t-568b fa0/1 in fa0/1
acc sw 0
type: show vtp status
type: conf t
type: vlan 11
type: vlan 22
type: vlan 33
type: vlan 44
type: end
type: show vlan
type: conf t
type: vtp ?
type: vtp domain domain1
type: vtp mode ?
type: vtp mode server ?
acc sw1
type: enable
type: conf t
type: vtp domain domain1
type: vtp mode client
link between each sw is called an "access link"
we r gonna turn it to trunk link
acc sw0
type: int fa0/1
type: sw mode tr
type: sw tr allowed vlan 1-99
(sw1 port is auto turned into a trunk port
when sw0 is made a tr port)
acc sw1
type: sh vtp status
(show num of existing vlan has increased)
type: show vlan
(to show that sw1 learned all the vlans from
sw0)
acc sw0
type: enable
type: conf t
type: vlan 77
type: end
type: sh vtp status
acc sw1
type: show vlan
(if sw1 is restarted it wont save the
vtp config cuz it's in a client mode)
(transparent mode:
pass vtp addvertisement on the network
but does not learn the other vlan
it keeps it own vlans)
add sw2
type: en

type: conf t
type: int fa0/1
type: sw mode tr
type: sw tr all vlan 1-99
type: conf t
type: vtp mode transparent
type: vtp domain domain1
type: sh vlan
conn sw2 fa0/1 to sw1 fa0/2 t-568b
(sw2 will not learn of the vlan)
add sw3 (VTP client)
type: en
type: conf t
type: int fa0/1
type: sw mode tr
type: sw tr all vlan 1-99
type: conf t
type: vtp mode client
type: vtp domain domain1
type: end
type: show vlan
type: show vtp status
conn sw3 0/1 to sw2 0/2 t-568b
(vtp advertissement happens every 5mins)
acc sw0
type: sh vlan
type: conf t
type: vlan 55
(by adding the vlan 55 we forced the vlan
to replicate faster)
acc sw3
type: en
type: sh vtp status
type: sh vlan
(now sw3 knows about all the vlans)
acc sw2
type: en
type: sh vlan (to sh that sw2 is just
passing the info to the othe sw's)
Talk point: server, client, transparent sw
acc sw0
(explain revision number:
in a network the sw with highest revision number
is the one that deceminate the config to all sw
how to prevent that all config r wiped out
on other sw's)
*when stuck press ctrl+shift+(hyphen)
a client with revision num 0 copies all
config of those with a higher revision num

add new sw (back up VTP server)


type: en
type: conf t
type: int fa0/1
type: sw mode tr
type: sw tr allowed vlan 1-99
type: end
type: conf t
type: vtp domain domain1
(simulate a sw failure
remove sw0 and conn sw4 (back up srv))
conn sw4 to sw1 0/1 to 0/1)
show how sw4 (srv) learns vlan from
sw0 (client)

Das könnte Ihnen auch gefallen