mb1811
Goto Top

MSTP Port Priorität

Hallo Forum,

ich habe eine Frage zum Thema MSTP:
Die Config habe ich hier leider nicht greifbar, bzw kann sie bei Bedarf nachreichen.

Im Labor habe ich 4 Switche per 10G LWL Verbunden.
Ich stöpsel nun für jeden Switch neben der LWL Leitung ein Cat Kabel (1G) als Backup Leitung.
Alle VLANs werden auch hier getagged.


Vlan 6 habe ich der Instanz 1 hinzugefügt.
Die Port Kosten für die 10G Uplinks stehen auf auto und betragen 2000.
Schließe ich den Kreis mit einem weiteren 10G LWL greift der Spanning Tree.


Ich möchte nun eine weitere Instanz erzeugen und die 1G Backup Leitungen für das VLAN 7 als primäre Leitungen nutzen.
Mache ich das nun über die Portkosten innerhalb der Instanz oder über die Priorität der Ports innerhalb der Instanz.

In meinen ersten Versuchen habe ich in allen Instanzen die selben Port Stati vorgefunden. Es waren jeweils die 10G Leitungen im Status Forwarding.


Habe ich hier einen Denkfehler?

Content-ID: 559031

Url: https://administrator.de/forum/mstp-port-prioritaet-559031.html

Ausgedruckt am: 25.12.2024 um 04:12 Uhr

mb1811
mb1811 20.03.2020 um 11:31:26 Uhr
Goto Top
Ich habe das ganze jetzt der Einfachheit halber mit 3 Switchen nochmals konfiguriert.
Hier die Configs:

Wie erzwinge ich, dass für Instanz 2 andere Ports genutzt werden?

hostname "1"  
module 1 type jl357a
snmp-server community "public" unrestricted  
vlan 1
   name "DEFAULT_VLAN"  
   no untagged 1-2,5
   untagged 3-4,6-48,51-52
   tagged 49-50
   ip address dhcp-bootp
   ipv6 enable
   ipv6 address dhcp full
   exit
vlan 6
   name "VLAN6"  
   untagged 5
   tagged 49-50
   ip address 10.0.6.77 255.255.255.0
   exit
vlan 7
   name "VLAN7"  
   tagged 1-2
   no ip address
   exit
spanning-tree
spanning-tree instance 1 vlan 6
spanning-tree instance 1 root primary
spanning-tree instance 2 vlan 7
spanning-tree instance 2 root primary

================================

sh spanning-tree mst-config

 MST Configuration Identifier Information

  MST Configuration Name : 3821c7fd7840
  MST Configuration Revision : 0
  MST Configuration Digest : 0xAFA7FF499BF15733D24774E0F593BEDF

  IST Mapped VLANs : 1-5,8-4094

  Instance ID Mapped VLANs
  ----------- ---------------------------------------------------------
  1           6
  2           7

================================

sh spanning-tree 1-2,49-50 instance 1

 MST Instance Information

  Instance ID : 1
  Mapped VLANs : 6
  Switch Priority         : 32768

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

  Regional Root MAC Address : 3821c7-fd7840
  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     100/1000T  20000     128      Designated Forwarding   3821c7-fd7840
  2     100/1000T  20000     128      Designated Forwarding   3821c7-fd7840
  49    10GbE-GEN  2000      128      Designated Forwarding   3821c7-fd7840
  50    10GbE-GEN  2000      128      Designated Forwarding   3821c7-fd7840


=============

sh spanning-tree 1-2,49-50 instance 2

 MST Instance Information

  Instance ID : 2
  Mapped VLANs : 7
  Switch Priority         : 32768

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

  Regional Root MAC Address : 3821c7-fd7840
  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     100/1000T  20000     128      Designated Forwarding   3821c7-fd7840
  2     100/1000T  20000     128      Designated Forwarding   3821c7-fd7840
  49    10GbE-GEN  2000      128      Designated Forwarding   3821c7-fd7840
  50    10GbE-GEN  2000      128      Designated Forwarding   3821c7-fd7840

================================

hostname "2"  
module 1 type jl357a
snmp-server community "public" unrestricted  
vlan 1
   name "DEFAULT_VLAN"  
   no untagged 1-2
   untagged 3-48,51-52
   tagged 49-50
   ip address dhcp-bootp
   ipv6 enable
   ipv6 address dhcp full
   exit
vlan 6
   name "VLAN6"  
   tagged 49-50
   ip address 10.0.6.78 255.255.255.0
   exit
vlan 7
   name "VLAN7"  
   tagged 1-2
   no ip address
   exit
