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

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

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

    Click image for larger version

Name:	switching%20CCNA.png
Views:	63
Size:	42.7 KB
ID:	425894



    !SW12:

    !

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp mode client

    vtp domain BCMSN1

    vtp pass CISCO

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 11

    !

    interface range fastEthernet0/9 - 16

    switchport mode access

    switchport access vlan 12

    !

    interface range fastEthernet0/17 - 24

    switchport mode access

    switchport access vlan 13

    !

    end





    SW13:

    configure terminal

    !

    interface fastEthernet0/8

    switchport trunk encapsulation dot1q

    switchport mode trunk

    !

    vtp mode client

    vtp domain BCMSN1

    vtp pass CISCO

    !

    interface range fastEthernet0/1 - 7

    switchport mode access

    switchport access vlan 11

    !

    interface range fastEthernet0/10 - 16

    switchport mode access

    switchport access vlan 12

    !

    interface range fastEthernet0/17 - 24

    switchport mode access

    switchport access vlan 13

    !

    end





    !R11:

    configure terminal

    !

    interface loopback0

    ip address 1.1.1.1 255.255.255.0

    !

    interface serial0/0

    clock rate 64000

    ip address 192.168.1.1 255.255.255.0

    no shutdown

    !

    interface fastEthernet0/0

    no shutdown

    !

    interface fastEthernet0/0.11

    encapsulation dot1q 11

    ip address 172.16.1.1 255.255.255.0

    !

    interface fastEthernet0/0.12

    encapsulation dot1q 12

    ip address 172.16.2.1 255.255.255.0

    !

    interface fastEthernet0/0.13

    encapsulation dot1q 13

    ip address 172.16.3.1 255.255.255.0

    !

    router ospf 1

    network 0.0.0.0 255.255.255.255 are 0

    !

    end


Working...
X