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.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by logmeinvietnam View Post
    Chào bạn,
    Mình xem qua traceroute của bạn và bản routing thì nó không hợp lí lắm.
    Mặc dầu trong bản routing thì đi qua 192.168.5.2 để tới 192.168.6.6 nhưng traceroute thi lại đi qua 192.168.1.2.

    Cho nên cost trong OSPF bạn chỉnh nó về mặc định hết đi.
    Cộng với làm như thầy Minh nói nữa có thể OK.
    Đúng là mình có chỉnh lại cost, để mình trả về default xem thế nào
    Cảm ơn nhiều!

    Comment


    • #17
      Re: Help

      Chào Thầy và các mod

      Hiện tại Hiệu đã làm theo cách thầy Minh chỉ nhưng mô hình hiện vẫn chưa chạy! Vẫn bị loop tại lớp DSW, Hiệu làm theo logmeinvietnam bỏ ospf cost đi
      Sau đây là bảng route trên các con thầy và các bạn xem cho nào sai thì chỉ dùm


      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      SG1-DSW-001#sho ip ospf neighbor

      Neighbor ID Pri State Dead Time Address Interface
      2.2.2.2 1 FULL/BDR 00:00:36 192.168.3.1 FastEthernet0/0
      4.4.4.4 1 FULL/BDR 00:00:37 192.168.1.1 FastEthernet0/1
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      SG1-CSW-001#sho ip ospf neighbor

      Neighbor ID Pri State Dead Time Address Interface
      7.7.7.7 1 FULL/DR 00:00:32 192.168.5.2 FastEthernet1/0
      8.8.8.8 1 FULL/DR 00:00:34 192.168.1.2 FastEthernet0/1

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      SG1-DSW-001#sho standby brief
      P indicates configured to preempt.
      |
      Interface Grp Prio P State Active Standby Virtual IP
      Vl2 10 150 P Active local 192.168.2.3 192.168.2.1
      Vl4 20 150 P Active local 192.168.4.3 192.168.4.1
      Vl8 30 150 P Active local 192.168.8.3 192.168.8.1
      Vl52 40 150 P Active local 192.168.6.3 192.168.6.1
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

      Bảng Route

      SG1-CSW-001#sho ip route

      Gateway of last resort is not set

      192.168.8.0/26 is subnetted, 1 subnets
      O E2 192.168.8.0 [110/20] via 192.168.5.2, 00:12:41, FastEthernet1/0
      [110/20] via 192.168.1.2, 00:12:41, FastEthernet0/1
      192.168.9.0/30 is subnetted, 1 subnets
      C 192.168.9.0 is directly connected, FastEthernet0/0
      192.168.11.0/30 is subnetted, 1 subnets
      O 192.168.11.0 [110/3] via 192.168.1.2, 00:12:41, FastEthernet0/1
      [110/3] via 192.168.5.2, 00:12:41, FastEthernet1/0
      192.168.4.0/26 is subnetted, 1 subnets
      O E2 192.168.4.0 [110/20] via 192.168.5.2, 00:12:41, FastEthernet1/0
      [110/20] via 192.168.1.2, 00:12:41, FastEthernet0/1
      192.168.5.0/30 is subnetted, 1 subnets
      C 192.168.5.0 is directly connected, FastEthernet1/0
      192.168.6.0/26 is subnetted, 1 subnets
      O E2 192.168.6.0 [110/20] via 192.168.5.2, 00:12:42, FastEthernet1/0
      [110/20] via 192.168.1.2, 00:12:42, FastEthernet0/1
      192.168.7.0/30 is subnetted, 1 subnets
      O 192.168.7.0 [110/2] via 192.168.5.2, 00:12:42, FastEthernet1/0
      192.168.1.0/30 is subnetted, 1 subnets
      C 192.168.1.0 is directly connected, FastEthernet0/1
      192.168.2.0/26 is subnetted, 1 subnets
      O E2 192.168.2.0 [110/20] via 192.168.5.2, 00:12:42, FastEthernet1/0
      [110/20] via 192.168.1.2, 00:12:42, FastEthernet0/1
      192.168.3.0/30 is subnetted, 1 subnets
      O 192.168.3.0 [110/2] via 192.168.1.2, 00:12:42, FastEthernet0/1

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!

      SG1-DSW-001#sho ip route

      Gateway of last resort is not set

      192.168.8.0/26 is subnetted, 1 subnets
      C 192.168.8.0 is directly connected, Vlan8
      192.168.9.0/30 is subnetted, 1 subnets
      O 192.168.9.0 [110/2] via 192.168.1.1, 00:13:41, FastEthernet0/1
      192.168.11.0/30 is subnetted, 1 subnets
      O 192.168.11.0 [110/2] via 192.168.3.1, 00:13:41, FastEthernet0/0
      192.168.4.0/26 is subnetted, 1 subnets
      C 192.168.4.0 is directly connected, Vlan4
      192.168.5.0/30 is subnetted, 1 subnets
      O 192.168.5.0 [110/2] via 192.168.1.1, 00:13:41, FastEthernet0/1
      192.168.6.0/26 is subnetted, 1 subnets
      C 192.168.6.0 is directly connected, Vlan52
      192.168.7.0/30 is subnetted, 1 subnets
      O 192.168.7.0 [110/2] via 192.168.3.1, 00:13:42, FastEthernet0/0
      192.168.1.0/30 is subnetted, 1 subnets
      C 192.168.1.0 is directly connected, FastEthernet0/1
      192.168.2.0/26 is subnetted, 1 subnets
      C 192.168.2.0 is directly connected, Vlan2
      192.168.3.0/30 is subnetted, 1 subnets
      C 192.168.3.0 is directly connected, FastEthernet0/0

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

      SG1-ASW-001#sho ip route

      Default gateway is not set

      Host Gateway Last Use Total Uses Interface
      ICMP redirect cache is empty

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!

      SG1-CSW-001#traceroute 192.168.6.6

      Type escape sequence to abort.
      Tracing the route to 192.168.6.6

      1 192.168.5.2 40 msec
      192.168.1.2 52 msec
      192.168.5.2 72 msec
      2 192.168.6.3 44 msec
      192.168.6.2 100 msec
      192.168.6.3 16 msec
      3 192.168.6.3 32 msec
      192.168.6.2 112 msec
      192.168.6.3 72 msec
      4 192.168.6.3 92 msec
      192.168.6.2 140 msec
      192.168.6.3 124 msec

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!

      SG1-DSW-001#traceroute 192.168.6.6

      Type escape sequence to abort.
      Tracing the route to 192.168.6.6

      1 192.168.6.3 72 msec 52 msec
      2 192.168.6.2 24 msec 20 msec 16 msec
      3 192.168.6.3 52 msec 68 msec 48 msec
      4 192.168.6.2 84 msec 60 msec 60 msec
      5 192.168.6.3 48 msec 148 msec 128 msec
      6 192.168.6.2 76 msec 124 msec 56 msec

      PC>Tracert 192.168.9.1

      Tracing route to 192.168.9.1 over a maximum of 30 hops

      1 54 ms 52 ms 21 ms 192.168.6.2
      2 38 ms 42 ms 25 ms 192.168.9.1

      Trace complete.

      :):):):):):)

      Comment


      • #18
        Chào bạn,

        B1: Bạn show run SG1-DSW-001 và SG1-DSW-002 cho mình xem.
        B2: Trên pc bạn gõ arp -d--> Sau đó bạn tracert 192.168.9.1--> rồi gõ arp -a --->show kết quả arp -a lên cho mình xem thử.
        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

        Comment


        • #19
          Re: logmeinvietnam

          Originally posted by logmeinvietnam View Post
          Chào bạn,

          B1: Bạn show run SG1-DSW-001 và SG1-DSW-002 cho mình xem.
          B2: Trên pc bạn gõ arp -d--> Sau đó bạn tracert 192.168.9.1--> rồi gõ arp -a --->show kết quả arp -a lên cho mình xem thử.
          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          SG1-DSW-001# sho run
          hostname SG1-DSW-001
          !
          no ip domain lookup
          !
          ip cef
          !
          spanning-tree backbonefast
          spanning-tree vlan 2 priority 8192
          spanning-tree vlan 4 priority 8192
          spanning-tree vlan 8 priority 8192
          spanning-tree vlan 52 priority 8192
          !
          interface FastEthernet0/0
          description Noi SG1-CSW-002
          ip address 192.168.3.2 255.255.255.252
          !
          interface FastEthernet0/1
          description Noi SG1-CSW-001
          ip address 192.168.1.2 255.255.255.252
          !
          interface FastEthernet1/0
          switchport mode trunk
          no ip address
          !
          interface FastEthernet1/1
          switchport mode trunk
          no ip address
          !
          interface FastEthernet1/2
          switchport mode trunk
          no ip address
          !
          interface FastEthernet1/3
          switchport mode trunk
          no ip address
          !
          interface Vlan2
          description Data
          ip address 192.168.2.2 255.255.255.192
          no ip redirects
          standby 10 ip 192.168.2.1
          standby 10 priority 150
          standby 10 preempt
          !
          interface Vlan4
          description Management
          ip address 192.168.4.2 255.255.255.192
          no ip redirects
          standby 20 ip 192.168.4.1
          standby 20 priority 150
          standby 20 preempt
          !
          interface Vlan8
          description Desktop
          ip address 192.168.8.2 255.255.255.192
          no ip redirects
          standby 30 ip 192.168.8.1
          standby 30 priority 150
          standby 30 preempt
          !
          interface Vlan 52
          description IT
          ip address 192.168.6.2 255.255.255.192
          no ip redirects
          standby 40 ip 192.168.6.1
          standby 40 priority 150
          standby 40 preempt
          !
          router ospf 1
          router-id 8.8.8.8
          log-adjacency-changes
          redistribute connected subnets
          redistribute static subnets
          passive-interface FastEthernet1/0
          passive-interface FastEthernet1/1
          passive-interface FastEthernet1/2
          passive-interface FastEthernet1/3
          passive-interface Vlan2
          passive-interface Vlan4
          passive-interface Vlan8
          passive-interface Vlan52
          network 192.168.1.0 0.0.0.3 area 0
          network 192.168.3.0 0.0.0.3 area 0
          default-information originate

          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


          SG1-DSW-002# sho run
          !
          hostname SG1-DSW-002
          !
          no ip domain lookup
          !
          ip cef
          !
          spanning-tree backbonefast
          spanning-tree vlan 2 priority 16384
          spanning-tree vlan 4 priority 16384
          spanning-tree vlan 8 priority 16384
          spanning-tree vlan 52 priority 16384
          !
          interface FastEthernet0/0
          description Noi SG1-CSW-001
          ip address 192.168.5.2 255.255.255.252
          !
          interface FastEthernet0/1
          description Noi SG1-CSW-002
          ip address 192.168.7.2 255.255.255.252
          !
          interface FastEthernet1/0
          switchport mode trunk
          no ip address
          !
          interface FastEthernet1/1
          switchport mode trunk
          no ip address
          !
          interface FastEthernet1/2
          switchport mode trunk
          no ip address
          !
          interface FastEthernet1/3
          switchport mode trunk
          no ip address
          !
          interface Vlan 2
          description Data
          ip address 192.168.2.3 255.255.255.192
          no ip redirects
          standby 10 ip 192.168.2.1
          standby 10 priority 50
          standby 10 preempt
          !
          interface Vlan 4
          description Management
          ip address 192.168.4.3 255.255.255.192
          no ip redirects
          standby 20 ip 192.168.4.1
          standby 20 priority 50
          standby 20 preempt
          !
          interface Vlan 8
          description Desktop
          ip address 192.168.8.3 255.255.255.192
          no ip redirects
          standby 30 ip 192.168.8.1
          standby 30 priority 50
          standby 30 preempt
          !
          interface Vlan 52
          description IT
          ip address 192.168.6.3 255.255.255.192
          no ip redirects
          standby 40 ip 192.168.6.1
          standby 40 priority 50
          standby 40 preempt
          !
          router ospf 1
          router-id 7.7.7.7
          log-adjacency-changes
          redistribute connected subnets
          redistribute static subnets
          passive-interface FastEthernet1/0
          passive-interface FastEthernet1/1
          passive-interface FastEthernet1/2
          passive-interface FastEthernet1/3
          passive-interface Vlan2
          passive-interface Vlan4
          passive-interface Vlan8
          passive-interface Vlan52
          network 192.168.5.0 0.0.0.3 area 0
          network 192.168.7.0 0.0.0.3 area 0
          default-information originate

          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          PC>arp -a

          Interface: 192.168.6.6 --- 0x2
          Internet Address Physical Address Type
          192.168.6.1 00-00-0c-07-ac-28 dynamic

          :):):):)
          Last edited by huyhieunol; 13-07-2009, 01:16 PM. Reason: Sửa Lỗi

          Comment


          • #20
            Re: logmeinvietnam và các mod đâu rùi help me!

            Originally posted by logmeinvietnam View Post
            Chào bạn,

            B1: Bạn show run SG1-DSW-001 và SG1-DSW-002 cho mình xem.
            B2: Trên pc bạn gõ arp -d--> Sau đó bạn tracert 192.168.9.1--> rồi gõ arp -a --->show kết quả arp -a lên cho mình xem thử.
            :):):):):)

            Comment


            • #21
              Chào bạn,

              Bạn show run cho mình
              + SG1-CSW-001
              + SG1-ASW-001
              Và bạn show cdp neigh của DSW001 và DSW002 cho mình.

              Cám ơn bạn.
              Last edited by phamminhtuan; 14-07-2009, 02:34 PM.
              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

              Comment


              • #22
                Originally posted by logmeinvietnam View Post
                Chào bạn,

                Bạn show run cho mình
                + SG1-CSW-001
                + SG1-ASW-001
                Và bạn show cdp neigh của DSW001 và DSW002 cho mình.

                Cám ơn bạn.
                Show cdp neigh của DSW001 và DSW002 cho mình.

                SG1-DSW-001#sho cdp neighbors detail
                -------------------------
                Device ID: SG1-CSW-002
                Entry address(es):
                IP address: 192.168.3.1
                Platform: cisco 3660, Capabilities: Router Switch
                Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet1/0
                Holdtime : 120 sec

                advertisement version: 2
                VTP Management Domain: ''
                Duplex: full

                -------------------------
                Device ID: SG1-ASW-001
                Entry address(es):
                Platform: cisco 3660, Capabilities: Switch
                Interface: FastEthernet1/0, Port ID (outgoing port): FastEthernet1/0
                Holdtime : 151 sec


                advertisement version: 2
                VTP Management Domain: 'ttmssg'
                Duplex: full

                -------------------------
                Device ID: SG1-ASW-002
                Entry address(es):
                Platform: cisco 3660, Capabilities: Switch
                Interface: FastEthernet1/3, Port ID (outgoing port): FastEthernet1/3
                Holdtime : 177 sec


                advertisement version: 2
                VTP Management Domain: 'ttmssg'
                Duplex: full

                -------------------------
                Device ID: SG1-CSW-001
                Entry address(es):
                IP address: 192.168.1.1
                Platform: cisco 3660, Capabilities: Router Switch
                Interface: FastEthernet0/1, Port ID (outgoing port): FastEthernet0/1
                Holdtime : 120 sec

                -------------------------
                Device ID: SG1-DSW-002
                Entry address(es):
                IP address: 192.168.2.3
                Platform: cisco 3660, Capabilities: Router Switch
                Interface: FastEthernet1/2, Port ID (outgoing port): FastEthernet1/2
                Holdtime : 159 sec

                advertisement version: 2
                VTP Management Domain: 'ttmssg'
                Duplex: full

                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                SG1-DSW-002#sho cdp neighbors detail
                -------------------------
                Device ID: SG1-CSW-002
                Entry address(es):
                IP address: 192.168.7.1
                Platform: cisco 3660, Capabilities: Router Switch
                Interface: FastEthernet0/1, Port ID (outgoing port): FastEthernet0/1
                Holdtime : 129 sec

                advertisement version: 2
                VTP Management Domain: ''
                Duplex: full

                -------------------------
                Device ID: SG1-ASW-001
                Entry address(es):
                Platform: cisco 3660, Capabilities: Switch
                Interface: FastEthernet1/3, Port ID (outgoing port): FastEthernet1/3
                Holdtime : 161 sec

                advertisement version: 2
                VTP Management Domain: 'ttmssg'
                Duplex: full

                -------------------------
                Device ID: SG1-ASW-002
                Entry address(es):
                Platform: cisco 3660, Capabilities: Switch
                Interface: FastEthernet1/0, Port ID (outgoing port): FastEthernet1/0
                Holdtime : 127 sec

                advertisement version: 2
                VTP Management Domain: 'ttmssg'
                Duplex: full

                -------------------------
                Device ID: SG1-CSW-001
                Entry address(es):
                IP address: 192.168.5.1
                Platform: cisco 3660, Capabilities: Router Switch
                Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet1/0
                Holdtime : 130 sec

                advertisement version: 2
                VTP Management Domain: ''
                Duplex: full

                -------------------------
                Device ID: SG1-DSW-001

                Entry address(es):
                IP address: 192.168.2.2
                Platform: cisco 3660, Capabilities: Router Switch
                Interface: FastEthernet1/2, Port ID (outgoing port): FastEthernet1/2
                Holdtime : 170 sec


                advertisement version: 2
                VTP Management Domain: 'ttmssg'
                Duplex: full
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!
                Bạn show run cho mình
                + SG1-CSW-001
                + SG1-ASW-001


                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                SG1-CSW-001#sho run
                !
                hostname SG1-CSW-001
                !
                no ip domain lookup
                !
                ip cef
                !
                interface FastEthernet0/0
                description Noi SG1-RTR-001
                ip address 192.168.9.1 255.255.255.252
                !
                interface FastEthernet0/1
                description Noi SG1-DSW-001
                ip address 192.168.1.1 255.255.255.252
                !
                interface FastEthernet1/0
                description Noi SG1-DSW-002
                ip address 192.168.5.1 255.255.255.252
                !
                router ospf 1
                router-id 4.4.4.4
                log-adjacency-changes
                redistribute connected subnets
                redistribute static subnets
                network 192.168.1.0 0.0.0.3 area 0
                network 192.168.5.0 0.0.0.3 area 0
                network 192.168.9.0 0.0.0.3 area 0

                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                SG1-ASW-001#sho run
                !
                hostname SG1-ASW-001
                !
                no ip routing
                !
                !
                no ip domain lookup
                !
                no ip cef
                !
                spanning-tree uplinkfast
                spanning-tree backbonefast
                !
                interface FastEthernet1/0
                switchport trunk allowed vlan 1,2,4,8,52,1002-1005
                switchport mode trunk
                no ip address
                spanning-tree portfast
                !
                interface FastEthernet1/1
                switchport trunk allowed vlan 1,2,4,8,52,1002-1005
                switchport mode trunk
                no ip address
                spanning-tree portfast
                !
                interface FastEthernet1/2
                switchport trunk allowed vlan 1,2,4,8,52,1002-1005
                switchport mode trunk
                no ip address
                spanning-tree portfast
                !
                interface FastEthernet1/3
                switchport trunk allowed vlan 1,2,4,8,52,1002-1005
                switchport mode trunk
                no ip address
                spanning-tree portfast
                spanning-tree port-priority 200
                spanning-tree cost 64
                !
                interface FastEthernet1/8
                switchport access vlan 52
                no ip address
                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                :):):):):):)

                He he! Thế là mình sho hết rùi đó còn Vlan mình sho lun cho khỏi mất công

                SG1-ASW-001#sho vlan-s


                VLAN Name Status Ports
                ---- -------------------------------- --------- -------------------------------
                1 default active Fa1/1, Fa1/2, Fa1/4, Fa1/5
                Fa1/6, Fa1/7, Fa1/9, Fa1/10
                Fa1/11, Fa1/12, Fa1/13, Fa1/14
                Fa1/15
                2 Data active
                4 Management active
                8 Desktop active
                52 IT active Fa1/8

                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                SG1-DSW-001#sho vlan-s

                VLAN Name Status Ports
                ---- -------------------------------- --------- -------------------------------
                1 default active Fa1/1, Fa1/4, Fa1/5, Fa1/6
                Fa1/7, Fa1/8, Fa1/9, Fa1/10
                Fa1/11, Fa1/12, Fa1/13, Fa1/14
                Fa1/15
                2 Data active
                4 Management active
                8 Desktop active
                52 IT active


                :):):):):)
                Anh em và các Mode help dùm nha, mình làm hoài không được

                Comment


                • #23
                  Chào bạn,
                  Mình lấy file show run của bạn chỉnh sửa. Bây giờ traceroute hết loop rồi, bạn coi theo đó nha.

                  SG1-CSW-001#traceroute 192.168.6.6

                  Type escape sequence to abort.
                  Tracing the route to 192.168.6.6

                  1 192.168.1.2 68 msec
                  192.168.5.2 20 msec
                  192.168.1.2 44 msec
                  2 192.168.6.2 152 msec
                  192.168.6.6 64 msec 68 msec

                  ++++++++++++++++++++++++++++++++++++++
                  SG1-CSW-001#sh run
                  Building configuration...

                  Current configuration : 1000 bytes
                  !
                  version 12.3
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname SG1-CSW-001
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  ip subnet-zero
                  !
                  !
                  !
                  ip cef
                  ip audit po max-events 100
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface FastEthernet0/0
                  description Noi SG1-RTR-001
                  ip address 192.168.9.1 255.255.255.252
                  duplex auto
                  speed auto
                  no keepalive
                  !
                  interface FastEthernet0/1
                  description Noi SG1-DSW-001
                  ip address 192.168.1.1 255.255.255.252
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet1/0
                  description Noi SG1-DSW-002
                  ip address 192.168.5.1 255.255.255.252
                  duplex auto
                  speed auto
                  !
                  router ospf 1
                  router-id 4.4.4.4
                  log-adjacency-changes
                  network 192.168.1.0 0.0.0.3 area 0
                  network 192.168.5.0 0.0.0.3 area 0
                  network 192.168.9.0 0.0.0.3 area 0
                  !
                  ip http server
                  no ip http secure-server
                  ip classless
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  logging synchronous
                  line aux 0
                  line vty 0 4
                  !
                  !
                  end

                  SG1-CSW-001#




                  ++++++++++++++++++++++++++++++++++++++++++++++++++ ++
                  SG1-ASW-001#sh run
                  Building configuration...

                  Current configuration : 1191 bytes
                  !
                  version 12.4
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname SG1-ASW-001
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  !
                  resource policy
                  !
                  memory-size iomem 5
                  ip cef
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface FastEthernet0/0
                  no ip address
                  shutdown
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet0/1
                  no ip address
                  shutdown
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet1/0
                  switchport mode trunk
                  !
                  interface FastEthernet1/1
                  !
                  interface FastEthernet1/2
                  !
                  interface FastEthernet1/3
                  switchport mode trunk
                  !
                  interface FastEthernet1/4
                  !
                  interface FastEthernet1/5
                  !
                  interface FastEthernet1/6
                  !
                  interface FastEthernet1/7
                  !
                  interface FastEthernet1/8
                  switchport access vlan 52
                  !
                  interface FastEthernet1/9
                  !
                  interface FastEthernet1/10
                  !
                  interface FastEthernet1/11
                  !
                  interface FastEthernet1/12
                  !
                  interface FastEthernet1/13
                  !
                  interface FastEthernet1/14
                  !
                  interface FastEthernet1/15
                  !
                  interface Vlan1
                  no ip address
                  !
                  !
                  !
                  ip http server
                  no ip http secure-server
                  !
                  !
                  !
                  !
                  !
                  control-plane
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  exec-timeout 0 0
                  logging synchronous
                  line aux 0
                  line vty 0 4
                  !
                  !
                  end

                  SG1-ASW-001#


                  ++++++++++++++++++++++++++++++++++++++++++++++++
                  SG1-DSW-001#sh run
                  Building configuration...

                  Current configuration : 2139 bytes
                  !
                  version 12.3
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname SG1-DSW-001
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  ip subnet-zero
                  !
                  !
                  !
                  ip cef
                  ip audit po max-events 100
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  spanning-tree vlan 2 priority 8192
                  spanning-tree vlan 52 priority 8192
                  !
                  !
                  !
                  !
                  !
                  !
                  interface FastEthernet0/0
                  no ip address
                  shutdown
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet0/1
                  description Noi SG1-CSW-001
                  ip address 192.168.1.2 255.255.255.252
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet1/0
                  switchport mode trunk
                  no ip address
                  !
                  interface FastEthernet1/1
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/2
                  switchport mode trunk
                  no ip address
                  !
                  interface FastEthernet1/3
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/4
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/5
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/6
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/7
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/8
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/9
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/10
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/11
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/12
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/13
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/14
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/15
                  no ip address
                  shutdown
                  !
                  interface Vlan1
                  no ip address
                  shutdown
                  !
                  interface Vlan2
                  description Data
                  ip address 192.168.2.2 255.255.255.192
                  no ip redirects
                  standby 10 ip 192.168.2.1
                  standby 10 priority 150
                  standby 10 preempt
                  !
                  interface Vlan52
                  description IT
                  ip address 192.168.6.2 255.255.255.192
                  no ip redirects
                  standby 40 ip 192.168.6.1
                  standby 40 priority 150
                  standby 40 preempt
                  !
                  router ospf 1
                  router-id 8.8.8.8
                  log-adjacency-changes
                  redistribute connected subnets
                  network 192.168.1.0 0.0.0.3 area 0
                  !
                  ip http server
                  no ip http secure-server
                  ip classless
                  !
                  !
                  mac-address-table static 0000.0c07.ac0a interface FastEthernet1/2 vlan 2
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  line aux 0
                  line vty 0 4
                  !
                  !
                  end

                  SG1-DSW-001#

                  ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
                  SG1-DSW-002#sh run
                  Building configuration...

                  Current configuration : 2027 bytes
                  !
                  version 12.3
                  service timestamps debug datetime msec
                  service timestamps log datetime msec
                  no service password-encryption
                  !
                  hostname SG1-DSW-002
                  !
                  boot-start-marker
                  boot-end-marker
                  !
                  !
                  no aaa new-model
                  ip subnet-zero
                  !
                  !
                  !
                  ip cef
                  ip audit po max-events 100
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  interface FastEthernet0/0
                  description Noi SG1-CSW-001
                  ip address 192.168.5.2 255.255.255.252
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet0/1
                  no ip address
                  shutdown
                  duplex auto
                  speed auto
                  !
                  interface FastEthernet1/0
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/1
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/2
                  switchport mode trunk
                  no ip address
                  !
                  interface FastEthernet1/3
                  switchport mode trunk
                  no ip address
                  !
                  interface FastEthernet1/4
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/5
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/6
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/7
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/8
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/9
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/10
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/11
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/12
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/13
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/14
                  no ip address
                  shutdown
                  !
                  interface FastEthernet1/15
                  no ip address
                  shutdown
                  !
                  interface Vlan1
                  no ip address
                  shutdown
                  !
                  interface Vlan2
                  description Data
                  ip address 192.168.2.3 255.255.255.192
                  no ip redirects
                  standby 10 ip 192.168.2.1
                  standby 10 priority 50
                  standby 10 preempt
                  !
                  interface Vlan52
                  description IT
                  ip address 192.168.6.3 255.255.255.192
                  no ip redirects
                  standby 40 ip 192.168.6.1
                  standby 40 priority 50
                  standby 40 preempt
                  !
                  router ospf 1
                  router-id 7.7.7.7
                  log-adjacency-changes
                  redistribute connected subnets
                  network 192.168.5.0 0.0.0.3 area 0
                  network 192.168.7.0 0.0.0.3 area 0
                  !
                  ip http server
                  no ip http secure-server
                  ip classless
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  !
                  line con 0
                  line aux 0
                  line vty 0 4
                  !
                  !
                  end

                  SG1-DSW-002#


                  ++++++++++++++++++++++++++++++++++++++++++++++++++ ++
                  SG1-DSW-001#sh spanning-tree

                  VLAN1 is executing the ieee compatible Spanning Tree protocol
                  Bridge Identifier has priority 32768, address cc01.0304.0000
                  Configured hello time 2, max age 20, forward delay 15
                  Current root has priority 32768, address c203.0304.0000
                  Root port is 41 (FastEthernet1/0), cost of root path is 19
                  Topology change flag not set, detected flag not set
                  Number of topology changes 3 last change occurred 00:25:08 ago
                  from FastEthernet1/2
                  Times: hold 1, topology change 35, notification 2
                  hello 2, max age 20, forward delay 15
                  Timers: hello 0, topology change 0, notification 0, aging 0

                  Port 41 (FastEthernet1/0) of VLAN1 is forwarding
                  Port path cost 19, Port priority 128, Port Identifier 128.41.
                  Designated root has priority 32768, address c203.0304.0000
                  Designated bridge has priority 32768, address c203.0304.0000
                  Designated port id is 128.41, designated path cost 0
                  Timers: message age 1, forward delay 0, hold 0
                  Number of transitions to forwarding state: 1
                  BPDU: sent 3, received 799

                  Port 43 (FastEthernet1/2) of VLAN1 is forwarding
                  Port path cost 19, Port priority 128, Port Identifier 128.43.
                  Designated root has priority 32768, address c203.0304.0000
                  Designated bridge has priority 32768, address cc01.0304.0000
                  Designated port id is 128.43, designated path cost 19
                  Timers: message age 0, forward delay 0, hold 0
                  Number of transitions to forwarding state: 1
                  BPDU: sent 1591, received 26


                  VLAN2 is executing the ieee compatible Spanning Tree protocol
                  Bridge Identifier has priority 8192, address cc01.0304.0002
                  Configured hello time 2, max age 20, forward delay 15
                  We are the root of the spanning tree
                  Topology change flag not set, detected flag not set
                  Number of topology changes 1 last change occurred 00:08:57 ago
                  from FastEthernet1/0
                  Times: hold 1, topology change 35, notification 2
                  hello 2, max age 20, forward delay 15
                  Timers: hello 0, topology change 0, notification 0, aging 0

                  Port 41 (FastEthernet1/0) of VLAN2 is forwarding
                  Port path cost 19, Port priority 128, Port Identifier 128.41.
                  Designated root has priority 8192, address cc01.0304.0002
                  Designated bridge has priority 8192, address cc01.0304.0002
                  Designated port id is 128.41, designated path cost 0
                  Timers: message age 0, forward delay 0, hold 0
                  Number of transitions to forwarding state: 1
                  BPDU: sent 282, received 0

                  Port 43 (FastEthernet1/2) of VLAN2 is forwarding
                  Port path cost 19, Port priority 128, Port Identifier 128.43.
                  Designated root has priority 8192, address cc01.0304.0002
                  Designated bridge has priority 8192, address cc01.0304.0002
                  Designated port id is 128.43, designated path cost 0
                  Timers: message age 0, forward delay 0, hold 0
                  Number of transitions to forwarding state: 1
                  BPDU: sent 283, received 1


                  VLAN52 is executing the ieee compatible Spanning Tree protocol
                  Bridge Identifier has priority 8192, address cc01.0304.0001
                  Configured hello time 2, max age 20, forward delay 15
                  We are the root of the spanning tree
                  Topology change flag not set, detected flag not set
                  Number of topology changes 2 last change occurred 00:12:04 ago
                  from FastEthernet1/0
                  Times: hold 1, topology change 35, notification 2
                  hello 2, max age 20, forward delay 15
                  Timers: hello 0, topology change 0, notification 0, aging 0

                  Port 41 (FastEthernet1/0) of VLAN52 is forwarding
                  Port path cost 19, Port priority 128, Port Identifier 128.41.
                  Designated root has priority 8192, address cc01.0304.0001
                  Designated bridge has priority 8192, address cc01.0304.0001
                  Designated port id is 128.41, designated path cost 0
                  Timers: message age 0, forward delay 0, hold 0
                  Number of transitions to forwarding state: 1
                  BPDU: sent 806, received 1

                  Port 43 (FastEthernet1/2) of VLAN52 is forwarding
                  Port path cost 19, Port priority 128, Port Identifier 128.43.
                  Designated root has priority 8192, address cc01.0304.0001
                  Designated bridge has priority 8192, address cc01.0304.0001
                  Designated port id is 128.43, designated path cost 0
                  Timers: message age 0, forward delay 0, hold 0
                  Number of transitions to forwarding state: 1
                  BPDU: sent 802, received 0

                  SG1-DSW-001#


                  ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++
                  SG1-DSW-001#sh standby vlan 52
                  Vlan52 - Group 40
                  State is Active
                  2 state changes, last state change 00:27:03
                  Virtual IP address is 192.168.6.1
                  Active virtual MAC address is 0000.0c07.ac28
                  Local virtual MAC address is 0000.0c07.ac28 (default)
                  Hello time 3 sec, hold time 10 sec
                  Next hello sent in 2.212 secs
                  Preemption enabled
                  Active router is local
                  Standby router is 192.168.6.3, priority 50 (expires in 9.756 sec)
                  Priority 150 (configured 150)
                  IP redundancy name is "hsrp-Vl52-40" (default)
                  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

                  Comment


                  • #24
                    Originally posted by logmeinvietnam View Post
                    Chào bạn,
                    Mình lấy file show run của bạn chỉnh sửa. Bây giờ traceroute hết loop rồi, bạn coi theo đó nha.
                    Chào Tuấn!
                    Hiệu thấy đâu có khác gì file cấu hình của Hiệu đâu! Tuấn chỉ dùm xem Hiệu sai cho nào với! Theo như Tuấn làm thì chỉnh lại lớp CSW-001 nhưng vấn đề Hiệu gặp phải đang nằm ở lớp DSW mà.
                    Tuấn chỉ dùm nha!
                    Àh mà Tuấn cho Hiệu hỏi là sao trên SG1-ASW-001 Hiệu không thấy Tuấn tắt routing đi vậy
                    :):):):):)
                    Last edited by huyhieunol; 14-07-2009, 06:25 PM.

                    Comment


                    • #25
                      Re: Thầy dangquangminh

                      Originally posted by dangquangminh View Post
                      bạn nên cấu hình đồng bộ các yêu cầu như sau:

                      - Con SG-DS1-001 là router DR trong mạng OSPF, con kia là BDR.
                      - Con SG-DS1-001 là active router trong HSRP.
                      - Con SG-DS1-001 cũng là root primary của spanning tree trên các vlan. Con DSW còn là là root scecondary của spanning tree.

                      Nghĩa là, bạn cần thiết kế sao cho các Distribution layer switch có vai trò nhất quán cho cả ba giao thức mà bạn sử dụng: OSPF, HSRP và spanning tree.

                      - Chào thầy Minh
                      - Cảm ơn thầy đã post bài trả lời cho Hiệu nhưng Hiệu thấy nếu làm như mô hình của thầy nói thì chưa hợp lý vì như thế chưa tối ưu được hệ thống, với lại việc sử dụng lớp CSW với chức năng như thế thì hơi phí tài nguyên phải không thầy
                      - Thầy bỏ quá cho em nếu em nói sai nha! he he
                      Chúc VNpro lớn mạnh, và là nơi nếu khó khăn chúng em sẽ tìm tới he he
                      :):):):)

                      Comment


                      • #26
                        Re:Cần giúp đỡ vấn đề Routing

                        Chào các anh em!

                        Mô hình trên mình đã làm cho nó chạy ổn định rồi, bữa qua mình kiểm tra cấu hình tất cả đều đúng.
                        Mình chia sẻ cùng anh em kinh nghiệm khi làm mô hình trên

                        - Nếu đã ping thấy hết các host trong mô hình, sho ip route đều đúng như ý muốn mà traceroute không đươc anh em kiểm tra lại xem máy của mình có nối vào 1 mạng khác nữa không ví dụ PC của Hiệu có 2 card mạng 1 cái nối vô mô hình, 1 cái sd nội bộ, mặc dù hiệu đã add route trên máy tính để nó nói chuyện với mô hình) nhưng khi traceroute nó ngu không biết đi đâu ping thì nó loop hoài, nhưng nếu mình disable card nội bộ đi thì tất cả đều ok (Đây là kinh nghiệm mà Hiệu phải trả giá bằng nửa tháng mới biết đó)

                        - Để track hoạt động được thì trong bảng routing table phải có ip hoặc host cần track. Nếu không ping vẫn thấy ip đầu kia nhưng sho track vẫn báo là Down

                        - Khi sử dụng OSPF trong mô hình để hạn chế quảng bá trên route (nên sử dụng route map).

                        - Chú ý trong quá trình đặt Accesslist và cấu hình VLan để cập nhật đồng bộ trên các thiết bị.

                        - Khi sử dụng DHCP Snooping nên chú ý các Port Trust

                        - Access Switch nên bật cả 2 tính năng spanning-tree uplinkfast,spanning-tree backbonefast

                        - Trong quá trình làm có khó khăn gì anh em post bài cùng nhau giải quyết
                        Đây là Recommended



                        Đây là mô hình



                        Đây là cấu hình HSRP, OSPF, Vlan Trunking anh em nào cần thì sử dụng

                        SG1-ASW-001
                        !
                        hostname SG1-ASW-001
                        !
                        no ip routing
                        !
                        no ip domain lookup
                        !
                        no ip cef

                        spanning-tree uplinkfast
                        spanning-tree backbonefast
                        !
                        int range fas 1/0 - 2
                        no shut
                        no switchport access vlan 1
                        switchport mode trunk
                        switchport trunk encapsulation dot1
                        switchport trunk allowed vlan remove 2-1001
                        switchport trunk allowed vlan add 2,4,52,8
                        !
                        interface FastEthernet1/3
                        switchport trunk allowed vlan 1,2,4,8,52,1002-1005
                        switchport mode trunk
                        no ip address
                        spanning-tree port-priority 200
                        spanning-tree cost 64
                        !

                        interface FastEthernet1/8
                        switchport access vlan 52
                        no ip address

                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                        SG1-CSW-002

                        !
                        hostname SG1-CSW-002
                        !
                        no ip domain lookup
                        !
                        interface FastEthernet0/0
                        description Noi SG1-RTR-001
                        ip address 192.168.11.1 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        interface FastEthernet0/1
                        description Noi SG1-DSW-002
                        ip address 192.168.7.1 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        interface FastEthernet1/0
                        description Noi SG1-DSW-002
                        ip address 192.168.3.1 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        router ospf 1
                        router-id 2.2.2.2
                        log-adjacency-changes
                        network 192.168.3.0 0.0.0.3 area 0
                        network 192.168.7.0 0.0.0.3 area 0
                        network 192.168.11.0 0.0.0.3 area 0

                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                        SG1-CSW-001
                        !
                        hostname SG1-CSW-001
                        !
                        no ip domain lookup
                        !
                        interface FastEthernet0/0
                        description Noi SG1-RTR-001
                        ip address 192.168.9.1 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        interface FastEthernet0/1
                        description Noi SG1-DSW-001
                        ip address 192.168.1.1 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        interface FastEthernet1/0
                        description Noi SG1-DSW-002
                        ip address 192.168.5.1 255.255.255.252
                        duplex auto
                        speed auto
                        !

                        !
                        router ospf 1
                        router-id 4.4.4.4
                        log-adjacency-changes
                        network 192.168.1.0 0.0.0.3 area 0
                        network 192.168.5.0 0.0.0.3 area 0
                        network 192.168.9.0 0.0.0.3 area 0
                        !
                        end
                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                        SG1-DSW-001
                        !
                        hostname SG1-DSW-001
                        !
                        no ip domain lookup
                        !
                        ip cef
                        !
                        spanning-tree vlan 2 priority 16384
                        spanning-tree vlan 4 priority 16384
                        spanning-tree vlan 8 priority 8192
                        spanning-tree vlan 52 priority 8192
                        !
                        interface FastEthernet0/0
                        description Noi SG1-CSW-002
                        ip address 192.168.3.2 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        interface FastEthernet0/1
                        description Noi SG1-CSW-001
                        ip address 192.168.1.2 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        int range fas 1/0 - 3
                        no shut
                        no switchport access vlan 1
                        switchport mode trunk
                        switchport trunk encapsulation dot1
                        switchport trunk allowed vlan remove 2-1001
                        switchport trunk allowed vlan add 2,4,52,8
                        !
                        interface Vlan2
                        description Data
                        ip address 192.168.2.2 255.255.255.192
                        no ip redirects
                        standby 10 ip 192.168.2.1
                        standby 10 priority 50
                        standby 10 preempt
                        !
                        interface Vlan4
                        description Management
                        ip address 192.168.4.2 255.255.255.192
                        no ip redirects
                        standby 20 ip 192.168.4.1
                        standby 20 priority 50
                        standby 20 preempt
                        !
                        interface Vlan8
                        description Desktop
                        ip address 192.168.8.2 255.255.255.192
                        no ip redirects
                        standby 30 ip 192.168.8.1
                        standby 30 priority 150
                        standby 30 preempt
                        !
                        interface Vlan52
                        description IT
                        ip address 192.168.6.2 255.255.255.192
                        no ip redirects
                        standby 40 ip 192.168.6.1
                        standby 40 priority 150
                        standby 40 preempt
                        !
                        router ospf 1
                        router-id 8.8.8.8
                        log-adjacency-changes
                        redistribute connected subnets
                        passive-interface Vlan2
                        passive-interface Vlan4
                        passive-interface Vlan8
                        passive-interface Vlan52
                        network 192.168.1.0 0.0.0.3 area 0
                        network 192.168.3.0 0.0.0.3 area 0
                        default-information originate

                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                        SG1-DSW-002


                        hostname SG1-DSW-002
                        !
                        no ip domain lookup
                        !
                        ip cef
                        !
                        spanning-tree backbonefast
                        spanning-tree vlan 2 priority 8192
                        spanning-tree vlan 4 priority 8192
                        spanning-tree vlan 8 priority 16384
                        spanning-tree vlan 52 priority 16384
                        !
                        interface FastEthernet0/0
                        description Noi SG1-CSW-001
                        ip address 192.168.5.2 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        interface FastEthernet0/1
                        description Noi SG1-CSW-002
                        ip address 192.168.7.2 255.255.255.252
                        duplex auto
                        speed auto
                        !
                        int range fas 1/0 - 3
                        no shut
                        no switchport access vlan 1
                        switchport mode trunk
                        switchport trunk encapsulation dot1
                        switchport trunk allowed vlan remove 2-1001
                        switchport trunk allowed vlan add 2,4,52,8
                        !
                        interface Vlan2
                        description Data
                        ip address 192.168.2.3 255.255.255.192
                        no ip redirects
                        standby 10 ip 192.168.2.1
                        standby 10 priority 150
                        standby 10 preempt
                        !
                        interface Vlan4
                        description Management
                        ip address 192.168.4.3 255.255.255.192
                        no ip redirects
                        standby 20 ip 192.168.4.1
                        standby 20 priority 150
                        standby 20 preempt
                        !
                        interface Vlan8
                        description Desktop
                        ip address 192.168.8.3 255.255.255.192
                        no ip redirects
                        standby 30 ip 192.168.8.1
                        standby 30 priority 50
                        standby 30 preempt
                        !
                        interface Vlan52
                        description IT
                        ip address 192.168.6.3 255.255.255.192
                        no ip redirects
                        standby 40 ip 192.168.6.1
                        standby 40 priority 50
                        standby 40 preempt
                        !
                        router ospf 1
                        router-id 7.7.7.7
                        log-adjacency-changes
                        redistribute connected subnets
                        redistribute static subnets
                        !
                        passive-interface Vlan2
                        passive-interface Vlan4
                        passive-interface Vlan8
                        passive-interface Vlan52
                        network 192.168.5.0 0.0.0.3 area 0
                        network 192.168.7.0 0.0.0.3 area 0
                        default-information originate
                        !
                        end
                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


                        :):):):):)
                        Last edited by huyhieunol; 17-07-2009, 11:32 AM.

                        Comment


                        • #27
                          Originally posted by huyhieunol View Post
                          Chào các anh em!

                          Mô hình trên đã chạy ổn định!
                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                          :):):):):)
                          Theo nhu cầu của anh em mình post đầy đủ cấu hình các thiết bị, chỉ thiếu Acesslist, port sercu, anh em cần chỗ nào thì chỉnh lại cho phù hợp với nhu cầu của mình!
                          Trong file config đáp ứng các cầu hình cơ bản bao gồm chống loop, VPNDNM, Load balancing,load sharing, Redundancy, Network reachability giữa các thiết bị.





                          File config


                          =P~=P~=P~=P~
                          Last edited by huyhieunol; 15-09-2009, 08:35 AM. Reason: Sua lai

                          Comment


                          • #28
                            ai cho em hỏi là thế phần nào là core,phần nào acce, phần nào là dis mà link bị die rồi

                            Comment

                            Working...
                            X