Difference between revisions of "3-tier design/STPconfig"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
Configure Switch 1 to be primary
 
<source lang=cli>
 
<source lang=cli>
 
DLS1(config)#<input>spanning-tree vlan 10 root primary</input>  
 
DLS1(config)#<input>spanning-tree vlan 10 root primary</input>  
Line 21: Line 22:
 
DLS1#
 
DLS1#
 
</source>
 
</source>
 
+
And Switch 2 to be secondary
 +
<source lang=cli>
 +
DLS2(config)#<input>spanning-tree vlan 10 root secondary</input>
 +
DLS2(config)#
 +
</source>
 
{{Source cli}}
 
{{Source cli}}

Revision as of 09:39, 12 November 2014

Configure Switch 1 to be primary

DLS1(config)#<input>spanning-tree vlan 10 root primary</input> 
DLS1(config)#<input>end</input>
DLS1#<input>show span vlan 10</input>
VLAN0010
  Spanning tree enabled <notice>protocol ieee</notice>
  <notice>Root ID    Priority    24586</notice>
             Address     0001.436B.E384
             <notice>This bridge is the root</notice>
             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    24586  (priority 24576 sys-id-ext 10)
             Address     0001.436B.E384
             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  20

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/2            <notice>Desg FWD</notice> 19        128.2    P2p

DLS1#

And Switch 2 to be secondary

DLS2(config)#<input>spanning-tree vlan 10 root secondary</input> 
DLS2(config)#