Difference between revisions of "Spanning Tree protocol history"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 18: Line 18:
 
| [[PVST+]]|| Cisco proprietær    || -      || Per-VLAN  || [[IEEE 802.1Q]],[[ISL]] || Kan anvendes || [[PVST]],[[PVST+]],[[CST]]
 
| [[PVST+]]|| Cisco proprietær    || -      || Per-VLAN  || [[IEEE 802.1Q]],[[ISL]] || Kan anvendes || [[PVST]],[[PVST+]],[[CST]]
 
|}
 
|}
 +
= Cisco og Spanning-Tree =
 +
Default Spanning-Tree protokol på Cisco Switche er [[PVST+]] (Per-VLAN Spanning Tree plus)
 +
<source lang="cli">
 +
Dist2#<input>conf t</input>
 +
Enter configuration commands, one per line.  End with CNTL/Z.
 +
Dist2(config)#<input>spanning-tree mode ?</input>
 +
  mst        Multiple spanning tree mode
 +
  <notice>pvst        Per-Vlan spanning tree mode</notice>
 +
  rapid-pvst  Per-Vlan rapid spanning tree mode
  
 +
Dist2(config)#<input>spanning-tree mode pvst</input>
 +
Dist2(config)#<input>^Z</input>
 +
Dist2#
 +
*Mar  1 00:16:47.111: %SYS-5-CONFIG_I: Configured from console by console
 +
Dist2#<input>show spanning-tree</input>
 +
 +
VLAN0001
 +
  Spanning tree enabled protocol <notice>ieee</notice>
 +
  Root ID    Priority    32769
 +
            Address    0018.b989.8400
 +
            Cost        19
 +
            Port        5 (FastEthernet0/3)
 +
            Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
 +
 +
  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
 +
            Address    001b.0c05.b400
 +
            Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
 +
            Aging Time  300 sec
 +
 +
Interface          Role Sts Cost      Prio.Nbr Type
 +
------------------- ---- --- --------- -------- --------------------------------
 +
Fa0/1              Desg FWD 19        128.3    P2p
 +
Fa0/3              Root FWD 19        128.5    P2p
 +
Fa0/12              Desg FWD 19        128.14  P2p
 +
</source>
 +
 +
{{#css: 
 +
    pre {  font-family: Lucida Console; font-weight: bold; font-size: 14px; color: #00FF00; background: black; margin: 10px 50px; width: 800px; line-height: 200%; overflow: auto;}
 +
}}
 
[[Category:Cisco]][[Category:CCDP]][[Category:CCNP]][[Category:IOS]][[Category:Network]][[Category:Spanning Tree]]
 
[[Category:Cisco]][[Category:CCDP]][[Category:CCNP]][[Category:IOS]][[Category:Network]][[Category:Spanning Tree]]

Revision as of 09:55, 30 July 2009

Den originale Spanning Tree Protocol IEEE 802.1D var udviklet til Bridgede eller Switchede netværk uden VLAN's. Derfor var det nødvendigt at videreudvikle Spanning tree protokollen for at tilgode netværk der anvender VLAN.

Cisco anbefaler at man anvender PVST+ i større netværk, men mange andre anbefaler anvendelsen af MST da det er en IEEE standard, samt at konfigurationen er mere overskuelig.

Spanning tree protokoller
Protokol Standard/Proprietær Årstal Instanser Trunk typer Rapid Virker sammen med
STP IEEE 802.1D-1990 1990 1 ingen Nej -
CST IEEE 802.1Q-1998 1998 1 IEEE 802.1Q Kan anvendes -
MST IEEE 802.1Q-2005 2005 (Cisaco 16) IEEE 802.1Q Kan anvendes -
PVST Cisco proprietær - Per-VLAN ISL Kan anvendes -
PVST+ Cisco proprietær - Per-VLAN IEEE 802.1Q,ISL Kan anvendes PVST,PVST+,CST

Cisco og Spanning-Tree

Default Spanning-Tree protokol på Cisco Switche er PVST+ (Per-VLAN Spanning Tree plus)

Dist2#<input>conf t</input>
Enter configuration commands, one per line.  End with CNTL/Z.
Dist2(config)#<input>spanning-tree mode ?</input>
  mst         Multiple spanning tree mode
  <notice>pvst        Per-Vlan spanning tree mode</notice>
  rapid-pvst  Per-Vlan rapid spanning tree mode

Dist2(config)#<input>spanning-tree mode pvst</input>
Dist2(config)#<input>^Z</input>
Dist2#
*Mar  1 00:16:47.111: %SYS-5-CONFIG_I: Configured from console by console
Dist2#<input>show spanning-tree</input>

VLAN0001
  Spanning tree enabled protocol <notice>ieee</notice>
  Root ID    Priority    32769
             Address     0018.b989.8400
             Cost        19
             Port        5 (FastEthernet0/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     001b.0c05.b400
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/1               Desg FWD 19        128.3    P2p
Fa0/3               Root FWD 19        128.5    P2p
Fa0/12              Desg FWD 19        128.14   P2p