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

2 switch 3650 + ring ???

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

  • 2 switch 3650 + ring ???

    Mình tập cấu hình 2 switch 3650 làm vòng ring mà ko được. Xin các bạn chỉ dùm. Cám ơn các bạn.


    file cấu hình switchA
    !
    version 12.2
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname switch3560-A
    !
    !
    !
    enable password cisco
    !
    !
    !
    ip routing
    !
    !
    !
    !
    !
    !
    !
    !
    no ip domain-lookup
    !
    !
    !
    !
    !
    !
    interface FastEthernet0/1
    !
    interface FastEthernet0/2
    switchport access vlan 10
    switchport mode access
    !
    interface FastEthernet0/3
    switchport access vlan 20
    switchport mode access
    !
    interface FastEthernet0/4
    !
    interface FastEthernet0/5
    !
    interface FastEthernet0/6
    !
    interface FastEthernet0/7
    !
    interface FastEthernet0/8
    !
    interface FastEthernet0/9
    !
    interface FastEthernet0/10
    !
    interface FastEthernet0/11
    !
    interface FastEthernet0/12
    !
    interface FastEthernet0/13
    !
    interface FastEthernet0/14
    !
    interface FastEthernet0/15
    !
    interface FastEthernet0/16
    !
    interface FastEthernet0/17
    !
    interface FastEthernet0/18
    !
    interface FastEthernet0/19
    !
    interface FastEthernet0/20
    !
    interface FastEthernet0/21
    !
    interface FastEthernet0/22
    !
    interface FastEthernet0/23
    !
    interface FastEthernet0/24
    !
    interface GigabitEthernet0/1
    shutdown
    !
    interface GigabitEthernet0/2
    !
    interface Vlan1
    no ip address
    shutdown
    !
    interface Vlan10
    ip address 192.168.10.1 255.255.255.0
    !
    interface Vlan20
    ip address 192.168.20.1 255.255.255.0
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.10.0 0.0.0.255 area 0
    network 192.168.20.0 0.0.0.255 area 0
    network 192.168.168.0 0.0.0.255 area 0
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    password cisco
    login
    line vty 0 4
    password cisco
    login
    !
    !
    !
    end

    file cấu hình switchB
    !
    version 12.2
    no service timestamps log datetime msec
    no service timestamps debug datetime msec
    no service password-encryption
    !
    hostname switch3560-B
    !
    !
    !
    enable password cisco
    !
    !
    !
    ip routing
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    interface FastEthernet0/1
    !
    interface FastEthernet0/2
    switchport access vlan 30
    switchport mode access
    !
    interface FastEthernet0/3
    switchport access vlan 40
    switchport mode access
    !
    interface FastEthernet0/4
    switchport access vlan 172
    switchport mode access
    !
    interface FastEthernet0/5
    !
    interface FastEthernet0/6
    !
    interface FastEthernet0/7
    !
    interface FastEthernet0/8
    !
    interface FastEthernet0/9
    !
    interface FastEthernet0/10
    !
    interface FastEthernet0/11
    !
    interface FastEthernet0/12
    !
    interface FastEthernet0/13
    !
    interface FastEthernet0/14
    !
    interface FastEthernet0/15
    !
    interface FastEthernet0/16
    !
    interface FastEthernet0/17
    !
    interface FastEthernet0/18
    !
    interface FastEthernet0/19
    !
    interface FastEthernet0/20
    !
    interface FastEthernet0/21
    !
    interface FastEthernet0/22
    !
    interface FastEthernet0/23
    !
    interface FastEthernet0/24
    !
    interface GigabitEthernet0/1
    switchport trunk encapsulation dot1q
    switchport mode trunk
    !
    interface GigabitEthernet0/2
    switchport trunk encapsulation dot1q
    switchport mode trunk
    shutdown
    !
    interface Vlan1
    no ip address
    shutdown
    !
    interface Vlan30
    ip address 192.168.30.1 255.255.255.0
    !
    interface Vlan40
    ip address 192.168.40.1 255.255.255.0
    !
    interface Vlan168
    ip address 192.168.168.2 255.255.255.0
    !
    interface Vlan172
    ip address 172.16.10.1 255.255.255.0
    !
    router ospf 1
    log-adjacency-changes
    network 192.168.30.0 0.0.0.255 area 0
    network 192.168.40.0 0.0.0.255 area 0
    network 192.168.168.0 0.0.0.255 area 0
    network 172.16.10.0 0.0.0.255 area 0
    !
    ip classless
    !
    !
    !
    !
    !
    !
    !
    line con 0
    password cisco
    login
    line vty 0 4
    password cisco
    login
    !
    !
    !
    end

  • #2
    Hi tari,
    Mình muốn khi đường trunk gi0/1 trên switch A nối gi0/1 trên switch B đứt thì đường trunk gi0/2 trên switch A nối với gi0/2 trên switch B sẽ tự up. 1 đường gi0/1 đứt là đường gi0/2 chạy bình thường.
    Cám ơn tari

    Comment


    • #3
      Không ai hiểu mô hình trên à huhu. Mình muốn đường gi0/2(SwitchA) ----------- gi0/2(SwitchB) làm đường secondary khi đường primary gi0/1(SwitchA) ----------- gi0/1(SwitchB) bị đứt. Các bạn và các anh chỉ giúp với. Cám ơn mọi người.

      Comment


      • #4
        Originally posted by nothingelse View Post
        Không ai hiểu mô hình trên à huhu. Mình muốn đường gi0/2(SwitchA) ----------- gi0/2(SwitchB) làm đường secondary khi đường primary gi0/1(SwitchA) ----------- gi0/1(SwitchB) bị đứt. Các bạn và các anh chỉ giúp với. Cám ơn mọi người.
        bạn shutdown gi0/1 thì làm sao nó tự động up được. Bạn có thể làm theo Tari cấu hình etherchannel, search trong vnpro có bài hướng dẫn đó.

        Comment

        Working...
        X