vlan+bridge+vrrp

Тема в разделе "Коммутация", создана пользователем Ivan, 24 сен 2015.

  1. vasilevkirill

    vasilevkirill Участник

    Если вам не составит труда, можете показать состояния бриджа(c VLAN) в котором срабатывает rstp и состояние mstp на коммутаторах, самому интересно.
     
  2. Ivan

    Ivan Участник

    stp conf DSW1:
    spanning-tree
    spanning-tree 24 path-cost 20000
    spanning-tree 25 path-cost 20000
    spanning-tree 26 path-cost 20000
    spanning-tree config-name "test"
    spanning-tree config-revision 1
    spanning-tree instance 1 vlan 1 2 102
    spanning-tree instance 1 priority 0
    spanning-tree instance 1 25 path-cost 20000
    spanning-tree instance 1 26 path-cost 20000
    spanning-tree root primary priority 0

    stp conf DSW2:
    spanning-tree
    spanning-tree 24 path-cost 20000
    spanning-tree 25 path-cost 20000
    spanning-tree 26 path-cost 20000
    spanning-tree config-name "test"
    spanning-tree config-revision 1
    spanning-tree instance 1 vlan 1 2 102
    spanning-tree instance 1 priority 15
    spanning-tree instance 1 25 path-cost 20000
    spanning-tree instance 1 26 path-cost 20000
    spanning-tree root secondary priority 15


    ******************************************************
    sh stp dws1:
    Multiple Spanning Tree (MST) Information

    STP Enabled : Yes
    Force Version : MSTP-operation
    IST Mapped VLANs : 3-101,103-4094
    Switch MAC Address : 288023-433540
    Switch Priority : 0
    Max Age : 20
    Max Hops : 20
    Forward Delay : 15

    Topology Change Count : 4
    Time Since Last Change : 28 mins

    CST Root MAC Address : 288023-433540
    CST Root Priority : 0
    CST Root Path Cost : 0
    CST Root Port : This switch is root

    IST Regional Root MAC Address : 288023-433540
    IST Regional Root Priority : 0
    IST Regional Root Path Cost : 0
    IST Remaining Hops : 20

    Root Guard Ports :
    Loop Guard Ports :
    TCN Guard Ports :
    BPDU Protected Ports :
    BPDU Filtered Ports :
    PVST Protected Ports :
    PVST Filtered Ports :

    Root Inconsistent Ports :
    Loop Inconsistent Ports :

    | Prio | Designated Hello
    Port Type | Cost rity State | Bridge Time PtP Edge
    ----- ---------- + --------- ---- ------------ + ------------- ---- --- ----
    1 10/100TX | Auto 128 Disabled | 2 Yes No
    2 10/100TX | 200000 128 Forwarding | 288023-433540 2 Yes No
    3 10/100TX | Auto 128 Disabled | 2 Yes No
    4 10/100TX | Auto 128 Disabled | 2 Yes No
    ...
    19 10/100TX | Auto 128 Disabled | 2 Yes No
    20 10/100TX | Auto 128 Disabled | 2 Yes No
    21 10/100TX | Auto 128 Disabled | 2 Yes No
    22 10/100TX | Auto 128 Disabled | 2 Yes No
    23 10/100TX | Auto 128 Disabled | 2 Yes No
    24 10/100TX | 20000 128 Disabled | 2 Yes No
    25 100/1000T | 20000 128 Forwarding | 288023-433540 2 Yes No
    26 100/1000T | 20000 128 Forwarding | 288023-433540 2 Yes No
    27 | Auto 128 Disabled | 2 Yes No
    28 | Auto 128 Disabled | 2 Yes No


    sh spanning-tree instance 1

    MST Instance Information

    Instance ID : 1
    Mapped VLANs : 1,2,102
    Switch Priority : 0

    Topology Change Count : 5
    Time Since Last Change : 31 mins

    Regional Root MAC Address : 288023-433540
    Regional Root Priority : 0
    Regional Root Path Cost : 0
    Regional Root Port : This switch is root
    Remaining Hops : 20

    Root Inconsistent Ports :
    Loop Inconsistent Ports :

    Designated
    Port Type Cost Priority Role State Bridge
    ----- --------- --------- -------- ---------- ------------ --------------
    1 10/100TX Auto 128 Disabled Disabled
    2 10/100TX 200000 128 Designated Forwarding 288023-433540
    3 10/100TX Auto 128 Disabled Disabled
    4 10/100TX Auto 128 Disabled Disabled
    ...
    21 10/100TX Auto 128 Disabled Disabled
    22 10/100TX Auto 128 Disabled Disabled
    23 10/100TX Auto 128 Disabled Disabled
    24 10/100TX Auto 128 Disabled Disabled
    25 100/1000T 20000 128 Designated Forwarding 288023-433540
    26 100/1000T 20000 128 Designated Forwarding 288023-433540
    27 Auto 128 Disabled Disabled
    28 Auto 128 Disabled Disabled



    sh stp dsw2:
    Multiple Spanning Tree (MST) Information

    STP Enabled : Yes
    Force Version : MSTP-operation
    IST Mapped VLANs : 3-101,103-4094
    Switch MAC Address : 288023-43e4c0
    Switch Priority : 61440
    Max Age : 20
    Max Hops : 20
    Forward Delay : 15

    Topology Change Count : 1
    Time Since Last Change : 29 mins

    CST Root MAC Address : 288023-433540
    CST Root Priority : 0
    CST Root Path Cost : 0
    CST Root Port : 2

    IST Regional Root MAC Address : 288023-433540
    IST Regional Root Priority : 0
    IST Regional Root Path Cost : 200000
    IST Remaining Hops : 19

    Root Guard Ports :
    Loop Guard Ports :
    TCN Guard Ports :
    BPDU Protected Ports :
    BPDU Filtered Ports :
    PVST Protected Ports :
    PVST Filtered Ports :

    Root Inconsistent Ports :
    Loop Inconsistent Ports :

    | Prio | Designated Hello
    Port Type | Cost rity State | Bridge Time PtP Edge
    ----- ---------- + --------- ---- ------------ + ------------- ---- --- ----
    1 10/100TX | Auto 128 Disabled | 2 Yes No
    2 10/100TX | 200000 128 Forwarding | 288023-433540 2 Yes No
    3 10/100TX | Auto 128 Disabled | 2 Yes No
    4 10/100TX | Auto 128 Disabled | 2 Yes No
    5 10/100TX | Auto 128 Disabled | 2 Yes No
    ...
    22 10/100TX | Auto 128 Disabled | 2 Yes No
    23 10/100TX | Auto 128 Disabled | 2 Yes No
    24 10/100TX | 20000 128 Disabled | 2 Yes No
    25 100/1000T | 20000 128 Blocking | 288023-433540 2 Yes No
    26 100/1000T | 20000 128 Blocking | 288023-433540 2 Yes No
    27 | Auto 128 Disabled | 2 Yes No
    28 | Auto 128 Disabled | 2 Yes No


    sh spanning-tree instance 1

    MST Instance Information

    Instance ID : 1
    Mapped VLANs : 1,2,102
    Switch Priority : 61440

    Topology Change Count : 3
    Time Since Last Change : 32 mins

    Regional Root MAC Address : 288023-433540
    Regional Root Priority : 0
    Regional Root Path Cost : 20000
    Regional Root Port : 25
    Remaining Hops : 19

    Root Inconsistent Ports :
    Loop Inconsistent Ports :

    Designated
    Port Type Cost Priority Role State Bridge
    ----- --------- --------- -------- ---------- ------------ --------------
    1 10/100TX Auto 128 Disabled Disabled
    2 10/100TX 200000 128 Alternate Blocking 288023-433540
    3 10/100TX Auto 128 Disabled Disabled
    4 10/100TX Auto 128 Disabled Disabled
    5 10/100TX Auto 128 Disabled Disabled
    6 10/100TX Auto 128 Disabled Disabled
    ...
    21 10/100TX Auto 128 Disabled Disabled
    22 10/100TX Auto 128 Disabled Disabled
    23 10/100TX Auto 128 Disabled Disabled
    24 10/100TX Auto 128 Disabled Disabled
    25 100/1000T 20000 128 Root Forwarding 288023-433540
    26 100/1000T 20000 128 Alternate Blocking 288023-433540
    27 Auto 128 Disabled Disabled
    28 Auto 128 Disabled Disabled
     
  3. Ivan

    Ivan Участник

    mikr
     

    Вложения:

    • stp.png
      stp.png
      Размер файла:
      315,7 КБ
      Просмотров:
      22
  4. vasilevkirill

    vasilevkirill Участник

    Я то думал, вы решили попробовать без бриджевания ethernet, и с бриджевать только vlan (подобие MSTP)
     
  5. Ivan

    Ivan Участник

    так тоже работает, но сходимость при отказе одного из коммутаторов около 2,5 мин на автомате или скриптами вкл-вык физ.интерфейс.
     
  6. vasilevkirill

    vasilevkirill Участник

    2.5 минут нормальные результат