Chào các bạn ,
Những bài tập nhỏ nhằm mục đích phục vụ cho những ai vừa học xong VTP có thể cũng cố kiến thức. Bài Lab chưa ra 2 phần :
A) Background : ôn lại kiến thức về VTP
B) Bài lab: hướng dẫn cách cấu hình và nêu ra các câu hỏi ôn tập
Mặc dù, chỉ là bài Lab đơn giản nhưng mình nghĩ sẽ có nhiều vấn đề cần phải thảo luận chung quanh nó. Các bạn hãy tự làm và post đáp án để mọi người cùng thảo luận sẽ hiểu bài nhanh hơn.
Việc để nguyên tác là nhằm giúp cho các bạn có thể trả lời những câu hỏi phỏng vấn bằng tiếng Anh , liên quan đến vấn đề này !!!
Chúc các bạn vui !!!
================================================== =================
LAB Exercise on
Apparatus:
Objective
Trunking
A TRUNK is a point-to-point link configured on a single Fast-Ethernet, Gigabit Ethernet, or Fast- or Gigabit EtherChannel bundle and another network device, such as a router or second switch. Trunks transport the packets of multiple VLANs over a single network link.
Trunk links are most beneficial when switches are connected to other switches or switches are connected to routers. As VLANs are added to a network, the number of links can quickly grow. An efficient use of physical interfaces and cabling involves the use of trunking.
In the figure above, the right half of the figure shows how one trunk link can replace many individual VLAN links. A trunk link can be associated with a native VLAN, which is used if the trunk link fails for some reason. To distinguish between traffic belonging to different VLANs on a trunk link, the switch must have a method of identifying each frame with the appropriate VLAN. VLAN frame identification was developed for switched networks. As each frame is transmitted over a trunk link, a unique identifier is placed in the frame header. As each switch along the way receives these frames, the identifier is examined to determine to which VLAN the frames belong. These methods are described in the following. Inter-Switch Link (ISL) - a Cisco-proprietary trunking encapsulation that adds a 26-byte header and 4-byte trailer to the frame. IEEE 802.1Q (dot1q)- an industry-standard trunking encapsulation that does not change the size of the frame. Because multiple vendors support dot1q, it is becoming more common in newer switched networks. Negotiate - The port negotiates with its neighbor port to mirror its encapsulation configuration, either ISL (preferred) or 802.1Q trunk.
VLAN Trunk Protocol (VTP)
In a switched environment a subnet corresponds to a VLAN, and a VLAN may map to a single Layer 2 switch, or it may span several switches, especially at the access layer. Also, it is likely that one or more VLANs may be present on any particular switch. VLAN Trunk Protocol (VTP) is a layer-2 messaging protocol that centralizes the management of VLAN additions, deletions and changes on a network-wide basis. This simplifies the management of large switched networks with many VLANs. A VTP domain is specified by the Network Engineer and consists of one or more interconnected switches that share the same VLAN configuration. A switch can only be configured as a member of a single VTP domain. Changes to the global VLAN configuration for the domain can be implemented using either the CLI or an SNMP session. Switches defined as part of VTP domains can be configured to operate in any of three VTP modes:
Server – Advertise VLAN configuration to other switches in the same VTP domain and synchronize with other switches in the domain. Can create, modify, and delete VLANs as well as modify VLAN configuration parameters such as VTP version and VTP pruning for the entire domain. This is the default mode for a switch.
Client - Advertise VLAN configuration to other switches in the same VTP domain and synchronize their VLAN configuration with other switches based on advertisements received over trunk links; however, they are unable to create, change, or delete VLAN configurations.
Transparent - Does not advertise its VLAN configuration and does not synchronize its VLAN configuration with other switches. In VTP version 2, transparent switches do forward VTP advertisements. Advertisement types include: requests from clients, summary advertisements and subset advertisements. An advertisement contains the VLAN IDs, the Emulated LAN names for ATM LANE, the 802.10 SAID values for FDDI, the VTP domain name, the VTP configuration revision number, the MTU size and the Frame format. VTP advertisements carry configuration revision numbers that are incremented everytime a VLAN is modified. This is used to identify the most recent changes to the network topology. When a switch finds an advertisement with a higher configuration revision number, it will save the new VTP database over the old one. A VLAN that does not exist in the new database is automatically deleted from the switch, and any ports that were in the VLAN will be orphaned. VTP pruning is a technique to limit VTP broadcast from branches of the network that do not contain member ports of a specific VLAN. By default, VTP pruning is disabled. VTP pruning must be enabled on a VTP server and promulgates pruning eligibility through the entire management domain. By default, VLAN 1 is always pruning-ineligible, and VLANs 2 through 1000 are pruning-eligible.
Hết phần 1
Những bài tập nhỏ nhằm mục đích phục vụ cho những ai vừa học xong VTP có thể cũng cố kiến thức. Bài Lab chưa ra 2 phần :
A) Background : ôn lại kiến thức về VTP
B) Bài lab: hướng dẫn cách cấu hình và nêu ra các câu hỏi ôn tập
Mặc dù, chỉ là bài Lab đơn giản nhưng mình nghĩ sẽ có nhiều vấn đề cần phải thảo luận chung quanh nó. Các bạn hãy tự làm và post đáp án để mọi người cùng thảo luận sẽ hiểu bài nhanh hơn.
Việc để nguyên tác là nhằm giúp cho các bạn có thể trả lời những câu hỏi phỏng vấn bằng tiếng Anh , liên quan đến vấn đề này !!!
Chúc các bạn vui !!!
================================================== =================
LAB Exercise on
Trunking with 802.1q VTP Client and Server Configurations
Apparatus:
Objective
- Create a basic switch configuration and verify it.
- Create multiple VLANs, name them and assign multiple member ports to them.
- Create an 802.1q trunk line between the two switches to allow communication between paired VLANs.
- Test the VLANs functionality by moving a workstation from one VLAN to another.
- Create a basic switch configuration and verify it.
- Create multiple VLANs, name them and assign multiple member ports to them.
- Configure the VTP protocol to establish Server and client switches.
- Create an 802.1q trunk line between the two switches to allow communication between paired VLANs.
- Then test the VLANs functionality by moving a workstation from one VLAN to another.
Trunking
A TRUNK is a point-to-point link configured on a single Fast-Ethernet, Gigabit Ethernet, or Fast- or Gigabit EtherChannel bundle and another network device, such as a router or second switch. Trunks transport the packets of multiple VLANs over a single network link.
Trunk links are most beneficial when switches are connected to other switches or switches are connected to routers. As VLANs are added to a network, the number of links can quickly grow. An efficient use of physical interfaces and cabling involves the use of trunking.
In the figure above, the right half of the figure shows how one trunk link can replace many individual VLAN links. A trunk link can be associated with a native VLAN, which is used if the trunk link fails for some reason. To distinguish between traffic belonging to different VLANs on a trunk link, the switch must have a method of identifying each frame with the appropriate VLAN. VLAN frame identification was developed for switched networks. As each frame is transmitted over a trunk link, a unique identifier is placed in the frame header. As each switch along the way receives these frames, the identifier is examined to determine to which VLAN the frames belong. These methods are described in the following. Inter-Switch Link (ISL) - a Cisco-proprietary trunking encapsulation that adds a 26-byte header and 4-byte trailer to the frame. IEEE 802.1Q (dot1q)- an industry-standard trunking encapsulation that does not change the size of the frame. Because multiple vendors support dot1q, it is becoming more common in newer switched networks. Negotiate - The port negotiates with its neighbor port to mirror its encapsulation configuration, either ISL (preferred) or 802.1Q trunk.
VLAN Trunk Protocol (VTP)
In a switched environment a subnet corresponds to a VLAN, and a VLAN may map to a single Layer 2 switch, or it may span several switches, especially at the access layer. Also, it is likely that one or more VLANs may be present on any particular switch. VLAN Trunk Protocol (VTP) is a layer-2 messaging protocol that centralizes the management of VLAN additions, deletions and changes on a network-wide basis. This simplifies the management of large switched networks with many VLANs. A VTP domain is specified by the Network Engineer and consists of one or more interconnected switches that share the same VLAN configuration. A switch can only be configured as a member of a single VTP domain. Changes to the global VLAN configuration for the domain can be implemented using either the CLI or an SNMP session. Switches defined as part of VTP domains can be configured to operate in any of three VTP modes:
Server – Advertise VLAN configuration to other switches in the same VTP domain and synchronize with other switches in the domain. Can create, modify, and delete VLANs as well as modify VLAN configuration parameters such as VTP version and VTP pruning for the entire domain. This is the default mode for a switch.
Client - Advertise VLAN configuration to other switches in the same VTP domain and synchronize their VLAN configuration with other switches based on advertisements received over trunk links; however, they are unable to create, change, or delete VLAN configurations.
Transparent - Does not advertise its VLAN configuration and does not synchronize its VLAN configuration with other switches. In VTP version 2, transparent switches do forward VTP advertisements. Advertisement types include: requests from clients, summary advertisements and subset advertisements. An advertisement contains the VLAN IDs, the Emulated LAN names for ATM LANE, the 802.10 SAID values for FDDI, the VTP domain name, the VTP configuration revision number, the MTU size and the Frame format. VTP advertisements carry configuration revision numbers that are incremented everytime a VLAN is modified. This is used to identify the most recent changes to the network topology. When a switch finds an advertisement with a higher configuration revision number, it will save the new VTP database over the old one. A VLAN that does not exist in the new database is automatically deleted from the switch, and any ports that were in the VLAN will be orphaned. VTP pruning is a technique to limit VTP broadcast from branches of the network that do not contain member ports of a specific VLAN. By default, VTP pruning is disabled. VTP pruning must be enabled on a VTP server and promulgates pruning eligibility through the entire management domain. By default, VLAN 1 is always pruning-ineligible, and VLANs 2 through 1000 are pruning-eligible.
Hết phần 1
Comment