The output of the show vtp status command on each switch is listed below; this

PlAwAnSaI

Administrator
Question: Switches Sw1, Sw2, Sw3, and Sw4 are not connected to each other or to any other switches. Each switch has the usual default VLANs configured (VLANs 1 and 1002-1005). Each switch also has one other VLAN configured, respectively: VLAN 11 on Sw1, VLAN 22 on Sw2, VLAN 33 on Sw3, and VLAN 44 on Sw4. The output of the show vtp status command on each switch is listed below; this output was gathered before the switches were connected. Then, Sw2 is connected to Sw1 using a trunk. Next, Sw3 is connected to Sw1 using a trunk. Finally, Sw4 is connected to Sw1 using a trunk. Which VLAN(s) are known by Sw1 at the end of this process, ie, which VLANs are in Sw1's VLAN database at this point in time?

Answers:

A) 11

cool.gif
22

C) 33

D) 44

Sw1# show vtp status
VTP Version : 2
Configuration Revision : 2
Maximum VLANs supported :1005
Number of existing VLANs : 6
VTP Operating Mode : Server
VTP Domain Name : CCIE-domain
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x0E 0x07 0x9D 0x9A 0x27 0x10 0x6C 0x0B

Sw2# show vtp status
VTP Version : 2
Configuration Revision : 4
Maximum VLANs supported : 1005
Number of existing VLANs : 6
VTP Operating Mode : Server
VTP Domain Name : CCIE-domain
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x0E 0x07 0x9D 0x9A 0x27 0x10 0x6C 0x0B

Sw3# show vtp status
VTP Version : 2
Configuration Revision : 6
Maximum VLANs supported : 1005
Number of existing VLANs : 6
VTP Operating Mode : Server
VTP Domain Name : CCIE-domain
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x07 0x0E 0x90 0xAA 0x27 0x10 0x6C 0x0B

Sw4# show vtp status
VTP Version : 2
Configuration Revision : 8
Maximum VLANs supported : 1005
Number of existing VLANs : 6
VTP Operating Mode : Client
VTP Domain Name : CCIE-domain
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x07 0x0E 0x90 0xAA 0x27 0x10 0x6C 0x0B



Credit: Siamnetworker

bigeyes.gif
 

bobnn99

New member
ผม ว่า น่าจะตอบ 44 อ่ะครับ


ถูกป่าวพี่ เพราะมันSW1 คงโดน vlan44 ทับแน่ๆ เพราะConfiguration Revision ของ SW4สูงกว่า และทุกตัวก้อน่าจะมีเฉพาะ vlan 44
ทับหมดแน่ๆ ต่อให้ตัวเอง เป็น mode sever ก็ตาม

ช่วยแนะนำด้วยครับ ผมเข้าใจถูกป่ะ
 

PlAwAnSaI

Administrator
ผิดคับ ดูใหม่ๆ mode client update ให้ตัวอื่นได้เหรอ
wink.gif
 

bobnn99

New member
55555555+
ใช่ๆค รับ

ลืมดู นึกว่าเป็น sever mode ทั้งหมด

ถ้างั้นก็คงตอบ 33
sw ทุกตัวก็คงจะมีแต่ vlan 33 อย่างเดียว

ผมเข้าใจถูกป่ะครับ

ขอบคุงที่แนะนำครับ.......อิอิ

(Client Mode When a switch is configured to use VTP Client Mode, it is simply the recipient of any VLANs added, deleted, or modified by a switch in Server Mode within the same management domain. A switch in VTP client mode cannot make any changes to VLAN information.
)
 

PlAwAnSaI

Administrator
ยังผิดอยู่คับ ลองดูดีๆ มีอะไรต่างกันอีก นอกจาก Revision Number ส่วนเรื่อง Client มัน update ไปให้ Server ได้นะ
wink.gif
 

bobnn99

New member
55555555+
หรือว่ามันจะดู MD5 digest มันคืออะไรอ่ะครับพี่
เฉลยเหอะพี่

ผมยังอ่อนทฤษฎี อ่ะครับ (ปฎิบัติด้วย)

ขอบคุงๆครับ

ปล. ผมลองเอาไปต่อดูแล้วครั้งที่1 ได้ 44
ครั้งที่ 2ได้ 33
ครั้งที่3 อาจจะได้ 22 และ 11 แน่เลย
อิอิ
 

refeel

New member
ลองทำดูได้ป่ะ
bigwink.gif


ขอตอบข้อ B. 22 เป็นคำตอบสุดท้าย
 

bobnn99

New member
รบกวนพี่ๆช่วยอธิบายเพิ่มเติมด้วยครับ

 

PlAwAnSaI

Administrator
ตอบ 22 คับ
smile.gif
ค่า md5 ของ switch แต่ละตัวจะมีค่าต่างกันไป แต่จะปรับให้เหมือนกันก็ต่อเมื่อ vtp domain มีการเชื่อมต่อกันได้ หมายถึงว่า มี vtp domain ชื่อเดียวกัน และมี password เดียวกัน (หรือไม่มี passwd ทั้งคู่) คับ
 

refeel

New member
เพิ่มเติมแบบง่ายๆ ก็คือว่า

sw3 , sw 4 มีค่า md5 ต่างจาก sw 1 , sw2 ดังนั้น เมื่อเชื่อมต่อเข้าหากัน sw3 , sw4 จะไม่สามารถส่งอัพเดทไปหาได้
ส่วน sw1 , sw2 เมื่อค่า md5 เหมือนกัน ถ้ากรณี vtp domain กับ password เหมือนกัน ก็จะสามารถส่งอัพเดทไปได้ แต่เนื่องด้วย
sw 2 มี revision สูงกว่า ทำให้ vlan บน sw2 ส่งไปให้ sw1
 

bobnn99

New member
ขอบคุณมากๆครับ..................เก็บๆความรู้ใหม่ๆครับ อิอิ
 
Top