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.3 )

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

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

    Click image for larger version

Name:	switching%20CCNA.png
Views:	88
Size:	42.7 KB
ID:	425896


    !Nhóm 2:

    SW21:

    !

    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 BCMSN2

    vtp pass CISCO

    !

    vlan 21

    name VLAN21

    !

    vlan 22

    name VLAN22

    !

    vlan 23

    name VLAN23

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 21

    !

    interface range fastEthernet0/10 - 16

    switchport mode access

    switchport access vlan 22

    !

    interface range fastEthernet0/17 - 23

    switchport mode access

    switchport access vlan 23

    !

    end





    SW22:

    !

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp domain BCMSN2

    vtp mode client

    vtp pass CISCO

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 21

    !

    interface range fastEthernet0/9 - 16

    switchport mode access

    switchport access vlan 22

    !

    interface range fastEthernet0/17 - 24

    switchport mode access

    switchport access vlan 23

    !

    end





    SW23:

    !

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp domain BCMSN2

    vtp mode client

    vtp pass CISCO

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 21

    !

    interface range fastEthernet0/9 - 16

    switchport mode access

    switchport access vlan 22

    !

    interface range fastEthernet0/17 - 24

    switchport mode access

    switchport access vlan 23

    !

    end





    R21:

    !

    configure terminal

    !

    interface loopback0

    ip address 2.2.2.2 255.255.255.0

    !

    interface serial0/0

    clock rate 64000

    ip address 192.168.1.2 255.255.255.0

    no shutdown

    !

    interface serial0/1

    clock rate 64000

    ip address 192.168.2.2 255.255.255.0

    no shutdown

    !

    interface fastEthernet0/0

    no shutdown

    !

    interface fastEthernet0/0.21

    encapsulation dot1q 21

    ip address 172.17.1.1 255.255.255.0

    !

    interface fastEthernet0/0.22

    encapsulation dot1q 22

    ip address 172.17.2.1 255.255.255.0

    !

    interface fastEthernet0/0.23

    encapsulation dot1q 23

    ip address 172.17.3.1 255.255.255.0

    !

    router ospf 1

    network 0.0.0.0 255.255.255.255 are 0

    !

    end












Working...
X