spanning-tree
spanning-tree instance 1 vlan 6
spanning-tree instance 1 root secondary
spanning-tree instance 2 vlan 7
spanning-tree instance 2 root secondary

================================

sh spanning-tree mst-config

 MST Configuration Identifier Information

  MST Configuration Name : 3821c7fdc840
  MST Configuration Revision : 0
  MST Configuration Digest : 0xAFA7FF499BF15733D24774E0F593BEDF

  IST Mapped VLANs : 1-5,8-4094

  Instance ID Mapped VLANs
  ----------- ---------------------------------------------------------
  1           6
  2           7

================================

sh spanning-tree 1-2,49-50 instance 1

 MST Instance Information

  Instance ID : 1
  Mapped VLANs : 6
  Switch Priority         : 32768

  Topology Change Count   : 13
  Time Since Last Change  : 13 mins

  Regional Root MAC Address : 3821c7-fdc840
  Regional Root Priority    : 4096
  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     100/1000T  20000     128      Alternate  Blocking     3821c7-fdc840
  2     100/1000T  20000     128      Alternate  Blocking     3821c7-fdc840
  49    10GbE-GEN  2000      128      Master     Forwarding   3821c7-fdc840
  50    10GbE-GEN  2000      128      Alternate  Blocking     3821c7-fdc840

================================

  sh spanning-tree 1-2,49-50 instance 2

 MST Instance Information

  Instance ID : 2
  Mapped VLANs : 7
  Switch Priority         : 32768

  Topology Change Count   : 6
  Time Since Last Change  : 14 mins

  Regional Root MAC Address : 3821c7-fdc840
  Regional Root Priority    : 4096
  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     100/1000T  20000     128      Alternate  Blocking     3821c7-fdc840
  2     100/1000T  20000     128      Alternate  Blocking     3821c7-fdc840
  49    10GbE-GEN  2000      128      Master     Forwarding   3821c7-fdc840
  50    10GbE-GEN  2000      128      Alternate  Blocking     3821c7-fdc840

hostname "3"  
module 1 type jl357a
snmp-server community "public" unrestricted  
vlan 1
   name "DEFAULT_VLAN"  
   no untagged 1-2
   untagged 3-48,51-52
   tagged 49-50
   ip address dhcp-bootp
   ipv6 enable
   ipv6 address dhcp full
   exit
vlan 6
   name "VLAN6"  
   tagged 49-50
   ip address 10.0.6.79 255.255.255.0
   exit
vlan 7
   name "VLAN7"  
   tagged 1-2
   no ip address
   exit
spanning-tree
spanning-tree instance 1 vlan 6
spanning-tree instance 2 vlan 7

================================

sh spanning-tree mst-config

 MST Configuration Identifier Information

  MST Configuration Name : 3821c7fdb8c0
  MST Configuration Revision : 0
  MST Configuration Digest : 0xAFA7FF499BF15733D24774E0F593BEDF

  IST Mapped VLANs : 1-5,8-4094

  Instance ID Mapped VLANs
  ----------- ---------------------------------------------------------
  1           6
  2           7

================================

  sh spanning-tree 1-2,49-50 instance 1

 MST Instance Information

  Instance ID : 1
  Mapped VLANs : 6
  Switch Priority         : 32768

  Topology Change Count   : 20
  Time Since Last Change  : 8 mins

  Regional Root MAC Address : 3821c7-fdb8c0
  Regional Root Priority    : 32768
  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     100/1000T  20000     128      Designated Forwarding   3821c7-fdb8c0
  2     100/1000T  20000     128      Alternate  Blocking     3821c7-fdb8c0
  49    10GbE-GEN  2000      128      Designated Forwarding   3821c7-fdb8c0
  50    10GbE-GEN  2000      128      Master     Forwarding   3821c7-fdb8c0

================================

sh spanning-tree 1-2,49-50 instance 2

 MST Instance Information

  Instance ID : 2
  Mapped VLANs : 7
  Switch Priority         : 32768

  Topology Change Count   : 9
  Time Since Last Change  : 9 mins

  Regional Root MAC Address : 3821c7-fdb8c0
  Regional Root Priority    : 32768
  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     100/1000T  20000     128      Designated Forwarding   3821c7-fdb8c0
  2     100/1000T  20000     128      Alternate  Blocking     3821c7-fdb8c0
  49    10GbE-GEN  2000      128      Designated Forwarding   3821c7-fdb8c0
  50    10GbE-GEN  2000      128      Master     Forwarding   3821c7-fdb8c0