PDA

View Full Version : Câu lệnh nào enable VTP ver 2 mode



itnguyen
27-03-2008, 12:26 PM
Mình config VTP như thế này :
(config)# vtp domain ABC
(config)# vtp mode client
(config)# vtp ver 2
Không biết tại sao mode ver 2 nó bị disable . Nó ko thể cập nhật các VLAN khác. có ai biết giúp mình với

tranmyphuc
27-03-2008, 12:35 PM
Mình config VTP như thế này :
(config)# vtp domain ABC
(config)# vtp mode client
(config)# vtp ver 2
Không biết tại sao mode ver 2 nó bị disable . Nó ko thể cập nhật các VLAN khác. có ai biết giúp mình với

CHào !!!
Bạn cho mình hỏi , các Switch khác bạn cấu hình VTP version mấy ???

Chúc bạn vui 1!!

trainingit
27-03-2008, 12:48 PM
Mình config VTP như thế này :
(config)# vtp domain ABC
(config)# vtp mode client
(config)# vtp ver 2
Không biết tại sao mode ver 2 nó bị disable . Nó ko thể cập nhật các VLAN khác. có ai biết giúp mình với

- bạn thử dùng lệnh

Switch#show vtp status

trên tất cả các switch xem có cùng version ko ?

itnguyen
27-03-2008, 03:26 PM
Hi các anh!
mình làm được rồi . Mình làm cùng ver 2 hết . nhưng do mình config vtp mode client trước nên nó ko hiểu. Cảm ơn các anh nhiều lắm !

tranmyphuc
27-03-2008, 04:14 PM
Hi các anh!
mình làm được rồi . Mình làm cùng ver 2 hết . nhưng do mình config vtp mode client trước nên nó ko hiểu. Cảm ơn các anh nhiều lắm !

Chào !!!
Bạn chú ý là VTP version 1 và 2 không tương thích nhau . Do đó yêu cầu bạn phải cho các thiết bị cùng chạy VTP version 1 hết hoặc version 2 hết. VTP version 1 được dùng mặc định trên switch.
Tuy nhiên chỉ có VTP server mới được enable VTP version 2 ( mode transparent và client đều không được). Nếu muốn chuyển mode thì bạn enable VTP rồi chuyển.

Ngoài VTP version 1 và 2 , ta còn gặp VTP version 3 ở Switch chạy CAT -OS. Sau đây là một số chức năng chỉ hỗ trợ trên VTP version 2 :

1) Version-dependent transparent mode : chỉ áp dụng trong mode transparent : nếu như với VTP version 1 để forward thông tin khi nhận được nó phải so xem có khớp 2 thông số : VTP domain + VTP version 1 hay không??? Còn đối với VTP version 2 chỉ cần thông số VTP domain khớp là được, bởi vì nếu 1 domain hỗ trợ trên tất cả các switch , ta không cần thiết phải kiểm tra domain name.

2)Consistency checks (Kiểm tra nhất quán) VTP version 2 sử dụng sự kiểm tra nhất quán trên tất cả những tham số VTP và VLAN nhập từ CLI hoặc từ SNMP

3) Token Ring support -- VTP version 2 hỗ trợ Token Ring SWitch và Token Ring VLAN ( nếu dùng Token Ring Switch , phải tự tay enable trong VTP version 2)

4) Unrecognized Type-Length-Value (TLV) support -- VTP version 2 Switches truyền thông điệp thay đổi trong cấu hình nhận được ra những đường trunks khác nếu như switch supervisor ( như Switch 6500...) không thể phân tích hoặc hiểu được thông điệp này. Ví dụ : Một VTP advertisement chứa 1 Type field để chỉ ra dạng VTP messager đang được gởi. VTP message (thông điệp ) 1 là là một summary advertisement còn VTP advertisement 1 là một subnet advertisement ( Bạn xem thêm cấu trúc gói tin cho từng dạng VTP). Tuy nhiên , trong VTP version 2 sẽ dùng thêm phần đuôi mở rộng dùng cho những dạng thông điệp khác cũng như kích thước khác nhau của 1 hoặc nhiều thông điệp. ( Ta cho tất cả những thông điệp này là unrecognized VTP message). Thay vì drop chúng , VTP version 2 sẽ truyền thông tin đi và lưu trữ một bản copy vào trong NVRAM.

