This shows you the differences between two versions of the page.
|
rl:labs:04:contents:12 [2023/10/27 09:45] laura.ruse |
rl:labs:04:contents:12 [2023/10/27 09:59] (current) laura.ruse |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * Folosiți topologia de la exercițiul [[rl:labs:04:contents:08]]. | * Folosiți topologia de la exercițiul [[rl:labs:04:contents:08]]. | ||
| * Realizați o configurație în așa fel încât root bridge-ul să fie ''Switch1''. | * Realizați o configurație în așa fel încât root bridge-ul să fie ''Switch1''. | ||
| + | |||
| + | <note> | ||
| + | Toate switch-urile au inițial prioritatea implicită 32769. Pentru ca Switch1 să fie root bridge, trebuie să îi configurăm o prioritate mai mică. Prioritatea trebuie să fie un multiplu de 4096. | ||
| + | </note> | ||
| + | |||
| + | |||
| + | <hidden> | ||
| + | <solution> | ||
| + | Pe Switch1: | ||
| + | <code> | ||
| + | Switch1# configure terminal | ||
| + | Switch1(config)# spanning-tree vlan 1 priority 4096 | ||
| + | </code> | ||
| + | După un timp observați că s-a schimbat root bridge-ul: | ||
| + | <code> | ||
| + | Switch1#show spanning-tree | ||
| + | VLAN0001 | ||
| + | Spanning tree enabled protocol ieee | ||
| + | Root ID Priority 4097 | ||
| + | Address 00D0.BCA5.EEB1 | ||
| + | This bridge is the root | ||
| + | Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec | ||
| + | |||
| + | Bridge ID Priority 4097 (priority 4096 sys-id-ext 1) | ||
| + | Address 00D0.BCA5.EEB1 | ||
| + | Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec | ||
| + | Aging Time 20 | ||
| + | |||
| + | Interface Role Sts Cost Prio.Nbr Type | ||
| + | ---------------- ---- --- --------- -------- -------------------------------- | ||
| + | Fa2/1 Desg FWD 19 128.3 P2p | ||
| + | Fa0/1 Desg FWD 19 128.1 P2p | ||
| + | Fa1/1 Desg FWD 19 128.2 P2p | ||
| + | </code> | ||
| + | </solution> | ||
| + | </hidden> | ||