Difference between revisions of "3-tier design/STPconfig"
From Teknologisk videncenter
m (Created page with "{{Source cli}}") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Configure Switch 1 to be primary | ||
+ | <source lang=cli> | ||
+ | DLS1(config)#<input>spanning-tree vlan 10 root primary</input> | ||
+ | DLS1(config)#<input>end</input> | ||
+ | DLS1#<input>show spanning-tree 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# | ||
+ | </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}} |
Latest revision as of 15:16, 2 June 2015
Configure Switch 1 to be primary
DLS1(config)#<input>spanning-tree vlan 10 root primary</input>
DLS1(config)#<input>end</input>
DLS1#<input>show spanning-tree 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)#