Chúc bạn vui 1!!

trainingit
28-03-2008, 08:45 AM
Hi các anh!
mình làm được rồi . Mình làm cùng ver 2 hết . nhưng do mình config vtp mode client trước nên nó ko hiểu. Cảm ơn các anh nhiều lắm !

VTP version 2 vẫn hiểu được VTP version 1. VTP version 2 chỉ khác VTP version 1 là Token Ring VLANs


Cisco VTP: VLAN Trunking Protocol
VLAN Trunking Protocol (VTP) is a Cisco Layer 2 messaging protocol that manages the addition, deletion, and renaming of VLANs on a network-wide basis. Virtual Local Area Network (VLAN) Trunk Protocol (VTP) reduces administration in a switched network. When you configure a new VLAN on one VTP server, the VLAN is distributed through all switches in the domain. This reduces the need to configure the same VLAN everywhere. VTP is a Cisco-proprietary protocol that is available on most of the Cisco Catalyst Family products.

VTP ensures that all switches in the VTP domain are aware of all VLANs. There are occasions, however, when VTP can create unnecessary traffic. All unknown unicasts and broadcasts in a VLAN are flooded over the entire VLAN. All switches in the network receive all broadcasts, even in situations where few users are connected in that VLAN. VTP pruning is a feature used to eliminate (or prune) this unnecessary traffic.

By default, all Cisco Catalyst switches are configured to be VTP servers. This is suitable for small-scale networks where the size of the VLAN information is small and easily stored in all switches (in NVRAM). In a large network, a judgment call must be made at some point when the NVRAM storage needed is wasted, because it is duplicated on every switch. At this point, the network administrator should choose a few well-equipped switches and keep them as VTP servers. Everything else participating in VTP can be turned into a client. The number of VTP servers should be chosen so as to provide the degree of redundancy desired in the network.

There are three version of VTP so far. VTP Version 2 (V2) is not much different than VTP Version 1 (V1). The major difference is that VTP V2 introduces the support for Token Ring VLANs. If you are using Token Ring VLANs, you need to enable VTP V2. Otherwise, there is no reason to use VTP V2. VTP version 3 differs from earlier VTP versions in that it does not directly handle VLANs. VTP version 3 is a protocol that is only responsible for distributing a list of opaque databases over an administrative domain. When enabled, VTP version 3 provides the following enhancements to previous VTP versions:

Support for extended VLANs.
Support for the creation and advertising of private VLANs.
Improved server authentication.
Protection from the "wrong" database accidentally being inserted into a VTP domain.
Interaction with VTP version 1 and VTP version 2.
Provides the ability to be configured on a per-port basis.
Provides the ability to propagate the VLAN database andother databases.

