• 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.

LAB: Cấu hình Switch port, VLANs, Trunk, VTP, InterVLAN Routing ( P.4 )

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LAB: Cấu hình Switch port, VLANs, Trunk, VTP, InterVLAN Routing ( P.4 )

    Click image for larger version

Name:	switching%20CCNA.png
Views:	66
Size:	42.7 KB
ID:	425898





    !Nhóm 3:

    SW31:

    !

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    interface fastEthernet0/9

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    interface fastEthernet0/24

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp domain BCMSN3

    vtp pass CISCO

    !

    vlan 31

    name VLAN31

    !

    vlan 32

    name VLAN32

    !

    vlan 33

    name VLAN33

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 31

    !

    interface range fastEthernet0/10 - 16

    switchport mode access

    switchport access vlan 32

    !

    interface range fastEthernet0/17 - 23

    switchport mode access

    switchport access vlan 33

    !

    end





    SW32:

    !

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp mode client

    vtp domain BCMSN3

    vtp pass CISCO

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 31

    !

    interface range fastEthernet0/9 - 16

    switchport mode access

    switchport access vlan 32

    !

    interface range fastEthernet0/17 - 24

    switchport mode access

    switchport access vlan 33

    !

    end





    SW33:

    !

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp mode client

    vtp domain BCMSN3

    vtp pass CISCO

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 31

    !

    interface range fastEthernet0/9 - 16

    switchport mode access

    switchport access vlan 32

    !

    interface range fastEthernet0/17 - 24

    switchport mode access

    switchport access vlan 33

    !

    end



    R31:

    configure terminal

    !

    interface loop 0

    ip address 3.3.3.3 255.255.255.0

    !

    interface s0/0

    clock rate 64000

    ip address 192.168.2.3 255.255.255.0

    no shutdown

    !

    interface fastEthernet0/0

    no shutdown

    !

    interface fastEthernet0/0.31

    encapsulation dot1q 31

    ip address 172.18.1.1 255.255.255.0

    !

    interface fastEthernet0/0.32

    encapsulation dot1q 32

    ip address 172.18.2.1 255.255.255.0

    !

    interface fastEthernet0/0.33

    encapsulation dot1q 33

    ip address 172.18.3.1 255.255.255.0

    !

    router ospf 1

    network 0.0.0.0 255.255.255.255 are 0

    !

    end



    !kiem tra trunk

    #show int trunk



    !kiem tra vtp

    #show vtp status



    !kiem tra routing table

    #show ip route

Working...
X