• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

VTP Lab 1

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VTP Lab 1

    Question:
    The headquarter offices for a book retailer are enhancing their wiring closets with Layer3 switches. The new distribution-layer switch has been installed and a new access-layer switch cabled to it. Your task is to configure VTP to share VLAN information from the distribution-layer switch to the access-layer devices. Then, it is necessary to configure interVLAN routing on the distribution layer switch to route traffic between the different VLANs that are configured on the access-layer switches; however, it is not necessary for you to make the specific VLAN port assignments on the access-layer switches. Also, because VLAN database mode is being deprecated by Cisco, all VLAN and VTP configurations are to be completed in the global configuration mode. Please reference the following table for the VTP and VLAN information to be configured:
    Requirements:
    VTP Domain name cisco
    VLAN Ids 20 21 IP Addresses 172.16.71.1/24 172.16.132.1/24 These are your specific tasks:
    1. Configure the VTP information with the distribution layer switch as the VTP server
    2. Configure the VTP information with the access layer switch as a VTP client
    3. Configure VLANs on the distribution layer switch
    4. Configure inter-VLAN routing on the distribution layer switch
    5. Specific VLAN port assignments will be made as users are added to the access layer switches in the future.
    6. All VLANs and VTP configurations are to completed in the global configuration. To configure the switch click on the host icon that is connected to the switch be way of a serial console cable.
    Answer and Explanation:



    1) Configure the VTP information with the distribution layer switch as the VTP server:


    DLSwitch#configure terminal
    DLSwitch(config)#vtp mode server
    DLSwitch(config)#vtp domain cisco (use cisco, not CISCO because it is case sensitive)
    (Requirement 2 will be solved later)
    3) Configure VLANs on the distribution layer switch
    To create VLANs on a switch, use the vlan vlanID# command:
    DLSwitch(config)#vlan 20
    DLSwitch(config)#vlan 21
    Configure Ip addresses for Vlans:
    DLSwitch(config)#interface vlan 20
    DLSwitch(if-config)#ip address 172.16.71.1 255.255.255.0
    DLSwitch(if-config)#no shutdown
    DLSwitch(if-config)#interface vlan 21
    DLSwitch(if-config)#ip address 172.16.132.1 255.255.255.0
    DLSwitch(if-config)#no shutdown
    DLSwitch(if-config)#exit
    4) Configure inter-VLAN routing on the distribution layer switch

    DLSwitch(config)#ip routing
    DLSwitch(config)#exit
    DLSwitch#copy running-config startup-config
    2) Configure the VTP information with the access layer switch as a VTP client
    ALSwitch#configure terminal
    ALSwitch(config)#vtp mode client
    ALSwitch(config)#vtp domain cisco
    ALSwitch(config)#exit
    ALSwitch#copy running-config startup-config
    (Notice: Many reports said the copy running-config startup-config didn’t work but they still got the full mark)
    Phạm Minh Tuấn

    Email : phamminhtuan@vnpro.org
    Yahoo : phamminhtuan_vnpro
    -----------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog
Working...
X