(from http://www.javvin.com/protocolVTP.html)

=> như vậy khi cấu hình Cisco Switch (có thể là các switch được cấu hình với VTP version 2 vẫn cập nhật được thông tin VLAN của VTP version 1), nhưng trong các tài liệu của Cisco thường yêu cầu là các switch phải được cấu hình cùng VTP version.

tranmyphuc
28-03-2008, 01:03 PM
Chào !!!
Những nội dung trên Phúc trích từ giáo trình chuẩn mà cisco dùng để giảng dạy cho những ai học môn BCMSN và vẫn chưa thấy ai than phiền về tính đúng đắn của nó cả

Two versions of VTP are available for use in a management domain. Catalyst switches are capable of running either VTP version 1 or VTP version 2. Within a management domain, the two versions are not interoperable. Therefore, the same VTP version must be configured on every switch in a domain. VTP version 1 is the default protocol on a switch.

Còn VTP version 2 hay hơn VTP version 1 , ắt hẳn không chỉ có thêm phần hỗ trợ Token RIng . Nguồn về vấn đề này , Phúc cũng lấy từ sách trên.

Chúc anh vui !!!

trainingit
28-03-2008, 01:07 PM
Chào !!!
Những nội dung trên Phúc trích từ giáo trình chuẩn mà cisco dùng để giảng dạy cho những ai học môn BCMSN và vẫn chưa thấy ai than phiền về tính đúng đắn của nó cả


Còn VTP version 2 hay hơn VTP version 1 , ắt hẳn không chỉ có thêm phần hỗ trợ Token RIng . Nguồn về vấn đề này , Phúc cũng lấy từ sách trên.

Chúc anh vui !!!

- từ tài liệu trên (khả năng VTP v2 vẫn tương thích được với VTP v1, nhưng v1 ko tương thích được với v2, giống như RipV1 và RipV2)

Support for extended VLANs.
Support for the creation and advertising of private VLANs.
Improved server authentication.
Protection from the "wrong" database accidentally being inserted into a VTP domain.
Interaction with VTP version 1 and VTP version 2.
Provides the ability to be configured on a per-port basis.
Provides the ability to propagate the VLAN database andother databases.
(chắc nên làm 1 lab đơn giản với 2 switch chạy 2 version 1 và 2 để thử ktra lại)

- VTP version 2 có hỗ trợ nhiều đặc tính hơn VTP version 1, nhưng main feature is Token Ring VLANs

tranmyphuc
28-03-2008, 01:25 PM
- từ tài liệu trên (khả năng VTP v2 vẫn tương thích được với VTP v1, nhưng v1 ko tương thích được với v2, giống như RipV1 và RipV2)

Support for extended VLANs.
Support for the creation and advertising of private VLANs.
Improved server authentication.
Protection from the "wrong" database accidentally being inserted into a VTP domain.
Interaction with VTP version 1 and VTP version 2.
Provides the ability to be configured on a per-port basis.
Provides the ability to propagate the VLAN database andother databases.
(chắc nên làm 1 lab đơn giản với 2 switch chạy 2 version 1 và 2 để thử ktra lại)
- VTP version 2 có hỗ trợ nhiều đặc tính hơn VTP version 1, nhưng main feature is Token Ring VLANs

Chào anh !!!

Support for extended VLANs.
Support for the creation and advertising of private VLANs.
Improved server authentication.
Protection from the "wrong" database accidentally being inserted into a VTP domain.
Interaction with VTP version 1 and VTP version 2.
Provides the ability to be configured on a per-port basis.
Provides the ability to propagate the VLAN database andother databases.

Phúc vẫn không biết nó nằm ở trang nào của sách CCNP Self-Study BCMSN Official Exam Certification Guide, 4th Edition copy. Anh vui lòng chỉ giúp ạ. Thanks.


(chắc nên làm 1 lab đơn giản với 2 switch chạy 2 version 1 và 2 để thử ktra lại)
Được vậy thì còn gì bằng.

- VTP version 2 có hỗ trợ nhiều đặc tính hơn VTP version 1, nhưng main feature is Token Ring VLANs
=> Cái này thì vẫn chưa thấy tài liệu nào của CISCO đề cập đến. Chỉ biết VTP version 2 hơn VTP version 1 , 4 chức năng mà thôi.

Chúc anh vui !!!

trainingit
28-03-2008, 01:36 PM
Chào anh !!!


Phúc vẫn không biết nó nằm ở trang nào của sách CCNP Self-Study BCMSN Official Exam Certification Guide, 4th Edition copy. Anh vui lòng chỉ giúp ạ. Thanks.


Được vậy thì còn gì bằng.

=> Cái này thì vẫn chưa thấy tài liệu nào của CISCO đề cập đến. Chỉ biết VTP version 2 hơn VTP version 1 , 4 chức năng mà thôi.

[QUOTE]VTP V2

VTP V2 is not much different than VTP V1. The major difference is that VTP V2 introduces support for Token Ring VLANs. If you use Token Ring VLANs, you must enable VTP V2. Otherwise, there is no reason to use VTP V2.

(from http://www.cisco.com/warp/public/473/21.html)

=> chỉ với Token Ring Vlans mới cần enable version 2, còn ko thì chỉ cần sử dụng VTP version 1